Daily updates from Odoo
Tuesday, December 24, 2019
9 changes · master
New functionality added to Odoo
The Polish localization now includes Poland’s regional subdivisions for use in addresses. This helps businesses using Odoo in Poland keep address data more complete and consistent without changing global country settings.
Original PR description
Description of the issue/feature this PR addresses: Add the Polish states into the Polish module Current behavior before PR: The states aren't in Odoo Desired behavior after PR is merged: The states are in Odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enhancements to existing features
This update cleans and streamlines CRM-related automated tests while improving support for simulating incoming emails in test tools. It helps prepare the CRM module for upcoming internal changes with lower risk and better test coverage.
Resolved issues and error corrections
This fixes an issue that prevented users from editing email body content in the mass mailing editor when debug mode was enabled. The editor now shows the proper toolbar so users can update mailing content reliably.
Original PR description
Replace options.toolbar by options.airPopover since options.toolbar is undefined This change allows to edit the body even in debug mode and to display the according toolbar. task-2126203 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
Code cleanup and technical improvements
This update removes unused CRM scoring code and reorganizes related files to make future maintenance easier. It does not introduce new user-facing features, but helps keep the CRM website scoring area simpler and more reliable for future improvements.
Miscellaneous changes
Task: https://www.odoo.com/web#id=2128944&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.9c92db1dfe84a9e66e170fc122e70d5e Befor this commit, when we Create Customer from Wesite and try to grant portal access to the customer at this time it's generate error because they give not proper comapny reference. After commit, In this commit,we set a proper reference(self.env.company.id) so customer form website able to access grant portal. Descript
Original PR description
Task: https://www.odoo.com/web#id=2128944&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.9c92db1dfe84a9e66e170fc122e70d5e Befor this commit, when we Create Customer from Wesite and try to grant portal access to the customer at this time it's generate error because they give not proper comapny reference. After commit, In this commit,we set a proper reference(self.env.company.id) so customer form website able to access grant portal. 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#41476
Before this, when we printed a ticket for the kitchen, if we went back to the table management and go back to the order, we could re print the same product. Now, we can only reprint the order if there is something different. Task-id: 2123029 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#40620
Original PR description
Before this, when we printed a ticket for the kitchen, if we went back to the table management and go back to the order, we could re print the same product. Now, we can only reprint the order if there is something different. Task-id: 2123029 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#40620
Channel allow to browse slides and a list of available slide is displayed as a left panel in the eLearning frontend. Even slides current user cannot see are displayed in order to give some information about course content. Accessible slides are clickable, other slides should be displayed as strings. However due to some sudo when computing slide informations all links are set as clickable. There is no security issue as when being redirected to a slide the user cannot access there is an a
Original PR description
Channel allow to browse slides and a list of available slide is displayed as a left panel in the eLearning frontend. Even slides current user cannot see are displayed in order to give some information about course content. Accessible slides are clickable, other slides should be displayed as strings. However due to some sudo when computing slide informations all links are set as clickable. There is no security issue as when being redirected to a slide the user cannot access there is an acl error. However he should not have the links displayed, just strings. This commit fixes that behavior. 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#42333
SPECIFICATIONS Fixes following issue: when a lead is marked as lost, the probability is correctly set to 0 but not the automatic one. If one clicks on the "Set to automatic", the probability is updated, which un-archives it without really restoring it, meaning we get in a very strange state outside the expected flow (no Won/Lost buttons, ...). With this commit the automated probability is set to 0 when setting as lost. Moreover restoring a lead recomputes its probabilities. LINKS
Original PR description
SPECIFICATIONS Fixes following issue: when a lead is marked as lost, the probability is correctly set to 0 but not the automatic one. If one clicks on the "Set to automatic", the probability is updated, which un-archives it without really restoring it, meaning we get in a very strange state outside the expected flow (no Won/Lost buttons, ...). With this commit the automated probability is set to 0 when setting as lost. Moreover restoring a lead recomputes its probabilities. LINKS Related to Task ID 2092799 (not really spec, spotted while working on it) PR odoo/odoo#42015 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#42045
If the appraisal_date of an employee is not fixed, it is now set to the start date of the first contract to which we add the maximum number of months between appraisals. If hr_contract is not installed, we use the creation date of the employee instead. A related field is added to hr_employee to change this date if the one set by the cron is not correct. Task-2154738 Forward-Port-Of: odoo/enterprise#7397 Forward-Port-Of: odoo/enterprise#7283
Original PR description
If the appraisal_date of an employee is not fixed, it is now set to the start date of the first contract to which we add the maximum number of months between appraisals. If hr_contract is not installed, we use the creation date of the employee instead. A related field is added to hr_employee to change this date if the one set by the cron is not correct. Task-2154738 Forward-Port-Of: odoo/enterprise#7397 Forward-Port-Of: odoo/enterprise#7283