lp:~numerigraphe/openobject-addons/6.0-sale-line-multiple-moves

Created by Numérigraphe and last modified

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_order_line_move() return a list and rename it to _prepare_order_line_moves().
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
Only Numérigraphe can upload to this branch. If you are Numérigraphe please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Numérigraphe
Project:
Odoo Addons (MOVED TO GITHUB)
Status:
Mature

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/

4949. By Numerigraphe - Lionel Sausin <email address hidden>

[FIX] fix regression in last merge

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

4946. By Raphaël Valyi et al.

[REF] Backport the refactoring of sale.action_ship_create()

4945. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4944. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4943. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4942. By Olivier Laurent (Open ERP)

[MERGE] opw 17798

4941. By Olivier Laurent (Open ERP)

[MERGE] opw 50628

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:openobject-addons
This branch contains Public information 
Everyone can see this information.

Subscribers