Daily updates from Odoo
Monday, July 22, 2024
1 change · master
Resolved issues and error corrections
Salary rules that depend on a payslip input will now be displayed correctly, even when their payment amount is calculated another way. This prevents valid payroll rules from being hidden and helps ensure payslips are computed as expected.
Original PR description
Issue: If you create a salary rule with a condition based on an input but with something else than input for the amount, the rule will not be shown. Expected: The rule should be shown if the input is present in the payslip and the computation should happen normally. Fix: When checking if the rule should be shown or not, we were looking at the wrong field that is related to the amount and not the condition.