Daily updates from Odoo
Tuesday, October 22, 2024
6 changes
5 changes
Enhancements to existing features
Product pages now skip rental date checks for items that are not rentals, reducing unnecessary validation for shoppers. The update also aligns rental and subscription product page pricing behavior with recent platform changes, helping keep displayed prices consistent.
Original PR description
Variant Mixin logic is only used on ecommerce since the drop of the old product configurator (optional products modal) replaced by the backend one, thus `isWebsite` is always truthy and useless to check Avoid verification of rental dates when the product is not a rental product. Also adapt to community changes with the removal of `price_extra` key from combination info. See also: odoo/odoo#180774
Field service and project task lists in the map side panel can now be reordered when they use a sequence-based order with dates. This helps teams adjust visit routes more easily and improve itinerary planning directly from the map view.
Original PR description
The JS framework introduced the option to reorder records from the map view side panel. This is particularly useful to optimize the itinerary. However, this feature is only available when records are ordered by an integer field, which isn't the case at the moment in project/fsm. As a consequence, we need to order tasks by 'sequence > start date' in the map view of project/fsm. task-4245177
Email templates across several business apps now use smarter default recipient selection, reducing the need for manual setup and lowering the risk of messages going to missing or incorrectly formatted contacts. The update also improves email matching and validation in related flows, making customer and attendee communications more reliable.
Original PR description
Improve default behavior of mail.templates * move to 'use_default_to' being the default value for templates. This means no configuration for 'email_to' / 'partner_to' is necessary as it is going to…
Improve default behavior of mail.templates
* move to 'use_default_to' being the default value for templates. This means
no configuration for 'email_to' / 'partner_to' is necessary as it is
going to use results of '_message_get_default_recipients' which should
find default contact in most cases;
* go through existing templates, and set 'use_default_to' flag explicitly
to True (if functional model and flow targeting customers) or False
(if technical model or flows linked to custom mailing where recipients
are specific to the template);
* improve '_message_get_default_recipients' in order to
* better find linked partner (using '_mail_get_partners');
* better compute default recipients, notably filter out partners without
email;
* allow to prioritize email on partners (e.g. models where email can be
different from linked partner like registrations);
* better check email validity using normalize;
* allow to have default creation values for template based on model, currently
done for calendar attendee and event attendee models. This can be extended
by overriding '_mail_template_default_values';
* provide various fixes in email flows when spotted (e.g. using normalized
emails for comparison and searches, remove outdated code, ...);
See sub commits for more details.
Follows preliminary merge odoo/odoo#184581 and odoo/enterprise#72420
Task-2667099: [mail] Improve default template values
Task-3955092: [event] Improve creating registration templates
Task-4264367: [mass_mailing] Store/Compare normalized emails on traces
Task-4269238: [pos] Cleanup 'marketing' improvements
Prepares Task-4224145: [marketing_automation] Improve test coverage
Prepares Task-4241059: [event] Negative before/after event schedulersThe Indian GSTR reporting spreadsheet functionality is now included directly in the main GSTR reports module. This simplifies deployment and maintenance while keeping the reporting workflow available in one place for users.
Original PR description
In this commit: merging `l10n_in_reports_gstr_spreadsheet` into `l10n_in_reports_gstr` Related - https://github.com/odoo/upgrade/pull/6630 task-4266231
The Amazon sales integration is easier to set up and manage. Account names are filled in automatically, users can pause or resume account connections, and the setup screens now guide users more clearly when no account exists.
Original PR description
This commit improve UX and usability of Amazon marketplace. - Compute name of account from marketplace so user don't explicitly need to type account name to create an account. - Add Pause and Resume action and button to connect and disconnect account. - Remove Marketplace and Products button from setting and display `Link my Account` when user don't any already existing account. - Improve account form view. - Add custom `New` button in list view instead main one to open quick create dialog instead form view. task-3627857
1 change
Enhancements to existing features
Accounting exception audits now show the full affected journal entry lines instead of individual audit messages, making the review easier to understand. Users can also audit exceptions even when the general audit trail setting is not enabled, improving access to important exception details.
Original PR description
On the exception form view is a button to audit the exception. Clicking displays the audit trail messages and only does so when the audit trail is activated in the settings. After this commit * We only show (all) the lines of the affected moves instead of the individual messages * Exceptions can be audited when the audit trail setting is not activated