mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
parent
781af48af6
commit
20e37e59c8
|
@ -48,7 +48,7 @@ index 8d34c30..28f1116 100644
|
|||
+ and self.origin.quantity < 0
|
||||
+ and self.from_location.type != 'storage'
|
||||
+ and self.to_location.type == 'storage'
|
||||
+ and isinstance(self.origin.origin, Sale)):
|
||||
+ and self.origin.origin and isinstance(self.origin.origin, Sale)):
|
||||
+ sale = self.origin.origin
|
||||
+ cost = Decimal(0)
|
||||
+ qty = Decimal(0)
|
||||
|
|
Loading…
Reference in a new issue