Tuesday, January 18, 2022
7 changes · master
Enhancements to existing features
This update makes image processing more reliable when images are used across website, portal, and content features. It helps reduce errors when resizing or serving images, improving consistency for users managing online pages and media.
The SMS composer warning message was simplified by removing the record count and adjusting the wording. This makes the message easier for users to understand without changing the underlying SMS sending behavior.
Original PR description
removed the first line from header warning of sms composer and done some wording changes in header warning. Task-ID-2728556
Odoo now supports country-specific rules for when commercial invoices are required for deliveries. For Indian localization, commercial invoices are always generated for shipments from India, helping businesses meet local shipping documentation requirements even for domestic deliveries.
Original PR description
Usually we want to create commercial invoices in case the warehouse is in a different country than the recipient. However, some countries like India need those documents for internal shipping as well. The added function can easily be overriden in a dedicated module for the countries that require such a commercial invoice. When the method `_should_generate_commercial_invoice` is called and the Indian localisation is active, the function should return True. When using delivery providers, with the ship_from country is IN, the commercial invoice information is mandatory. The indian law demands a commercial invoice when using shipping methods: https://cleartax.in/s/commercial-invoice/#:~:text=Shipping%20bill-,Time%20Limit%20for%20Raising%20a%20Commercial%20Invoice%20Under%20Indian%20Law,additional%20information%20may%20be%20necessary. related PR: https://github.com/odoo/enterprise/pull/23124 task-2701428
This update removes an unused internal reference from the mail composer screen. It does not change how users compose messages, but it helps keep the code simpler and easier to maintain.
This update modernizes internal parts of Odoo's Mail interface, including chats, messages, dialogs, attachments, emojis, and autocomplete inputs. It helps keep the messaging experience reliable and easier to maintain, with minimal direct change for end users.
Original PR description
Task-2694206
Odoo Sign now handles automatically filled fields linked to multiple related records without causing an error. It selects the most relevant related record and adds validation to catch incorrect field setup earlier, reducing configuration mistakes and signing disruptions.
Original PR description
In sign it is possible to link sign items to partner fields by setting the auto_field field in sign.item.type. However when linking x2many fields, a traceback occurs since it tries to access one field on a recordset with many records. This PR prevents the traceback by filtering the highest priority record from the recordset (defined by active and id values as defined in the spec) and using it to return the property. task-2658338
Additional checks were added to ensure spreadsheets continue to display correctly inside the document composer. This helps prevent unwanted layout issues such as extra scrollbars, keeping the user experience smooth when working with spreadsheets in Odoo Documents.
Original PR description
This commit adds some test to be sure the composer is still behaving correctly when spreadsheet is added to Odoo. typically it veryfies no scrollbars are added around the sheet. task-id: 2643873