← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 694833] Re: Salary Structure deduction percentage limitation

 

Hello,

I tested my idea:
Correct this bug, you can replace the line 1331 in addons/hr_payroll/hr_payroll.py by that:

'amount': fields.float('Amount / Percentage',
digits_compute=dp.get_precision('Payslip')),

And define a new Decimal Accuracy Definition
(Administration/Customization/Database Structure/Decimal Accuracy
Definition) named "Payslip" (you can use another name, but don't forget
to change the previous line) with the number of decimal you want.

Hoping that it helps.

-- 
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