lp:~numerigraphe/openobject-addons/6.0-sale-line-multiple-moves
The current method creates a single stock move for every sale order line, and exposes a clean interface for other modules to override it's behavior.
However it does not allow a custom module to have several moves created for a single sale order line. That would be useful for custom modules that do some sort of automatic dispatch of single order lines to multiple moves, or automatic stock move splitting.
So I'm proposing to have _prepare_
You'll notice that we only keep the last move's id - that's because a procurement can have only one move attached. If I'm not mistaken that matches the results of creating a move and splitting it later on.
- Get this branch:
- bzr branch lp:~numerigraphe/openobject-addons/6.0-sale-line-multiple-moves
Branch merges
Branch information
Recent revisions
- 4950. By Numerigraphe - Lionel Sausin <email address hidden>
-
[MERGE] invoicing fix from lp:~numerigraphe/openobject-addons/6.0-sale-action-ship-create-refactoring/
- 4948. By Numerigraphe - Lionel Sausin <email address hidden>
-
[MERGE] merge updates from lp:~numerigraphe/openobject-addons/6.0-sale-action-ship-create-refactoring
- 4947. By Numerigraphe - Lionel Sausin <email address hidden>
-
[IMP] backport change from lp:~numerigraphe/openobject-addons/trunk-sale-line-multiple-moves
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-addons