diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2018-10-06 04:21:05 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-10-08 09:33:04 +0000 |
| commit | 87a9780270ee9adab91b69ab6f949365622058c8 (patch) | |
| tree | bbbb37f2857d7a385e32c8c975909f9bf293110b /doc/python3.rst | |
| parent | f4041de4ed51aee4dc986d77fdf1f2dc9283318b (diff) | |
[FIX] mrp: print bomstructure report with float quantity
Usecase to reproduce (chrome):
- Create a BoM with float quantity in component
- Print the BoM cost and structure report
When using a type="number" on firefox it is not possible to use a
decimal. However on chrome there is no restriction and a decimal
could be use. It makes senses to be able to work with decimal
(e.g. the UoM is in kg)
It also exists an explicit cast to integer since data are received as
string from the javascript. However since quantity displayed could be
decimal, the cast should be adapted to float.
Closes #27464
Fixes #27437
closes odoo/odoo#27522
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
