Daily updates from Odoo
Navigate
Branch
Friday, January 18, 2019
12 changes
New functionality added to Odoo
Users can now complete certain scheduled activities by uploading the required file, turning file collection into a reminder-driven workflow. The change also standardizes how activities are marked done, making follow-up activity creation more consistent across the system.
Original PR description
https://www.odoo.com/web?debug#id=1915004&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
The Lunch app now supports easier self-service ordering, automatic supplier emails, and improved wallet tracking. This reduces manual work for lunch administrators while giving employees a friendlier way to order, reuse preferences, choose locations, and manage orders until arrival.
Original PR description
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
This update streamlines payroll and benefits work by removing extra popups, adding employee filtering, improving labels, and making payslip lists easier to search and process. Payroll officers can generate benefits and payslips faster, confirm multiple payslips at once, and navigate a clearer menu structure.
Original PR description
This commit improves general usability. Specification ============= Screens usability: 1/ Benefits 1.1/ Calendar - Add a sidebar filter to filter employees. The filters are saved per user. If no…
This commit improves general usability.
Specification
=============
Screens usability:
1/ Benefits
1.1/ Calendar
- Add a sidebar filter to filter employees. The filters are saved per user.
If no filter exists for the user the 'Everybody' filter should be true by default.
- Generate benefits when clicking on the menu -> remove the wizard (popup): generate benefits for all running contracts
- Once generated, don't show again the generate benefits button: only show the Validate button
- Generate Payslips button: remove the wizard. It generates payslip of validated benefits
and jumps to the payslip batch form view.
1.2/ Form:
- rename: Start into "From"
- rename: End into "To"
- rename: Hours into "Period" (add 'hours' as unit on the right of the field)
2/ Payslip
2.1/ Form:
- Remove Payslip stat button.
- a computed payslip should be editable
2.2/ List:
- show: Reference | Employee | Batch Name | From | To | Gross Salary | Net Salary | Status
- In action buttons add a "Confirm" to confirm multiple payslips
- add a quick search on contract
- filters: rename 'draft' into "To Compute"
- filter: add "To Confirm"
Menus:
1/ Salary Computation
- Benefits (object: hr.benefit ; view: calendar, list, form, pivot. Group: hr officer ; filters: group by employee in the view)
- Payslips (objetc: hr.payslip ; Views: list, form, pivot. Group: hr officer ; filters: last batch ; Sort: employee name alphabetically)
2/ Employee Payslips
- Batches (objetc: hr.payslip.run ; Views: list, form. Group: hr officer ; Sort: creation date (last one first)
- All Payslips (objetc: hr.payslip ; Views: list, form, pivot. Group: hr officer ; filters: no filters; Sort: employee name alphabetically)
3/ Configuration
- Settings
---Salary---
- Rules
- Structure
- Contributions Registers
---Benefits---
- Benefits Type
---Repository---
- Employees (list)
- Contracts
When a benefit linked to a leave is cancelled, it should refuse the leave.
When a payslip batch is deleted, also delete associated payslips.
+ Refactoring of benefit js to use "Odoo style" event binding.
TaskID: 1916136This 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
Fixes a website issue where users could no longer open the customize theme dialog after a recent editor update. This restores access to theme customization options, helping website managers adjust site appearance without disruption.
Original PR description
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the customize theme dialog was not opening anymore. This was due because, somehow, the editor's merge changed the theme dialog code for no reason.
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 website editor menu dialog has been restored after a recent editor update prevented it from opening. This lets website managers edit navigation menus normally again, avoiding disruption when maintaining site content.
Original PR description
* web_editor Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the website edit menu was not opening anymore. - Fix JS bug at initialization - Adapt JS code to target correct file which was renamed - Restore 4-months-old commit https://github.com/odoo/odoo/commit/f1ccc4978b140b2ffb888ef628b27a691dc023a0 - Adapt JS to get the menu label field using the new editor JS
This fix restores the ability to create and edit links that jump to a specific section on a webpage. It also makes the anchor option appear correctly when editing an existing link, reducing confusion for website editors.
Original PR description
Following the new editor's merge at https://github.com/odoo/odoo/pull/29775, the anchor link feature was not working anymore. This commit also fixes a feature behavior: when editing a link which already contained an URL, the anchor field was not shown directly.
This update corrects how surveys verify public users when creating responses and fixes a permission rule applied to the wrong survey record type. It helps ensure survey access behaves as intended and avoids incorrect visibility or creation checks.
Original PR description
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
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