Daily updates from Odoo
Tuesday, March 3, 2020
6 changes · master
Resolved issues and error corrections
This fix ensures stock movements keep the same operation type consistently during processing. It helps prevent mismatched warehouse transfer behavior and reduces the risk of incorrect stock handling.
Original PR description
Description of the issue/feature this PR addresses: Normalise picking_type @sle-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures systray items in the web interface are properly recognized as attached to the page. It prevents embedded interface components from missing their setup step, so their interactions and event handling work as expected.
Original PR description
Currently, the method `on_attach_callback` is never called on any Widget in the systray. Calling `on_attach_callback` is required if any systray widget uses an OWL component via the ComponentWrapper. Without the callback, the component is never considered mounted to the DOM and no event handler is triggered. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where the timesheet timer option could be incorrectly enabled or disabled when creating a project. The timer setting now consistently follows whether timesheets are allowed, helping avoid confusing project setup behavior.
Original PR description
The 'allow_timesheet_timer' field should not have a default value as it is computed according to the 'allow_timesheets' field value. Some tests have been added to check the coherency between 'allow_timesheets' and 'allow_timesheet_timer' fields, at project creation and update. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes how timesheet timer availability is set when creating Field Service and Helpdesk-related projects. The timer setting now follows whether timesheets are allowed, helping teams avoid incorrect timer behavior and keeping project setup consistent.
Original PR description
The way to compute the 'allow_timesheet_timer' field was wrong. This field strongly depends on the 'allow_timesheets' field value and not directly on the 'is_fsm' field value. That's why, now: - 'allow_timesheets' is computed according to the 'is_fsm' field value. - 'allow_timesheet_timer' is computed according to the 'allow_timesheets' field value only. -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](www.odoo.com/submit-pr)
Fixed an issue where some items in the top navigation systray could fail to fully activate after appearing on the page. This ensures interactive controls in that area respond properly, improving reliability for users without changing their workflow.
Original PR description
Currently, the method `on_attach_callback` is never called on any Widget in the systray. Calling `on_attach_callback` is required if any systray widget uses an OWL component via the ComponentWrapper. Without the callback, the component is never considered mounted to the DOM and no event handler is triggered.
Customers now see a Close Subscription button in the portal when their subscription template allows customer closure. This fixes a missing action so eligible customers can end subscriptions without needing staff assistance.
Original PR description
Purpose Even when the template is selected as Closable by customer, Close Subscription button should appear on front end. Task-2178367