Daily updates from Odoo
Wednesday, December 19, 2018
9 changes · master
Enhancements to existing features
Fleet vehicle reminders are now scheduled 30 days before the relevant date instead of 15 days. This gives teams more lead time to plan renewals, maintenance, or other vehicle-related actions and reduces the risk of last-minute follow-up.
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 removes a payroll accounting field that was not being used. It simplifies the module slightly and reduces clutter without changing day-to-day payroll accounting behavior.
Original PR description
This field seems to be never used. 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 change makes default values in Point of Sale configurations easier to customize when importing setup data. It helps businesses load configuration records under the appropriate user context instead of being limited to the system administrator behavior.
Original PR description
## Description of the issue/feature this PR addresses: In case of import of data in pos.config you may want your data being inserted with another user than superadmin. This fix allows to manage the behavior by make it possible to override these methods ## Current behavior before PR: default field methods are NOT overridable in pos.config ## Desired behavior after PR is merged: default field methods ARE overridable in pos.config useful in inserted data -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users in debug mode can now update the OdooBot state field shown in their preferences. This resolves a mismatch where the setting was visible but could not be changed, improving administrative consistency.
Original PR description
Before this commit it was imposible to write on odoobot_state even though it is showed in user preferences (debug mode) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fixes a display issue where dragging kanban cards with cover images created extra blank space, making it harder to place cards accurately. Users can now reorder image-based kanban records more reliably without accidentally opening the record after dragging.
Original PR description
While dragging kanban record which have a cover image set, the kanban view creates extra space, which makes it difficult to properly target a position. This is because of a jquery.ui issue for…
While dragging kanban record which have a cover image set, the kanban view creates extra space, which makes it difficult to properly target a position. This is because of a jquery.ui issue for sortable when helper=clone is used. In that case, then jquery.ui sortable will create a clone of current element after hiding it. Note that jquery.ui tries to get height to current dragged element after making it hidden(display: none) and display: none, so the element does not return actual height and hence it gives innerHeight which considers height of the image also and extra space is generated. An alternative solution is to add start event in sortable option and 1) show ui.item 2) get height of the element and 3) hide ui.item, which gives proper height of the current dragged element But removing helper=clone will also fix the issue and is not actually required. Note that some special care had to be done to prevent the click from the drag and drop operation to actually open the record. Related to task: #1865788 Closes: #25734 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 change corrects how cells are highlighted when users move the mouse over pivot tables. It makes data exploration clearer and avoids confusing visual feedback in reporting views.
Original PR description
Task: https://www.odoo.com/web#id=1916889&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.fd5456734abb79ff758d4ef413645749 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue in Sign where editing a PDF template could trigger a browser error because a script was loaded more than once. Users should have a smoother experience when opening and editing PDF templates, with the needed styling still applied correctly.
Original PR description
Task: https://www.odoo.com/web?#id=1889748&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.1ecfa1ac872613749b4ca8797cb61c11
Code cleanup and technical improvements
This update reorganizes internal JavaScript customizations in Email Marketing to make the views easier to maintain and less fragile. It also keeps drag-and-drop available in more kanban situations, only disabling it for specific groupings where it should not be used.
Original PR description
Task #1909424 The mass_mailing module used a lot of JS "include" to override the behavior of the kanban view and the html_frame widget. This commit cleans the overrides by using proper inheritance with "extend" instead of "include". It also slightly changes the current behavior of the mass_mailing kanban view to disable the drag and drop feature only when the view is grouped by "state" or "email_from". (Before this commit, the drag and drop feature was disabled for ALL fields). -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update cleans up internal code used by mass mailing screens, making the email campaign views easier to maintain. It also makes campaign board drag-and-drop more flexible by only disabling it for specific groupings where moving items could be inappropriate.
Original PR description
Task #1909424 Community commit: afa71a4ec8d8383e15a8579d49ac31a8483eadbb The mass_mailing module used a lot of JS "include" to override the behavior of the kanban view and the html_frame widget. This commit cleans the overrides by using proper inheritance with "extend" instead of "include". It also slightly changes the current behavior of the mass_mailing kanban view to disable the drag and drop feature only when the view is grouped by "state" or "email_from". (Before this commit, the drag and drop feature was disabled for ALL fields).