diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-10-29 10:01:41 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-10-29 10:52:41 +0000 |
| commit | 49fa9973b09312b6379be9191d549a0783119840 (patch) | |
| tree | 0b2e5a4ff094d707fedac85186cb9b09e27e8f13 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 45c2c3761d3b2bf7a5e637ecde957cd7680cd3f7 (diff) | |
[IMP] hr_holidays: Add leave code for payslips
Purpose
=======
Before this commit, it was not straightforward to use leave records in salary
rules programatically.
This commit implements the standard and python-code compatible way of defining
leave codes which then can be used in the salary rules in the used way.
This way, the naming of leaves will not be restricted to python-attribute
compatible naming, when one wants to use this feature.
Leave names (translatable) are an unreliable identification in python code salary rules.
A language switch would break python salary rules that use a leave type as input
TaskID: 1903964
Closes #28240
Co-authored-by: blaggacao <david@elaleman.co>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
