[ADD] Bring useful code from l10n_ar_hr_retentions module

Merged Gabriel Davini requested to merge 8.0-contract-payslip into 8.0-stage

Merge request reports