Invoice line quantity must have "Product UoS" decimal precision
Bug #919572 reported by
Paulius Sladkevičius @ hbee
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
For example: If invoice created from sale order which have 3 decimal numbers for product quantity I think quantity must be shown in invoice with 3 decimal numbers too.
Related branches
To post a comment you must log in.
Hello Paulius,
I have checked your issue and I agree with you.
The problem occurs when, we will create a invoice from the sale order and our sale order created with "UoS" as well as we have set s decimal accuracy for "Product UoS" i.e 5. So the problem is in invoice line which is removed the decimal accuracy of product qty and rounding it.
Now comes on your solution, I do not agree with your solution, because here we have used a same object( account. invoice. line) for customer invoice line and supplier invoice line. So If we assigned a decimal precision of "Product UoS" to qty field of account. invoice. line then it will updated for both customer invoice and supplier invoice.
So we can not use this decimal precision for qty field of the account. invoice. line object. As per my suggestion we have to create a new decimal precision for invoice quantity then we will use this precision for invoice line's quantity.
That's before implementing this we need a more dissuasion on this, So please provide more information here on same.
Thanks and waiting for your reply!