From 3edeb37c27bf06a0608e01f11a1d0ab949f27caa Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 28 Mar 2014 14:51:31 +0100 Subject: [PATCH] [REF] stock: some more doc bzr revid: qdp-launchpad@openerp.com-20140328135131-4ol7d78efvtbekw5 --- addons/stock/stock.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 359e4ddcebc..2e1d99b2ebd 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -2283,6 +2283,8 @@ class stock_move(osv.osv): """ Splits qty from move move into a new move :param move: browse record :param qty: float. quantity to split (given in product UoM) + :param restrict_lot_id: optional production lot that can be given in order to force the new move to restrict its choice of quants to this lot. + :param restrict_partner_id: optional partner that can be given in order to force the new move to restrict its choice of quants to the ones belonging to this partner. :param context: dictionay. can contains the special key 'source_location_id' in order to force the source location when copying the move returns the ID of the backorder move created