[FIX] hr_payroll: worked days calculation
[FIX] hr_payroll: worked days calculation

In a salary slip, change the end date of the period. The "Worked Days"
are not recomputed.

Fixes #15404
opw-707897

dfang/odoo,hip-odoo/odoo,dfang/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo