-
- Downloads
[FIX] stock: "Print Labels" non-int qtys in reception report
Steps to reproduce: - activate Reception Report in settings - create outgoing picking for a product (qty > qty in stock) - create an incoming picking for the same product with a non-int qty - confirm the incoming picking + click on "Allocation" smartbutton - assign product to outgoing picking + click "Print Labels" (either at top of report or within the table of outgoing moves) Expected result: Labels and created + printed Actual result: ValueError because int() is called on a non-int value within the label template Note that the the `onClickPrint` within the reception_report_line.js already correctly did the Math.ceil rounding on the qty Noticed during task: 3046178 Part-of: odoo/odoo#119954
Showing
- addons/stock/static/src/components/reception_report_main/stock_reception_report_main.js 1 addition, 1 deletion...ents/reception_report_main/stock_reception_report_main.js
- addons/stock/static/src/components/reception_report_table/stock_reception_report_table.js 1 addition, 1 deletion...ts/reception_report_table/stock_reception_report_table.js
Please register or sign in to comment