Daily updates from Odoo
Tuesday, April 8, 2025
2 changes · master
Resolved issues and error corrections
Creating an anniversary marketing campaign no longer fails because the required server action status is now set correctly. This restores the campaign setup flow for users relying on website sales marketing automation.
Original PR description
Try creating the anniversary campaign, it will throw an error. The reason was due to a recent change in `ir.actions.server` [1]. This commit [2], removes the default value of `state`, but we're not passing any value for `state` while creating the campaign, thus it throws an error, as `state` is required for server action. [1]: https://github.com/odoo/odoo/pull/202347 [2]: https://github.com/odoo/odoo/commit/e84210e5b2de8791ced9ee715197a6b7db26eecb Task-4707098
Applicant attachments are now recreated as Documents records when needed, so recruiters can find CVs and other files from the applicant attachment view. This prevents missing documents after installing or reinstalling the Documents app, reducing confusion during hiring workflows.
Original PR description
steps to reproduce: - install `website_hr_recruitment` - apply to a job with an attachment - install Documents app - find the newly created applicant in Recruitment app - click on the attachment icon (`fa fa-paperclip`) - notice that there are no documents there, even after attaching one. description: (the same thing happens when we have Documents app installed, and new applicants apply, and if the Document app is uninstalled and re-installed, the documents won't be present anymore, quite naturally what actually should happen!) - but the task requires to have documents again added, if re-installed. cause: - Demo CV entries are not done in `documents.document` + uninstalling the module naturally removes all the documents, and when re-installed show empty view. fix: - if a document doesn't exist for the given attachment, we create it, and then show it. Task-4667914