Comment 1 for bug 919572

Revision history for this message
Amit Parik (amit-parik) wrote :

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!