← Back to team overview

openerp-wms-expert team mailing list archive

lp:~numerigraphe/openobject-addons/trunk-stock-split-move-refactoring into lp:openobject-addons

 

The proposal to merge lp:~numerigraphe/openobject-addons/trunk-stock-split-move-refactoring into lp:openobject-addons has been updated.

Description changed to:

This proposal is a first step towards implementation of https://blueprints.launchpad.net/openobject-addons/+spec/new-partial-picking-wizard.

There are currently too many ways to split Stock Moves: scrap, split in prodlots, split in tracking lots, partial delivery. Each has its wizard and it's own API.
This branch adds a generic API and wizard to split Moves.

The API consists of the method stock.move.split(cr, uid, ids, split_qty, split_uos_qty, default).
In essence it copies the stock move and spreads the quantity.

The wizard is accessible from all Picking and Move views. It lets users enter both quantities, and decide what they want OpenERP to do with the quantity split from a list of actions.
Great care was taken to not let users enter inconsistent data. Units of measures and units of sale are supported, and an extended view is provided.

This proposal leaves the existing wizards untouched, so the list of actions is restricted to a dummy "no action".
Additional actions are supposed to be added when other wizards/APIs are refactored into this one.

I propose to bump the stock module's version to reflect the change in the API, as I expect several methods to be deprecated/removed when the refactoring is complete.

Lionel Sausin.

For more details, see:
https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-stock-split-move-refactoring/+merge/105239
-- 
https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-stock-split-move-refactoring/+merge/105239
Your team OpenERP WMS Expert is requested to review the proposed merge of lp:~numerigraphe/openobject-addons/trunk-stock-split-move-refactoring into lp:openobject-addons.