mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add issue8058.diff # [stock_supply_production] Can't create productions from request because exceeds digits limit
This commit is contained in:
parent
45c8026eb1
commit
24c62d180c
11
issue8058.diff
Normal file
11
issue8058.diff
Normal file
|
@ -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
|
@ -77,5 +77,6 @@ issue4958.diff # [account_payment] Remove account kind filter on Payable/Receiva
|
||||||
filestore.diff # [trytond] changeset-06e955c4465e + changeset-a8d3c527a445
|
filestore.diff # [trytond] changeset-06e955c4465e + changeset-a8d3c527a445
|
||||||
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
|
issue7395.diff # [account_asset] Crash Depreciation Table repot when lines date is out of range asset start/end
|
||||||
issue7856.diff # [stock] Can't move qty from a parent location to child location
|
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
|
||||||
|
|
||||||
#issue7334.diff # [trytond] read history that created_date is before the requested create_date
|
#issue7334.diff # [trytond] read history that created_date is before the requested create_date
|
||||||
|
|
Loading…
Reference in a new issue