Enable the check of costs of production again. Tryton core already made some changes.
This commit is contained in:
parent
65c9886a00
commit
e592377692
|
@ -1,16 +0,0 @@
|
|||
Index: production.py
|
||||
===================================================================
|
||||
|
||||
--- .a/trytond/trytond/modules/production/production.py
|
||||
+++ .b/trytond/trytond/modules/production/production.py
|
||||
@@ -441,6 +441,9 @@
|
||||
production.check_cost()
|
||||
|
||||
def check_cost(self):
|
||||
+ # avoid this check because it could be little differences because of
|
||||
+ # rounding problems
|
||||
+ return
|
||||
if self.state != 'done':
|
||||
return
|
||||
cost_price = Decimal(0)
|
||||
|
Loading…
Reference in New Issue