Added production patch to avoid cost check
This commit is contained in:
parent
48f153555a
commit
aab6632ab4
|
@ -0,0 +1,16 @@
|
|||
Index: production.py
|
||||
===================================================================
|
||||
|
||||
--- ./modules/production/production.py
|
||||
+++ ./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