Add issue8058.diff # [stock_supply_production] Can't create productions from request because exceeds digits limit
This commit is contained in:
parent
36e94d3960
commit
ff8e2065a1
|
@ -0,0 +1,11 @@
|
|||
diff -r 1eaabd4486d2 trytond/trytond/modules/stock_supply_production/production.py
|
||||
--- a/trytond/trytond/modules/stock_supply_production/production.py Thu Jan 31 13:00:13 2019 +0100
|
||||
+++ b/trytond/trytond/modules/stock_supply_production/production.py Thu Jan 31 13:00:57 2019 +0100
|
||||
@@ -129,7 +129,7 @@
|
||||
product=product,
|
||||
bom=product.boms[0].bom if product.boms else None,
|
||||
uom=product.default_uom,
|
||||
- quantity=quantity,
|
||||
+ quantity=float(Decimal(quantity).quantize(Decimal(str(10 ** -product.default_uom.digits)))),
|
||||
state='request',
|
||||
)
|
1
series
1
series
|
@ -82,3 +82,4 @@ issue7129.diff # [account_payment] Slow to list Lines to Pay
|
|||
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
|
||||
support_postgresql10_6789.patch
|
||||
issue7856.diff # [stock] Can't move qty from a parent location to child location
|
||||
issue8058.diff # [stock_supply_production] Can't create productions from request because exceeds digits limit
|
||||
|
|
Loading…
Reference in New Issue