From 1c2865f34c0bb53a238eecd815b85353516b8ff0 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 17 Feb 2015 08:50:08 +0100 Subject: [PATCH] Rename stock_display_src_location to stock_usability with one improvement --- stock_usability/__init__.py | 22 +++++++++++++++++ stock_usability/__openerp__.py | 45 ++++++++++++++++++++++++++++++++++ stock_usability/stock_view.xml | 38 ++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 stock_usability/__init__.py create mode 100644 stock_usability/__openerp__.py create mode 100644 stock_usability/stock_view.xml diff --git a/stock_usability/__init__.py b/stock_usability/__init__.py new file mode 100644 index 0000000..f38c2a2 --- /dev/null +++ b/stock_usability/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Stock Usability module for Odoo +# Copyright (C) 2014-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/stock_usability/__openerp__.py b/stock_usability/__openerp__.py new file mode 100644 index 0000000..b824ea2 --- /dev/null +++ b/stock_usability/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Stock Usability module for Odoo +# Copyright (C) 2014-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': 'Stock Usability', + 'version': '0.1', + 'category': 'Inventory, Logistic, Storage', + 'license': 'AGPL-3', + 'summary': 'Several usability enhancements in Warehouse management', + 'description': """ +Stock Usability +=============== + +The usability enhancements inclure: +* display the source location on the tree view of the move lines of the pickings (by default, only the destination location is displayed). +* always display the field *Backorder* on the form view of picking (by default, this field is only displayed when it has a value, so the user doesn't know when the field has no value because he doesn't see the field !) + +This module has been written by Alexis de Lattre from Akretion . + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['stock'], + 'data': ['stock_view.xml'], + 'installable': True, +} diff --git a/stock_usability/stock_view.xml b/stock_usability/stock_view.xml new file mode 100644 index 0000000..88af479 --- /dev/null +++ b/stock_usability/stock_view.xml @@ -0,0 +1,38 @@ + + + + + + + + + + stock_usability.src_location.in.picking.form + stock.move + + + + 0 + + + + + + stock_usability.view_picking_form + stock.picking + + + + {} + + + + + + + +