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

Created by Numérigraphe on 2011-12-07 and last modified on 2014-03-18

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-team/openobject-addons/7.0-sale-line-multiple-moves
Members of Numérigraphe can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

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

Recent revisions

9911. By Launchpad Translations on behalf of openerp on 2014-03-18

Launchpad automatic translations update.

9910. By Denis Ledoux (OpenERP) on 2014-03-17

[FIX] point_of_sale: prevent duplicated order posting

9909. By Launchpad Translations on behalf of openerp on 2014-03-17

Launchpad automatic translations update.

9908. By Launchpad Translations on behalf of openerp on 2014-03-16

Launchpad automatic translations update.

9907. By Launchpad Translations on behalf of openerp on 2014-03-15

Launchpad automatic translations update.

9906. By Martin Trigaux (OpenERP) on 2014-03-14

[MERGE] [FIX] stock: add some missing context, courtesy of Lionel Sausin (Numérigraphe)

9905. By Olivier Dony (Odoo) on 2014-03-14

[FIX] pad: improve pad bootstrap, prevent creating useless empty pads, avoid edition warning in read-only mode for new pads, translate messages

Added a small method to detect the proper server configuration,
and make it degrade gracefully if the method is not present.
This avoids having to force a pad URL generation in order to
test the config (possibly creating useless pads).
Add a user-friendly message when the pad has not yet been
initialized for a given record, in read-only mode.

9904. By Christophe Simonis (OpenERP) on 2014-03-14

[FIX] share wizard: delete wizard lines in cascade

9903. By Olivier Dony (Odoo) on 2014-03-14

[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier

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