Friday, November 25, 2022
11 changes · master
Enhancements to existing features
Survey users can now find live sessions by entering their session code in the existing survey name search. This makes it easier to locate the right survey session without adding extra fields or cluttering the screen.
Original PR description
Allow users to search by live session code without taking extra space in the UI. Task-3067507
Accounting dashboard graphs now load asynchronously, so users can open and use the dashboard without waiting for chart data to finish loading. This improves perceived performance and responsiveness for finance teams working with journal dashboards.
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 work order planning view now shows blocked time slots and totals planned times more clearly. This helps production teams better understand capacity constraints and scheduling workload at a glance.
Original PR description
Adapt workorder gantt view to show blocked slots and summed times. task: 2444754 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
Project users get clearer task views, easier access to all tasks, and more informative shared task cards. Sales-linked milestones now provide direct access to their related sales orders, helping teams move between project delivery and sales context faster.
Original PR description
Purpose of this commit to improve generic usage of project app. So in this commit done the following changes: - switch the id and the priority fields from place for task list view - add a 'view sales order' button that should open the form view of the SO linked to the SOL set on the milestone for milestone list view - add a 'sales order' stat button that should open the form view of the SO linked to the SOL set on the milestone for milestone form view - add a 'done' option; represent it in purple in status field - if there is only 1 assignee, display its name on the card instead of 1 assignee for project sharing kanban view - add an 'all tasks' menu on the right of the 'my tasks' one task-2917086
This update improves how certain Mail-related records appear in navigation breadcrumbs. Instead of showing technical model names and record IDs, users will see clearer record labels, making navigation easier and less confusing.
Original PR description
**Description of the issue/feature this PR addresses:** for models mail.channel.rtc.session, res.users.settings, res.users.settings.volumes name field is not there in the model, so breadcrump currently showing model_name, id , so adding rec_name for these model for better breadcrump. **Current behavior before PR:** Breadcrump showing model_name, id **Desired behavior after PR is merged:** Better breadcrumb for the models --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The product grid configurator used in sales and purchasing has been updated to a newer dialog experience. This keeps the product selection workflow more consistent with the rest of Odoo and helps reduce reliance on older interface code.
Original PR description
Product configurators were migrated to Owl, but some legacy code was kept as not urgent to migrate (not required to drop the compatibility layer of views). This commit focus on the 'matrix' (or grid) configurator. See also: - https://github.com/odoo/enterprise/pull/34401 task-3056594
The email marketing unsubscribe and subscription pages now load more appropriate website assets, reducing unnecessary page weight and fixing display issues. Blocklist changes for email and SMS are logged with clearer context, making it easier for teams to understand why contacts were added or removed.
Original PR description
PURPOSE Fix assets in mass mailing (unsubscription page is broken and assets usage is a complete mess). Improve blocklist logging. Update tools methods, controllers and templates naming to ease…
PURPOSE
Fix assets in mass mailing (unsubscription page is broken and assets usage is
a complete mess). Improve blocklist logging. Update tools methods, controllers
and templates naming to ease future improvements and refactoring.
SPECIFICATIONS
[FIX] mass_mailing: use frontend assets in subscription page
Unsubscribe page uses a custom layout allowing a portal-like behavior for
mass mailing without any link to website or portal. However it currently
uses the complete backend assets. This leads to a lot of unnecessary css
and js being loaded.
When having frontend pages like the one used in mass mailing it should rely
on frontend assets with some custom assets if necessary for the page to
be correctly displayed.
In this commit we choose to use frontend assets like other portal-like pages.
Mailing layout now uses the frontend layout defined in web and adds its own
subset of assets (mailing_assets). Some custom css is moved or added as well
as few tweaks to ensure layouting is globally the same as before this commit.
[IMP] mail, phone_validation: allow to log a message when (un)blacklisting
Add possibility to add a message when adding or removing a blacklist entry
for both mail and phone_validation (used for SMS). This replaces the
``action_remove_with_reason`` method.
When updating active flag this is added as a tracking note to avoid having
several messages. Indeed message is concatenated with the tracking itself
instead of adding message for tracking + a message for the log itself. When
a new record is created, a note is logged.
Use it in mass mailing.
[REF] mass_mailing: rename templates and controller methods
Rename templates to better understand their purpose. Current naming is not
crystal clear.
Rename controller methods in order to be clearer and more aligned with current
guidelines. Notably namespace by mailing, try to be clearer about their
purpose, ...
Add a helper field to know when a mailing runs on mailing lists as it triggers
some specific behavior.
In this commit we rename methods generating tokens (for recipients and report
management). Otherwise it is hard to distinguish them as naming is not really
convenient to use
* _unsubscribe_token -> was actually generating token for a given recipient
on a given mailing;
* _get_unsubscribe_token -> was actually generating token for mailing
users to deactivate D+1 KPI reporting;
Hash for mail tracking is also moved in its own method to avoid having the
same code twice. Better delegate it to a tool sub method.
Rename main routes, and keep a legacy for the main unsubscribe route to
keep retro compatibility for existing mailings.
[IMP] mass_mailing: show blacklist button by default on portal
We now consider being able to blacklist their email is a default behavior for
users being redirected to the subscription management portal page.
LINKS
Task-3082546 (Mass Mailing: Fix assets and unsubscribe page)
Task-2710804 (Mail: Clean MailThread API)
Prepares Task-2669037 (Mass Mailing: Subscription page code cleaning)
Prepares Task-2150462 (Mass Mailing: Unsubscribe flow refactoring)The automated rental order test flow was updated to work with the newer product selection dialog. This helps keep rental product configuration checks reliable after the related interface change.
Original PR description
Following the changes made to use the new OWL Dialog in `product_matrix`, adapt the tour to the new Dialog. See also: - https://github.com/odoo/odoo/pull/105841 task-3056594
The manufacturing work order planning view now highlights blocked time slots and shows combined time totals. This helps planners better understand machine or work center availability and make scheduling decisions faster.
Original PR description
Adapt workorder gantt view to show blocked slots and summed times. task: 2444754
This update adjusts the version information for the Peru electronic invoicing module in preparation for a webinar. It is a minor administrative change with no expected impact on day-to-day business workflows.
Project planning screens are easier to use with a new Gantt view for all tasks and better default reporting measures. Users can more quickly review allocated time, actual hours, and progress while seeing planning grouped in a more useful way.
Original PR description
…for project ** = project_timesheet_forecast Purpose of this commit to improve generic usage of project app. So in this commit done the following changes: - Add gantt view for all tasks button - The pivot view displays the following measures by default: allocated time, effective hours, progress 'hours planned' stat button - Hide the 'I am unavailable' button on the 'hours planned' stat button - Group the gantt view by resource instead of the 'hours planned' stat button - Hide the 'I am unavailable' button on the 'hours planned' stat button task-2917086