Wednesday, March 24, 2021
3 changes · master
Enhancements to existing features
Live survey hosts now see an indication when their survey has no questions, helping them understand why the session cannot proceed. Participants also see a more appropriate message telling them there are no questions yet and to come back later, instead of being prompted to edit the survey.
Original PR description
PURPOSE Before this commit, the survey host had no indication that his survey has no questions. After this commit, he will be displayed with that indication. Before this commit, someone who took the survey had a message implying him to modify the survey to add questions. After this commit the message will say 'No question yet, come back later'. LINKS Task ID : 2456372 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds a reusable test helper that makes it easier to confirm scheduled job triggers are created at the right time. It reduces duplicated test logic across areas like calendar and mass mailing, improving maintainability without changing customer-facing behavior.
Original PR description
When testing cron triggers, it is common to get the newly created triggers in order to validate they exist and are scheduled are the right moment. This new helper is a context manager that capture all triggers or triggers created for a specific cron. The created triggers are accessible via the context's object `triggers` recordset attribute. The various tests have been updated so they use that new helper.
The manufacturing accounting list view now shows the hourly cost account field directly. This makes it easier for users to review and manage cost account settings without opening each record individually.
Original PR description
task-2382256