Daily updates from Odoo
Friday, January 18, 2019
5 changes · master
Enhancements to existing features
This update lets Odoo intentionally reuse the same many-to-many relationship for multiple fields on a model, making it easier to show the same related records in different filtered views. It also adjusts internal handling so these shared relationships work correctly when data is linked back from the other side.
Original PR description
This allows a model to have several fields using the same relation on purpose, for instance to show the related items filtered by domains. Also adapt the code to handle multiple many2many inverses.
Resolved issues and error corrections
This fix restores the ability to save opacity settings when choosing website colors. It ensures that transparency choices made in the website editor are preserved, avoiding unexpected differences between what users select and what appears on the site.
Original PR description
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the colorpicker still allowed to choose an opacity for website colors but this was ignored when saving. Somehow lost the website part of https://github.com/odoo/odoo/commit/5ba0216b746a16b4609bc9c147fcacad109e969a
The work order worksheet view now only includes work orders that actually have a worksheet attached. This prevents users from seeing an error when opening the worksheet PDF viewer for work orders without worksheets.
Original PR description
- When we're trying to see the worksheet view under the work order, we're getting **trace back (error)** because of no worksheet is attached to the work order. - After this changes, only the work order which are having the worksheet will only be available under worksheet view so that we will not get any trace back. Master bug: https://www.odoo.com/web#id=1915066&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.09a86c223fb1a910f1658f8554738fb9
Code cleanup and technical improvements
The website module’s internal code has been split into separate files while preserving its development history. This does not introduce visible functional changes, but it should make future maintenance and updates easier for developers.
Original PR description
Purpose of this merge commit is to split main class by file and keep history
The VoIP module was updated to match recent changes in how activities are marked as done in the core Odoo system. This keeps VoIP activity handling compatible, including activities completed by uploading a document, with no expected change to everyday user behavior.
Original PR description
This commit uniformize the "mark as done" method for activity. The change is done in comminuty edition, so adaptations are required here. No functionnal change should be observed as this is purely technical. Task-1915004