diff --git a/stock_split_menu/__init__.py b/stock_split_menu/__init__.py new file mode 100644 index 0000000..40a96af --- /dev/null +++ b/stock_split_menu/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/stock_split_menu/__openerp__.py b/stock_split_menu/__openerp__.py new file mode 100644 index 0000000..66730d2 --- /dev/null +++ b/stock_split_menu/__openerp__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Akretion (http://www.akretion.com). +# @author Sébastien BEAU +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Stock Split Menu", + "summary": "Split the receive, internal move, ship menu", + "version": "8.0.1.0.0", + "category": "Warehouse", + "website": "www.akretion.com", + "author": " Akretion", + "license": "AGPL-3", + "application": False, + "installable": True, + "external_dependencies": { + "python": [], + "bin": [], + }, + "depends": [ + "stock", + ], + "data": [ + "view/stock_view.xml", + ], + "demo": [ + ], + "qweb": [ + ] +} diff --git a/stock_split_menu/view/stock_view.xml b/stock_split_menu/view/stock_view.xml new file mode 100644 index 0000000..ef62c4d --- /dev/null +++ b/stock_split_menu/view/stock_view.xml @@ -0,0 +1,48 @@ + + + + + + Livraisons + stock.picking + [('picking_type_code', '=', 'outgoing')] + tree,form + {'search_default_available': 1, 'search_default_waiting': 1} + + + + + + Mouvements internes + stock.picking + [('picking_type_code', '=', 'internal')] + tree,form + {'search_default_available': 1, 'search_default_waiting': 1} + + + + + + Réceptions + stock.picking + [('picking_type_code', '=', 'incoming')] + tree,form + {'search_default_available': 1, 'search_default_waiting': 1} + + + + + +