-
- Downloads
[IMP] uom: change default rounding to two
Change the default rouning digits of all UoMs to be two, also change the decimal.precision of UoM to be two. Adapt all the tests. Also to avoid hardcoded digits in `should_consume_qty` widget. PR #56000 X-original-commit: 460ec040
Showing
- addons/mrp/models/mrp_production.py 1 addition, 1 deletionaddons/mrp/models/mrp_production.py
- addons/mrp/models/stock_move.py 1 addition, 1 deletionaddons/mrp/models/stock_move.py
- addons/mrp/static/src/js/mrp_should_consume.js 1 addition, 2 deletionsaddons/mrp/static/src/js/mrp_should_consume.js
- addons/mrp/tests/test_order.py 0 additions, 63 deletionsaddons/mrp/tests/test_order.py
- addons/mrp/tests/test_traceability.py 1 addition, 1 deletionaddons/mrp/tests/test_traceability.py
- addons/mrp/views/mrp_production_views.xml 1 addition, 1 deletionaddons/mrp/views/mrp_production_views.xml
- addons/point_of_sale/static/tests/tours/point_of_sale.js 1 addition, 3 deletionsaddons/point_of_sale/static/tests/tours/point_of_sale.js
- addons/product/data/product_data.xml 1 addition, 1 deletionaddons/product/data/product_data.xml
- addons/purchase_product_matrix/static/tests/tours/purchase_product_matrix_tour.js 2 additions, 2 deletions...matrix/static/tests/tours/purchase_product_matrix_tour.js
- addons/sale/tests/test_sale_to_invoice.py 4 additions, 4 deletionsaddons/sale/tests/test_sale_to_invoice.py
- addons/sale_mrp/tests/test_sale_mrp_flow.py 5 additions, 5 deletionsaddons/sale_mrp/tests/test_sale_mrp_flow.py
- addons/sale_product_configurator/static/tests/tours/product_configurator_edition_ui.js 1 addition, 1 deletion...tor/static/tests/tours/product_configurator_edition_ui.js
- addons/sale_product_matrix/static/tests/tours/sale_product_matrix_tour.js 2 additions, 2 deletions...uct_matrix/static/tests/tours/sale_product_matrix_tour.js
- addons/stock/tests/test_packing.py 2 additions, 2 deletionsaddons/stock/tests/test_packing.py
- addons/stock/tests/test_stock_flow.py 2 additions, 0 deletionsaddons/stock/tests/test_stock_flow.py
- addons/uom/data/uom_data.xml 0 additions, 2 deletionsaddons/uom/data/uom_data.xml
- addons/uom/tests/test_uom.py 1 addition, 1 deletionaddons/uom/tests/test_uom.py
Loading
Please register or sign in to comment