Daily updates from Odoo
Friday, February 2, 2024
4 changes
1 change
Enhancements to existing features
Record merges will no longer add irrelevant technical fields to the activity log. This keeps merge history easier to read and reduces the chance that sensitive technical details, such as access tokens, appear in chatter messages.
Original PR description
When merging two records, all of the fields of the merged record are logged into the master record chatter. We filter out some fields, such as file fields or fields with access rights, but there are still many irrelevant technical fields and even some potentially sensitive fields (access tokens, etc.) being logged. Moreover, with [the introduction of the export_string_translation field flag](https://github.com/odoo/odoo/pull/142329), those fields could not even be translated anymore. The goal of this PR is to exclude fields with the export_string_translation flag set to true from the chatter logs to reduce clutter. Task-3716421
3 changes
Enhancements to existing features
This update improves how subscription invoices are handled when payments are pending. Previously, invoices were posted immediately even when the payment transaction was still pending, which could cause processing issues. Now, invoices remain unposted until the payment is confirmed, ensuring cleaner financial records and preventing duplicate processing attempts.
Original PR description
Before this commit, when a pending transaction was created for a subscription payment, the invoice was posted and the pending_transaction flag remained. After this commit, the invoice is not posted and the flag prevent the cron to process the contract again. taskid: 3685013
The Sign module now requests high-accuracy GPS coordinates when capturing a signer's location. While this may take 20-30 seconds longer, it provides much more precise location data using built-in device GPS rather than quick WiFi-based estimates. This ensures reliable location records for signed documents, which is more important than speed since signers typically have time to wait before submitting their signature.
Original PR description
The Location API allow developpers to specify options when requesting a device's location - notably, it can request 'high accuracy' positioning. By default, 'high accuracy' is set to false so that…
The Location API allow developpers to specify options when requesting a device's location - notably, it can request 'high accuracy' positioning. By default, 'high accuracy' is set to false so that the location API returns a position *quickly*. We can assume that it will return a position based on e.g. WiFi networks it sees around it and an API call to a location provider like Google, Apple, Here, etc. Setting 'high accuracy' to high will make this process much slower (20-30s is not gonna be an exception), but it means that devices with built-in GPS will usually provide an far more precise location. In Sign, it's rather important to have reliable data rather than a quick process. Assuming a person signing something for real, it's safe to assume that the browser will have the time to provide a precise position before the user submits their signature. If not, the position will simply not be saved. opw-3677499 Forward-Port-Of: odoo/enterprise#55588 Forward-Port-Of: odoo/enterprise#55411
The Invoice Analysis report now includes two new measures to help businesses better understand their financial performance: a "Margin" measure that shows profit on each invoice line based on product costs, and an "Inventory Value" measure that tracks inventory valuation changes. A new "Inventory Valuation" filter has also been added to view inventory value trends by product and month, providing simplified inventory tracking without requiring the full Inventory app.
Original PR description
In order to better analyze profitability, we added an extra measure to the Invoice Analysis report to show the "Margin" on every invoice line based on the product cost price. In order to have a simplified inventory valuation without fully using the Inventory app, we also added an "Inventory Value" measure that also uses the product cost price to show the change in inventory value based on incoming and outgoing accounting documents. An extra filter "Inventory Valuation" was added as well to show the "Inventory Value" values per storable product and per month. [task-3708415](https://www.odoo.com/web#id=3708415&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr