diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-05-08 11:55:34 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-05-08 12:45:14 +0200 |
| commit | aeae2fb64f16bbcf910d37b194f11e189febcae9 (patch) | |
| tree | 7f5c7ea3b4dba7535342f3cf0e548d9767cab3fa /addons/web/static/src/js/views/abstract_renderer.js | |
| parent | ac8800f0e03f8b40a60918c9fdef94e8a8e9d51a (diff) | |
[FIX] l10n_be_hr_payroll: Prevent 'Child Allowance' to exceed 'Withholding Taxes'
Note: Small fix, long diff. Read the specifcation section to understand why.
PURPOSE
=======
The child allowance is an amount to decrease the withholding taxes due to family charges.
SPECIFICATION
=============
Instead of having a salary rule with a fixed amount for the child allowance, we should have a salary rule on which the amount is computed with a python code, that take the minimum between the original fixed amount and the remaining withholding taxes to pay.
As the field 'amount_python_compute' isn't in the field declaration on the csv file, we have to add it and modify all the lines. The result is a quite long diff for a small fix.
Diffstat (limited to 'addons/web/static/src/js/views/abstract_renderer.js')
0 files changed, 0 insertions, 0 deletions
