mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
16 lines
499 B
Diff
16 lines
499 B
Diff
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)
|
|
|