From 28d820e5ad4ee2972f6a1f8766096a84aac3c179 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 2 Sep 2014 21:52:53 +0200 Subject: [PATCH] Add module stock_display_src_location --- stock_display_src_location/__init__.py | 22 ++++++++++++ stock_display_src_location/__openerp__.py | 44 +++++++++++++++++++++++ stock_display_src_location/stock_view.xml | 26 ++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 stock_display_src_location/__init__.py create mode 100644 stock_display_src_location/__openerp__.py create mode 100644 stock_display_src_location/stock_view.xml diff --git a/stock_display_src_location/__init__.py b/stock_display_src_location/__init__.py new file mode 100644 index 0000000..e85459d --- /dev/null +++ b/stock_display_src_location/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Stock Display Source Location module for OpenERP +# Copyright (C) 2014 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/stock_display_src_location/__openerp__.py b/stock_display_src_location/__openerp__.py new file mode 100644 index 0000000..2cc925b --- /dev/null +++ b/stock_display_src_location/__openerp__.py @@ -0,0 +1,44 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Stock Display Source Location module for OpenERP +# Copyright (C) 2014 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': 'Stock Display Source Location', + 'version': '0.1', + 'category': 'Inventory, Logistic, Storage', + 'license': 'AGPL-3', + 'summary': 'Display the source location on pickings', + 'description': """ +Stock Display Source Location on Pickings +========================================= + +Display the source location on the tree view of the move lines of the pickings (by default, only the destination location is displayed). + +Please contact Alexis de Lattre from Akretion for any help or question about this module. + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['stock'], + 'data': ['stock_view.xml'], + 'installable': True, + 'active': False, +} diff --git a/stock_display_src_location/stock_view.xml b/stock_display_src_location/stock_view.xml new file mode 100644 index 0000000..f44a1a7 --- /dev/null +++ b/stock_display_src_location/stock_view.xml @@ -0,0 +1,26 @@ + + + + + + + + + + display.src_location.in.picking.form + stock.move + + + + 0 + + + + + + +