Daily updates from Odoo
Tuesday, January 7, 2025
4 changes · master
Enhancements to existing features
Users can now open spreadsheet attachments directly in the spreadsheet application from the attachment list. This makes it faster to access and edit spreadsheet files without extra steps, improving day-to-day document workflows.
Original PR description
This commit makes it possible to open spreadsheet attachments directly in the spreadsheet application, facilitating the process of accessing and editing spreadsheet documents from the attachment list. task-3829519
Standard project users will no longer see certain field service report actions or a map alert that could lead to access errors. This makes the project and field service experience clearer by only showing options users can actually use.
Original PR description
_*=industry_fsm_report Purpose: ==== Enhance user experience preventing access errors,by hiding specific actions and bootstrap map view alert for project users. Changes: ======= Hide actions for group project user - Hide the bootstrap alert in the map view - Hide the Send Report action - Hide the Field Service Report action task-3814575
Mexican CFDI information is now visible in account move lists beyond outgoing invoices, helping teams review vendor and other accounting documents more easily. Payments also show the fiscal folio, making it simpler to identify and reconcile CFDI-related payment records.
Original PR description
Allow viewing CFDI information in the list view for all account moves, not only outgoing invoices. Also, display the fiscal folio as part of the CFDI information in payments.
This update consolidates how products are added to the shopping cart across rental, subscription, delivery, and website sales flows. It makes future changes easier to maintain and helps provide a more consistent checkout experience for customers.
Original PR description
*: sale_renting, sale_subscription, website_delivery_sendcloud, website_sale_renting, website_sale_stock_renting, website_sale_subscription. Adapt to community changes: Cart updates were scattered…
*: sale_renting, sale_subscription, website_delivery_sendcloud, website_sale_renting, website_sale_stock_renting, website_sale_subscription. Adapt to community changes: Cart updates were scattered across multiple areas, with the most advanced implementation residing in the WebsiteSale widget. This fragmented approach made it challenging to override or extend functionality, as developers had to implement changes in various locations and consider multiple dependent processes, such as triggering configurators or handling notifications. Additionally, snippets often required extending the entire WebsiteSale widget logic instead of just public widget's, leading to heavier load times and unnecessary complexity. To address this, the 'Add to Cart' logic has been extracted into a dedicated, easily overridable service. This new tool can be invoked from any public widgets or OWL components, streamlining and centralizing the cart update process. <details> <summary>CLOC</summary> ``` cloc-2.02.pl --include-lang="Python,Javascript,xml" --git --diff master master-website_sale-poc_add_to_cart-vcr ``` ``` ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- JavaScript same 0 0 83 674 modified 14 0 4 40 added 0 1 21 19 removed 3 5 5 61 Python same 0 0 33 433 modified 7 0 0 1 added 1 7 3 53 removed 0 7 6 51 XML same 0 0 3 460 modified 1 0 0 1 added 0 0 0 0 removed 0 0 0 0 ------------------------------------------------------------------------------- SUM: same 0 0 119 1567 modified 22 0 4 42 added 1 8 24 72 removed 3 12 11 112 ------------------------------------------------------------------------------- ``` </details> Related PRs: - https://github.com/odoo/odoo/pull/158473 - https://github.com/odoo/upgrade/pull/6923 task-3820946