Daily updates from Odoo
Friday, February 9, 2024
2 changes · master
Resolved issues and error corrections
Belgian payroll users now get a clear warning when trying to update working schedules for multiple contracts at once. This avoids a system error and helps users complete the task correctly by updating one contract at a time.
Original PR description
Updating working schedules in batch mode for contracts currently causes a system error. This commit ensures that the update process now raises a user error if multiple contracts are selected. Task-3571866
Intrastat country and region settings have been moved to the shared Intrastat module so they can support more country localizations beyond Belgium. This keeps configuration consistent and hides region settings when they do not apply to a company's country.
Original PR description
… higher model The fields company_country_id and intrastat_region_id were both defined in l10n_be_intrastat. These fields are now required on other localizations, such as France which will come in a later commit. For this reason, these fields need to be defined on account_intrastat to be used by all possible localization. The view of the intrastat region (visible in the settings) must also be defined in account_intrastat, and make the field invisible if the company country has no intrastat region defined. task-3691571