Change diff issue10467 for 4.0 series
This commit is contained in:
parent
bbe8ec997c
commit
aa7db3a08c
|
@ -1,12 +1,10 @@
|
||||||
Index: stock.py
|
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
|
||||||
--- .a/trytond/trytond/modules/stock_lot/stock.py
|
@@ -78,6 +78,20 @@
|
||||||
+++ .b/trytond/trytond/modules/stock_lot/stock.py
|
|
||||||
@@ -80,6 +80,20 @@
|
|
||||||
for move in moves:
|
for move in moves:
|
||||||
move.check_lot()
|
move.check_lot()
|
||||||
|
|
||||||
+ @classmethod
|
+ @classmethod
|
||||||
+ def assign_try(cls, moves, with_childs=True, grouping=('product',)):
|
+ def assign_try(cls, moves, with_childs=True, grouping=('product',)):
|
||||||
+ lot_moves = []
|
+ lot_moves = []
|
||||||
|
@ -21,3 +19,6 @@ Index: stock.py
|
||||||
+ & super(Move, cls).assign_try(product_moves,
|
+ & super(Move, cls).assign_try(product_moves,
|
||||||
+ with_childs=with_childs, grouping=grouping))
|
+ with_childs=with_childs, grouping=grouping))
|
||||||
+
|
+
|
||||||
|
|
||||||
|
class ShipmentIn:
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
|
|
Loading…
Reference in New Issue