From aa7db3a08c4a4f3b2a4ba0683c4c8857edc6c2bb Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Mon, 30 May 2016 14:25:48 +0200 Subject: [PATCH] Change diff issue10467 for 4.0 series --- issue10467.diff | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/issue10467.diff b/issue10467.diff index 510f249..4fb79f9 100644 --- a/issue10467.diff +++ b/issue10467.diff @@ -1,12 +1,10 @@ -Index: stock.py -=================================================================== - ---- .a/trytond/trytond/modules/stock_lot/stock.py -+++ .b/trytond/trytond/modules/stock_lot/stock.py -@@ -80,6 +80,20 @@ +diff -r 463332839c4e trytond/trytond/modules/stock_lot/stock.py +--- a/trytond/trytond/modules/stock_lot/lstock.py Wed May 11 11:26:49 2016 +0200 ++++ b/trytond/trytond/modules/stock_lot/stock.py Mon May 30 14:23:41 2016 +0200 +@@ -78,6 +78,20 @@ for move in moves: move.check_lot() - + + @classmethod + def assign_try(cls, moves, with_childs=True, grouping=('product',)): + lot_moves = [] @@ -21,3 +19,6 @@ Index: stock.py + & super(Move, cls).assign_try(product_moves, + with_childs=with_childs, grouping=grouping)) + + + class ShipmentIn: + __metaclass__ = PoolMeta