diff options
| author | Gustavo Valverde <gustavo@iterativo.do> | 2018-09-10 00:23:04 -0400 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-01-21 11:13:00 +0100 |
| commit | 4ed9a53bbd602c219b74fc1192555d16453fff7d (patch) | |
| tree | 3131226bb3cde9fbff8d8921b05f1646a07a913b /addons/mail/static/src/js/models/threads/thread.js | |
| parent | 88e66309927e81c82a832e8795b14aae2626eb60 (diff) | |
[FIX] hr_payroll_account: Allow salary rules to be used in multicompanies
Before this commit
- Install a **l10n_xx_hr_payroll** which includes information of the rules (it always install in the main company: **Company A** in this use case).
- Configure the accounting for the rules
- Create **Company B**
- Use the same salary rules for both companies, as **l10n_xx_hr_payroll** modules are not multicompany.
Behavior:
- **Company A** accounts are shown in **Company B** salary rules.
- If the accounts are changed in **Company B** rules, it also overrides **Company A** accounts, (which causes major confusions, and great mistakes if a payslip is run).
- A salary rule with **Company A** set on `company_id` can still be **seen** through Company B. which causes that it can be mistakenly _ran by a user in Company B_, with the _accounting of Company A_.
After this commit:
Salary rules accounting can be used with multi-company
Diffstat (limited to 'addons/mail/static/src/js/models/threads/thread.js')
0 files changed, 0 insertions, 0 deletions
