Daily updates from Odoo
Friday, December 6, 2019
14 changes
Resolved issues and error corrections
The Mail settings wording was updated to better describe what the External Email Server option does. This helps users understand that disabling the option does not stop external email servers from being used, reducing confusion in configuration.
Original PR description
The wording was "Use" but when you disable it the option, they don't stop being used. opw-2152288
This fixes an error that could appear when users clicked an input in the website editor's left panel. The change removes an outdated event hookup so editing controls behave reliably again.
Original PR description
I removed a handler without removing the event binding by mistake...
This fix removes an unnecessary style that caused color icons in the website editor to appear inconsistently. Users choosing colors in the editor now see clearer, uniform square icons, making the editing experience more predictable.
Original PR description
Description of the issue/feature this PR addresses: Task : https://www.odoo.com/web#id=2151416&action=327&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
Code cleanup and technical improvements
This change streamlines how website information is passed during theme installation. It is an internal cleanup that helps ensure theme setup steps apply to the correct website and supports more consistent future behavior.
Original PR description
Before this commit, the website was given as a parameter of the
_post_copy function which is called after theme install. It was then
transfered through the context when calling the theme sub' post_copy
function.
It makes actually more sense to directly call the _post_copy function
with the right website in the context instead of a parameter. This will
also allow to call enable_view/disable_view in the default post_copy
common to all theme, with the right website.Miscellaneous changes
followup of rev [0] If these wizards are called on multiple pickings, display the list of the pickings that could be impacted and allow to select which one should be impacted. We also adapt the sanity checks at the start of `button_validte` in order to specify the concerned pickings if needed. We do not enable the multi behavior for batch at the moment, so it's only enabled for the validate multi in the list view. [0] 6ab4b0d4967490ed1ee0559ec296da6637705125 task-2069646 Forwar
Original PR description
followup of rev [0] If these wizards are called on multiple pickings, display the list of the pickings that could be impacted and allow to select which one should be impacted. We also adapt the sanity checks at the start of `button_validte` in order to specify the concerned pickings if needed. We do not enable the multi behavior for batch at the moment, so it's only enabled for the validate multi in the list view. [0] 6ab4b0d4967490ed1ee0559ec296da6637705125 task-2069646 Forward-Port-Of: odoo/odoo#41475
Parallax elements are overflow:hidden so that their moving background does not overflow. This introduces a limitation: no dropdown can overflow the snippet either. While a better solution should be found in master, this allows overflow for the "fixed" parallax which does not use an overflowing background. opw-2091324 Forward-Port-Of: odoo/odoo#41471 Forward-Port-Of: odoo/odoo#41455
Original PR description
Parallax elements are overflow:hidden so that their moving background does not overflow. This introduces a limitation: no dropdown can overflow the snippet either. While a better solution should be found in master, this allows overflow for the "fixed" parallax which does not use an overflowing background. opw-2091324 Forward-Port-Of: odoo/odoo#41471 Forward-Port-Of: odoo/odoo#41455
Writing barcode on a template will only write it on the variants if the variant count is 1. Make the field readonly on the view according to this condition. Forward-Port-Of: odoo/odoo#41462
Original PR description
Writing barcode on a template will only write it on the variants if the variant count is 1. Make the field readonly on the view according to this condition. Forward-Port-Of: odoo/odoo#41462
You can use has_group(employee) instead + fix enumerate_page: when you search a page with visibility constraints, you never seen it even if force was set to True. task-2091365 again 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 Forward-Port-Of: odoo/odoo#41459
Original PR description
You can use has_group(employee) instead + fix enumerate_page: when you search a page with visibility constraints, you never seen it even if force was set to True. task-2091365 again 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 Forward-Port-Of: odoo/odoo#41459
- Go to Contacts - Search by 'Tag' with a non existing tag A crash occurs. This is because of an incorrect SQL: `WHERE "category_id" IN ()` In case of an empty list `ids2`, we fall back on `(None,)` Note that it appears only in v13 because `child_of` was added at [1], but the issue also exists in v12. [1] https://github.com/odoo/odoo/blob/b6325ae45b830a725f6ab6706b70f65c809be4a7/odoo/addons/base/views/res_partner_views.xml#L471 opw-2151129 Description of the issue/featu
Original PR description
- Go to Contacts - Search by 'Tag' with a non existing tag A crash occurs. This is because of an incorrect SQL: `WHERE "category_id" IN ()` In case of an empty list `ids2`, we fall back on `(None,)` Note that it appears only in v13 because `child_of` was added at [1], but the issue also exists in v12. [1] https://github.com/odoo/odoo/blob/b6325ae45b830a725f6ab6706b70f65c809be4a7/odoo/addons/base/views/res_partner_views.xml#L471 opw-2151129 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 Forward-Port-Of: odoo/odoo#41451
MAke sure to always set the expiration date of a coupon. opw-2151284 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 Forward-Port-Of: odoo/odoo#41448
Original PR description
MAke sure to always set the expiration date of a coupon. opw-2151284 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 Forward-Port-Of: odoo/odoo#41448
OPW 2151580 There is a needed font for the swiss IRS report: OCR-B. This commit ensures it is used. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#41428
Original PR description
OPW 2151580 There is a needed font for the swiss IRS report: OCR-B. This commit ensures it is used. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#41428
Search bank account with company to handle the case where the res.partner.bank is defined in several companies. Without this commit, a Value error was raised because we expect only one record returned. Description of the issue/feature this PR addresses: opw-2128323 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 Forward-Port-Of: odoo/odoo#41441
Original PR description
Search bank account with company to handle the case where the res.partner.bank is defined in several companies. Without this commit, a Value error was raised because we expect only one record returned. Description of the issue/feature this PR addresses: opw-2128323 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 Forward-Port-Of: odoo/odoo#41441
Create a new contact (just open the create form) The "Language" field is missing, because active_lang_count is not computed before the record is saved, but it is necessary to display the language field opw-2149324 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#41162
Original PR description
Create a new contact (just open the create form) The "Language" field is missing, because active_lang_count is not computed before the record is saved, but it is necessary to display the language field opw-2149324 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#41162
A method was renamed in the accounting module and the change was not mirrored in this module. Forward-Port-Of: odoo/enterprise#7099
Original PR description
A method was renamed in the accounting module and the change was not mirrored in this module. Forward-Port-Of: odoo/enterprise#7099