From a8b122e1c4b6a57fdb989ddb93aec3d4a23b8c79 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 11 Feb 2015 01:06:03 +0100 Subject: [PATCH] Add module procurement_usability Display move_dest_id on procurement.order --- procurement_usability/__init__.py | 22 ++++++++++ procurement_usability/__openerp__.py | 43 +++++++++++++++++++ procurement_usability/procurement_view.xml | 43 +++++++++++++++++++ stock_display_destination_move/stock_view.xml | 10 +++++ 4 files changed, 118 insertions(+) create mode 100644 procurement_usability/__init__.py create mode 100644 procurement_usability/__openerp__.py create mode 100644 procurement_usability/procurement_view.xml diff --git a/procurement_usability/__init__.py b/procurement_usability/__init__.py new file mode 100644 index 0000000..195e258 --- /dev/null +++ b/procurement_usability/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Procurement Usability module for Odoo +# Copyright (C) 2015 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + diff --git a/procurement_usability/__openerp__.py b/procurement_usability/__openerp__.py new file mode 100644 index 0000000..4d5b54a --- /dev/null +++ b/procurement_usability/__openerp__.py @@ -0,0 +1,43 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Procurement Usability module for Odoo +# Copyright (C) 2015 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + + +{ + 'name': 'Procurement Usability', + 'version': '0.1', + 'category': 'Hidden/Dependency', + 'license': 'AGPL-3', + 'summary': 'Display fields in form view of procurement order', + 'description': """ +Procurement Usability +====================== + +This module display several fields in the form view of procurement order (link to sale order line, stock moves), that are very useful for deep analysis of procurement orders and debugging. + +This module has been written by Alexis de Lattre from Akretion . + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['sale_stock'], + 'data': ['procurement_view.xml'], + 'installable': True, +} diff --git a/procurement_usability/procurement_view.xml b/procurement_usability/procurement_view.xml new file mode 100644 index 0000000..83da5e1 --- /dev/null +++ b/procurement_usability/procurement_view.xml @@ -0,0 +1,43 @@ + + + + + + + + + procurement_usability.procurement.order.form + procurement.order + + + + + + + + + + + + + + + + + + procurement_usability.procurement.group.form + procurement.group + + + + + + + + + + diff --git a/stock_display_destination_move/stock_view.xml b/stock_display_destination_move/stock_view.xml index 9e59c23..1c8ef27 100644 --- a/stock_display_destination_move/stock_view.xml +++ b/stock_display_destination_move/stock_view.xml @@ -32,6 +32,16 @@ + + display.move_dest_id.procurement.order.form + procurement.order + + + + + + +