Daily updates from Odoo
Navigate
Branch
Tuesday, December 24, 2019
17 changes
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
Adds a new Product Catalog building block for website pages, giving users a more polished and reusable way to showcase product menus or catalogs. This replaces reliance on older, theme-specific menu snippets and should make page building more consistent across websites.
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
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.
Website editors can now choose a smaller content width in addition to regular and full-width layouts. Blog pages use the same width setting, helping keep website and blog layouts visually consistent.
Original PR description
This commit adds the width of blog posts to the "Stretch" snippet option (previously, only full width aka container-fluid and regular container were allowed, hence the name), as such it has been renamed to width. Some code in website_blog has been adapted to reuse that class, such that the width of the small container can be adjusted and website and website blog will stay consistent with one another. task-2155513
eLearning course maintainers can now let learners download PDF or image lesson content directly from the viewer. They can also attach extra lesson resources, such as ZIP files or supporting materials, making course content easier to share and reuse.
Original PR description
…ditional resources You can now allow the user to download the slide content. A new icon will be visible next to the fullscreen button on the pdf viewer. You can also add additional resources to a slide which will be available to download for the user. Task ID : 2066741 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sales teams can optionally show the Product Variant field when using the product configurator. This makes it faster to enter or scan specific variant SKUs directly, avoiding unnecessary configurator steps for products that do not need them.
Original PR description
Task: https://www.odoo.com/web?#id=2082126&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.d64ea398e839239a784a07bda5093f35 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
Quiz creators can now add comments to each answer so learners see why an answer is correct or incorrect after responding. This helps improve learning feedback and can be managed from both the backend and website editor.
Original PR description
…a quiz The quiz creator will now be able to comment the answers to inform the frontend user why his answer is correct/incorrect. He will be able to add the comments both in backend and frontend. Task ID : 2072566 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Employee records now include last and next appraisal dates, making it easier for HR teams to track review timelines. The next appraisal date is set automatically when an employee is created and can be adjusted if the start date or onboarding timing requires correction.
Original PR description
The hr.employee module now has a last_appraisal_date and a next_appraisal_date field to better manage appraisals. The next_appraisal_date is generated upon the creation of an employee and is the creation date + the maximum duration between appraisals. It is editable so that it can be corrected when the employee form is created before the employee starts working in the company. Task-2154738
Studio now lets users turn on bulk editing for list views from the sidebar. This makes it easier for teams to update multiple records at once without needing technical configuration, and also includes a clearer label for showing hidden elements.
Original PR description
Task:https://www.odoo.com/web?debug=1#id=2082842&action=333&active_id=1251&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.8eb88670ac7ffec1e219687d595970a1
Resolved issues and error corrections
If PayPal auto return is disabled, Odoo may receive no payment data when customers return from PayPal. This fix prevents an internal server error and redirects customers to a proper error page instead, creating a clearer checkout experience.
Original PR description
When configure of auto return in paypal is off and due to that Payment data transfer is also off so in this case we are not getting any data on return url so i think this is the paypal configuration error but even though it should not give the internal server error (traceback) instead if not data found then redirect to error page. Please check configuration of paypal at: Settings -> My selling tools -> Website preference -> Auto return task-1997961 pad link- https://pad.odoo.com/p/r.390991ba2d29a56232ba3abdc58ec8a3
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