Wednesday, March 24, 2021
6 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
Manufacturing users get clearer operation and work center lists with more useful fields, grouping options, and easier bulk editing. Work center records now also provide quick access to related operations, helping teams review production setup faster.
Original PR description
Some changes/improvements in the list/form views of `mrp.workcenter` and `mrp.routing.workcenter`. task-2382256
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.
Event email and SMS schedules now show clearer progress, including whether messages are scheduled, running, or sent, plus how many attendees have been contacted. The scheduling logic was also streamlined to improve performance and make communication tracking more reliable for event teams.
Original PR description
PURPOSE Improve event mail scheduled communications: add a state and a contacted count. Improve performances and code readability. SPECIFICATIONS: STATE Instead of the checkbox "sent", an event mail…
PURPOSE
Improve event mail scheduled communications: add a state and a contacted
count. Improve performances and code readability.
SPECIFICATIONS: STATE
Instead of the checkbox "sent", an event mail can have 3 values
1. Sent, if all the mails has been sent;
2. Scheduled, if scheduled but no attendee have been contacted;
3. Running, if not all attendees have been contacted;
Note that communication targeting "after registration" are always considered
as being "running" as any new registration triggers a new communication.
A new widget is added that displays an icon depending on the state.
A new field holding contact count is added. When scheduler send emails it is
updated to keep a count of sent communications.
SPECIFICATIONS: MAIL COMPUTATION IMPROVEMENT
Purpose of this merge is to remove the "done" field computation. Indeed
it is based on either
* mail_sent field if scheduler is global to the event (before or after
event). This computation is light as this field changes only once
when emails are scheduled and sent;
* status of event registrations compared to all sent communication on
those registrations. This is costly as adding a new registration changes
In this merge we therefore
* rename ``done`` to ``mail_done`` to ease grep and understanding;
* remove ``mail_sent`` as it is integrated within ``done``;
* manually update ``mail_done`` when updating schedulers instead of doing
it through a compute method;
Some code cleaning is performed to make it clearer and easier to understand.
LINKS
Task ID-2414658
COM PR odoo/odoo#63093
UPG PR odoo/upgrade#2014Users can now mark products as favorites, filter to see favorite products, and sort product lists by favorites or alphabetically. This makes it faster for teams to find and work with frequently used products in the Product app.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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