Add inactive purchase_fix_get_move_done_rounding patch
This commit is contained in:
parent
4722be2f42
commit
44382237b4
|
@ -0,0 +1,12 @@
|
|||
diff -r 39138b20bd95 purchase.py
|
||||
--- a/trytond/trytond/modules/purchase/purchase.py Mon Nov 02 16:10:40 2015 +0100
|
||||
+++ b/trytond/trytond/modules/purchase/purchase.py Wed Nov 11 11:44:30 2015 +0100
|
||||
@@ -1011,7 +1011,7 @@
|
||||
break
|
||||
quantity -= Uom.compute_qty(move.uom, move.quantity, self.unit)
|
||||
if done:
|
||||
- if quantity > 0.0:
|
||||
+ if quantity > self.unit.rounding:
|
||||
done = False
|
||||
return done
|
||||
|
Loading…
Reference in New Issue