Daily updates from Odoo
Monday, March 4, 2024
3 changes · master
Resolved issues and error corrections
Spreadsheet template validation now happens automatically when records are changed, rather than relying on a separate post-install check. This helps catch invalid data earlier and keeps spreadsheet-related features more reliable with minimal user-facing impact.
Original PR description
See community PR. The validation is now done with an `api.constrains` instead of a post-install test. Task: 3577092
Belgian payroll now avoids relying on salary-contract data unless that related feature is installed. This prevents errors for companies using payroll without the optional salary contract module, while keeping custom representation fee behavior where it belongs.
Original PR description
Before correction : The function _get_representation_fees_threshold used a field from hr_job. But this field exist only if l10n_be_hr_contract_salary is installed After correction : Put the behaviour of this function linked to this field in l10n_be_hr_contract_salary.
The Documents search panel had a small spacing problem caused by custom folder and delete icons. This fix removes the extra padding so the panel layout appears correctly for users.
Original PR description
Technical ==================== Due to a recent change here https://github.com/odoo/odoo/pull/149246 there is padding issue because in documents we are overriding the carets and trash icons and width of the "o_toggle_fold" is fixed so that's why it is causing the issue. After this PR ================== Removed the unnecessary padding. Task-3761896