Daily updates from Odoo
Monday, August 5, 2019
8 changes · master
New functionality added to Odoo
Products can now store a Country of Origin, which is automatically copied to invoice lines when the product is selected. This helps Belgian Intrastat reporting capture required origin information more consistently and reduces manual entry.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1967762&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.cc27789e4aaa790d105dfc63532e1a01
Enhancements to existing features
This update adds a dedicated tax group widget on invoices and journal entries, making it easier to adjust grouped tax amounts when rounding is needed. It helps accounting users manage tax totals more accurately directly from the document screen.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Online appointments now open by default in a kanban-style view, making scheduled events easier to scan and access. The list view also shows appointment locations and displays assigned employees more clearly, helping teams find key details faster.
Original PR description
Purpose ======= Setup a kanban view to easily jump to scheduled calendar events of type online appointments. Specification ========== set kanban as default view https://nimb.ws/bMDBLP in listview, add 'location' field after 'name' + set many2many_tags widget on 'employee_ids'
Financial reports can now be filtered by operating unit, giving businesses a clearer view of results for specific operational areas. If no operating unit is selected, reports continue to show the relevant company data, while selected units narrow the report to matching records.
Original PR description
Task: https://www.odoo.com/web#id=1917619&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.9da01f115c928cde4b8eb85243999c84 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
Resolved issues and error corrections
Updating follower notification preferences no longer closes the preferences menu or causes unwanted page scrolling. This makes it faster and less frustrating for users to adjust multiple notification options, while also reducing unnecessary background calls.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=1960834&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.7b2f7840a5ff2e4d6f5e50dc8353124b 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
This change prevents Gantt view date-based totals from generating an invalid data request that could cause the view to fail. Business users benefit from more reliable planning and reporting when viewing aggregated values by date.
Original PR description
When aggregating a field x per date, the generated read_group contained field:date in the fields list as well as in the group by list. The one in the fields list make read_group crash. Internally, some data of the gantt views are indexed by field or by field:date
Features or functions removed from Odoo
Odoo removed an old shortcut used to rename database fields because it did not fully preserve related setup data, defaults, or translations during upgrades. This reduces the risk of incomplete or misleading upgrade behavior across multiple business apps, but may require more explicit migration handling for renamed fields.
Original PR description
This attribute is misleading as it is insufficient to correctly upgrade the database. It only renames the column in the database, but other operations are needed, like updating the corresponding `ir.model.fields` record (and its xmlid). The default values and the translations are also lost during the upgrade. Moreover, this feature was misused. It was: - left on fields during multiple versions. - used on reports (SQL views). This would be ok if the feature was complete, but, as is, it was useless. - kept unchanged after a second renaming of the field (which can happen versions later the first rename). - used, even when the meaning of the field changed. i.e. the field `archived` has been renamed to the classic `active`, but the value in the database should be switched.
Code cleanup and technical improvements
Product links across the website now use the proper product-specific web address, helping visitors land on the correct product page. Website images are also generated through the standard image URL method instead of fixed links, improving consistency and maintainability across website pages.
Original PR description
Some product links were not using website_url, now that we have an url for product.product we should use that one to reach the right product. Some image links were hard coded in the xml views of website, now they are replaced with website.image_url(model, field). Task: #2007400 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr