c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04014
[Bug 674398] Re: Decimal_precision does not allow to type VAT with 4 digits
*** This bug is a duplicate of bug 667316 ***
https://bugs.launchpad.net/bugs/667316
Hello,
We have already fixed this issue for the account.tax digits problem.
thanks,
mra
** This bug has been marked a duplicate of bug 667316
tax percentage limit 2 digits
* You can subscribe to bug 667316 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/667316/+subscribe
--
Decimal_precision does not allow to type VAT with 4 digits
https://bugs.launchpad.net/bugs/674398
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Confirmed
Bug description:
Platform: Ubuntu 10.04-OpenERP 6-RC1
1) Digits used for VAT percentage are linked to decimal_precision variable 'Account' in account.py.
For normal configuration, digits = 2. It means that you cannot type 0.1925 if your VAT equals 19,25%.
If you change value of 'Account' to 4, then all your account amounts show 4 digits.
2) Proposal :
Change 'Account' to 'TaxAmount' in account.py in line 1658 :
'amount': fields.float('Amount', required=True, digits_compute=dp.get_precision('TaxAmount'), help="For taxes of type percentage, enter % ratio between 0-1."),
Create new variable in decimal accuracy menu : Usage: TaxAmount ; Digits: 4 (as an example)
This bug is completed by two other bugs around the same issue: decimal_precision:
- Change 'Sale Price' to 'Sale Price woTax' on List_price in product.py
- Allow change of decimals by default in configuration (and not in decimal_precision.py) to manage currencies without decimals
Follow ups
References