c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #31515
[Bug 694833] Re: Salary Structure deduction percentage limitation
Hello,
What about this bugfix?
In my opinion, you could resolve this problem like this:
In addons/hr_payroll/hr_payroll.py, there is the following line (1331):
'amount': fields.float('Amount / Percentage', digits=(16, 4)),
Here, we see the limit of 4 digits.
You could change the number (6, for example), or use db.get_precision, like in the next line:
'total': fields.float('Sub Total', readonly=True, digits_compute=dp.get_precision('Account')),
This way should allow to setup manually the number of decimal, in Administration/Customization/Database Structure/Decimal Accuracy Definition.
Thanks
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/694833
Title:
Salary Structure deduction percentage limitation
Status in OpenERP Modules (addons):
Confirmed
Bug description:
There is a limitation in Salary Structure Editor. The Amount Type
"Percentage %" is limited to 4 numbers digits.
For an example, there is no way to put a deduction of 4.54 percents (=> 0.00454).
This limitation has to be set to 5 numbers after the decimal separator.
I'm using OpenERP 6.0 RC1
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/694833/+subscriptions
References