diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-11-29 11:52:34 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-11-30 11:08:19 +0100 |
| commit | c7bbbd41c74d9c07488269f2d77c88833da5cbb1 (patch) | |
| tree | 80e931e8ab3faf8d8a5fe3da1e3392a545cc67be /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 78128760c553dbb728a22ab9f10fc5b403d2ba13 (diff) | |
[IMP] hr_payroll: Remove hr.rule.input model
There are currently 2 models:
- hr.rule.input to link some inputs to an hr.payslip.rule
- hr.payslip.input to add some additional inputs on a payslip.
The first model is actually there to automatically add inputs on the
additional inputs on the payslip. This is problematic because these
rules are always added (For example a salary reduction due to a
police fine). As these inputs are always added on the payslip, the
the related rules are always computed with an amount of 0.
We decided to remove this mechanism for the following reasons:
- If the rule is important and common, then define the needed values on
the contract, and compute the rules from that.
- If the rule is not so important, it should be added manually when needed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
