Tuesday, June 4, 2024
1 change · saas-17.1
Resolved issues and error corrections
Payrun imports from Employment Hero now continue even when a payroll tax code has not been mapped to an Odoo tax. This prevents an import error and helps payroll data be fetched more reliably while tax mapping can be reviewed separately.
Original PR description
Issue : If a fetched payrun uses a taxCode and no employment_hero_tax_identifier has been configured on an account.tax to match it, it will raise an ValueError (iteration on an empty list). Solution : Give a default value to next() Version : 17.1