From dc6cfdec2d25ed9311da761e9a741c7ce258b34b Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Tue, 6 Aug 2013 17:07:18 +0200 Subject: [PATCH] [CHG] extract the sourcing part from stock_location_ownership in a module sale_sourced_by_line (/tmp/trunk-generic/ rev 27) (/tmp/7.0-add-sale_sourced_and_stock_ownership rev 25) --- stock_location_ownership/__openerp__.py | 24 +++++----------------- stock_location_ownership/model/__init__.py | 1 - 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/stock_location_ownership/__openerp__.py b/stock_location_ownership/__openerp__.py index f36f889b3..bcd2582c0 100644 --- a/stock_location_ownership/__openerp__.py +++ b/stock_location_ownership/__openerp__.py @@ -28,31 +28,17 @@ 'images': [], 'website': "http://www.camptocamp.com", 'description': """ - Stock Location Ownership -========================= - -* Adds an ownership on a location - -* (To move/create in module: sale_sourced_by_line) Adds the possibility to source a line of sale order from a specific location instead of -using the location of the warehouse of the selected shop - - * Further on (to move/create in module: sale_ownership) will trigger under certain circonstances the creation of a PO: -a) if customer != stock.location owner (Dispatch VCI, Dispatch PNS) -then generate also PO and link it with picking (delivery order) -b) if customer == stock.location owner (Dispatch PNS to NS) -then SO should be with prices at 0 + add manually line for handling fee" +Stock Location Ownership +======================== +Adds an ownership on the stock locations """, - 'depends': ['sale_dropshipping', - 'sale_stock', + 'depends': ['stock', ], 'demo': [], 'data': ['view/stock_view.xml', - 'view/sale_view.xml', ], + 'test': [], 'auto_install': False, - 'test': ['test/sale_order_source.yml', - 'test/sale_order_not_sourced.yml', - ], 'installable': True, } diff --git a/stock_location_ownership/model/__init__.py b/stock_location_ownership/model/__init__.py index 3feab2db1..8f66ed0bc 100644 --- a/stock_location_ownership/model/__init__.py +++ b/stock_location_ownership/model/__init__.py @@ -20,4 +20,3 @@ ############################################################################## from . import stock -from . import sale