Add issue8058.diff # [stock_supply_production] Can't create productions from request because exceeds digits limit
This commit is contained in:
parent
b2e478b620
commit
e4e1f6d16e
|
@ -0,0 +1,11 @@
|
||||||
|
diff -r 211d4069243a trytond/trytond/modules/stock_supply_production/production.py
|
||||||
|
--- a/trytond/trytond/modules/stock_supply_production/production.py Thu Jan 31 12:27:10 2019 +0100
|
||||||
|
+++ b/trytond/trytond/modules/stock_supply_production/production.py Thu Jan 31 12:27:58 2019 +0100
|
||||||
|
@@ -130,7 +130,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
|
@ -130,6 +130,7 @@ issue6371.diff # stock Do not set effective date on assignation
|
||||||
stock_lot_check_moves_without_lot_before_lot_required.diff
|
stock_lot_check_moves_without_lot_before_lot_required.diff
|
||||||
issue3228.diff # [trytond] Fix result order of search_read
|
issue3228.diff # [trytond] Fix result order of search_read
|
||||||
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
|
||||||
|
|
||||||
# electr
|
# electr
|
||||||
# issue6626_improve_performance_of_average_cost_price.diff
|
# issue6626_improve_performance_of_average_cost_price.diff
|
||||||
|
|
Loading…
Reference in New Issue