Daily updates from Odoo
Friday, July 26, 2019
18 changes · master
Enhancements to existing features
The manufacturing demo instructions for producing a Table (MTO) have been updated so the worksheet pages follow the revised step order. This makes the demo flow easier to follow and avoids users jumping backward and forward through the instruction file.
Original PR description
The demo data for the quality points for producing a Table (MTO) was changed. The order of the quality points changed, but not the pages they need to scroll to. So changed the pages to scroll too, such that you always scroll further in the file. Task ID : 1893502 Description of the issue/feature this PR addresses: Task ID - https://www.odoo.com/web#id=1893502&action=327&model=project.task&view_type=form&menu_id=4720 Pad - https://pad.odoo.com/p/r.625cacc87571d9af2fadc903679c9a7f 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
Purchase order and quotation reports are now structured to make them easier to customize in add-on modules. This helps businesses adapt purchasing documents to their own layout or information needs with less development effort and lower maintenance risk.
Original PR description
**Description of the issue/feature this PR addresses:** In a custom module, suppose you extend the purchase report template using inherit. Then if you want to add `<tr>` tags it's difficult if there is a `<tr t-foreach=` and you are forced to do a xpath replace. To avoid that, this PR adds the same trick as [sale report](https://github.com/odoo/odoo/blob/11.0/addons/sale/report/sale_report_templates.xml#L97-L98). **Current behavior before PR:** Purchase reports lack some extensibility. **Desired behavior after PR is merged:** Extensibility of purchase reports are improved. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds internal labels to key e-learning and lead generation page elements, making them easier for implementers to target when customizing views. It does not change the visible user experience, but it reduces effort and risk when tailoring these pages for specific business needs.
Original PR description
Description of the issue/feature this PR addresses: Creating `xpath` expressions into the e-learning its main view is rather tricky. Current behavior before PR: The main elements have no `name` attribute, which makes it harder to modify/inherit the view. Desired behavior after PR is merged: There are `name` attributes on the main elements so it is easy to modify the view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several Odoo form screens now include the standard sheet layout, making them render more consistently with the rest of the application. This is a small visual improvement that helps users see cleaner, more predictable forms in affected areas such as marketing tracking and e-learning content.
Original PR description
Description of the issue/feature this PR addresses: There are no `<sheet>` items set on a few form view in Odoo. Current behavior before PR: No `<sheet>` on the form views. Desired behavior after PR is merged: `<sheet>` set on the form views. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds labels to key parts of the CRM lead mining view so they are easier to identify and customize. It helps implementers adapt the view more reliably without changing what end users see.
Original PR description
Description of the issue/feature this PR addresses: Creating `xpath` expressions in the leaning mining view is rather tricky. Current behavior before PR: The main elements have no `name` attribute, which makes it harder to modify/inherit the view. Desired behavior after PR is merged: There are `name` attributes on the main elements so it is easy to modify the view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The stock replenishment flow now allows the source document text "Manual Replenishment" to appear in the user's language. This helps international teams, such as Chinese users, see clearer localized wording on generated purchase requests.
Original PR description
Description of the issue/feature this PR addresses: Let "Manual Replenishment" translatable. Current behavior before PR: Use the button Replenish on product form view. A new Requests for Quotation is created with Source Document set to "Manual Replenishment". Desired behavior after PR is merged: Use the button Replenish on product form view. In China, A new Requests for Quotation is created with Source Document set to "手动补给". -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Demo work order and quality check data for make-to-order table production now follows the correct page order in the worksheet. This makes the sample manufacturing flow clearer and easier to follow for users exploring or demonstrating the process.
Original PR description
…e (MTO) WorkOrder.
The demo data for the quality points for producing a Table (MTO) was changed. The order of the quality points changed, but not the pages they need to scroll. So changed the pages to scroll too, such that you always scroll further in the file.
And then again changed the page number in the demo data according to the pages.
Task ID : 1893502
Task - https://www.odoo.com/web#id=1893502&action=327&model=project.task&view_type=form&menu_id=4720
Pad- https://pad.odoo.com/p/r.625cacc87571d9af2fadc903679c9a7fResolved issues and error corrections
This fix adds the employee color setting where it was missing so employee labels and kanban cards can display correctly. It helps keep HR views visually consistent and prevents display issues in tag-style fields.
Original PR description
The color field is necessary to be able to display some fields (many2many_tags) and used in the kanban views -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Customers now see a confirmation message whenever a promo code is successfully applied, even if they did not open the promo code section first. This makes checkout feedback clearer and reduces confusion about whether a discount was accepted.
Original PR description
**Task:** https://www.odoo.com/web#id=2027008&action=327&model=project.task&view_type=form&menu_id=4720 **Pad:** https://pad.odoo.com/p/r.7da68f71d74d6799f4c128fe332075f7 **Description of the issue/feature this PR addresses:** -Previously, success message for promocode was visible only when user clicked on "I have a promocode". even when it was successfully applied. -After this commit, message will always appear once a promocode has been successfully applied. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents the search panel from crashing when a category’s parent information is missing. Users get a more stable filtering experience in views that use category trees.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: category.values[value.parentId] can be undefiend and this leads to a client error Desired behavior after PR is merged: An additional check protects against a client error -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures animated GIFs attached to project task cards continue to animate instead of being treated like static images. It improves the visual display of shared media in the Project kanban view without changing user workflows.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web?#id=1986422&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.96d744296d09b7f0f1a3f826a88bc806 Current behavior before PR: - GIFs were not played. Desired behavior after PR is merged: - GIFs will be played. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes certain appraisal-related employee fields available in the employee profile where they are needed. It avoids unintended access restrictions caused by inherited field settings, improving usability for HR workflows without changing business processes.
Original PR description
In order to be able to use some fields in the employee profile view, we need to remove the groups on the fields, the problem being that related fields always copy the groups of the fields they depend on. This is why those related fields are converted into compute fields
Users can now open details from Actual Demand values in the Mass Production Schedule without encountering an error. This prevents interruptions when planners review demand and replenishment information.
Original PR description
How to reproduce: - Manufacturing > Planning > Mass Production Schedule; - In control panel, clicks on Rows then checks Actual Demand; - Then clicks on a actual demand value in the grid > Traceback. Task #2039731
A test for document tags was adjusted so it no longer fails when the test suite is run multiple times. This improves development reliability and helps prevent false alarms in quality checks, without changing the user-facing product.
Original PR description
This commit prevents the inspector tag input test from failing during subsequent runs of the tests due to a jQuery race condition.
Code cleanup and technical improvements
This change reorganizes internal view-related code so it lives in the appropriate place and removes outdated compatibility files. It should make future maintenance easier without changing day-to-day user workflows.
Original PR description
This commit moves some ir_ui_view specific functions into ir_ui_view.py and removes some old-api <-> new-api compatibility shims as well as removes orm.py since it has 0 to do with the Odoo ORM.
Documentation and clarification updates
BADEP’s corporate contributor license agreement has been added for the master branch. This confirms the company has completed the required legal paperwork to contribute to Odoo, helping keep future contributions compliant.
Original PR description
Description of the issue/feature this PR addresses: Replaces https://github.com/odoo/odoo/pull/35035 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
Miscellaneous changes
Description of the issue/feature this PR addresses: Improve the warning for the user. Current behavior before PR: Vague warning, not very nice English. Desired behavior after PR is merged: A better English sentence. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Original PR description
Description of the issue/feature this PR addresses: Improve the warning for the user. Current behavior before PR: Vague warning, not very nice English. Desired behavior after PR is merged: A better English sentence. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fix some translations 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
Original PR description
Fix some translations 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