Tax Rates Round to Decimal Precision of Account + 2 - Should be variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
Bug Description
In https:/
While I understand one can change the calculated tax value on the invoice, that is not behavior that I can expect of our end users on a regular basis. In the interim I have modified the code on our side in account.py to return account+3 instead of account+2:
class account_
...
def get_precision_
def change_
res = pooler.
return (16, res+3)
return change_digit_tax
This works fine for me but I thought that since the previous bug noted Account+2 was a "reasonable default" that it should be just that... a default - which implies the decimal precision of the rate relative to the account precision should be variable and able to be set by the user. I personally believe that Account precision and Tax precision have nothing to do with each other and shouldn't be related in such a way to begin with. Shouldn't there be an actual entry in the decimal_precision table specifically for taxes that does not depend on and unrelated entities precision? Something like:
class account_
...
def get_precision_
def change_
res = pooler.
return (16, res)
return change_digit_tax
Just my thoughts.
Current Environment:
OpenERP 6.0.3 on Mac OS X 10.7 (the code above exists in the trunk as well)
I'd be happy to help work something up if any one agrees or would find my suggestion to be useful.
Hello Mike,
I have checked your issue and according to lp:667316 we have set a decimal accuracy for account tax.
So when you want to more precision on it you have to change the decimal accuracy of account.
For more information I have attached a video so would you please check it and notify us where you face the problem.
Thanks and waiting for your reply!