Daily updates from Odoo
Friday, July 26, 2019
26 changes · master
New functionality added to Odoo
Adds a new HR referral app that gives employees a personal dashboard to share open jobs, track referred candidates, earn points, and redeem rewards. This helps motivate staff to recommend candidates while giving the company better visibility into referral activity and hiring outcomes.
Original PR description
Each employee has a personal dashboard with information about him cooptations (information : his level in application referral, current amount of points, ...). On dashboard there are also buttons to…
Each employee has a personal dashboard with information about him cooptations (information : his level in application referral, current amount of points, ...). On dashboard there are also buttons to go to available job positions to share, referral in progress or hired and to the shop to spend points. The last button is made to send a mail with a link with all job positions. We can share job positions on Facebook, Twitter, LinkedIn and direct link. There are link_trackers on each generated link to give referral points to correct employee. When someone apply to a job with a shared link, the employee that shared the link is added to applicant. The employee receives points and notifications when the applicant reach new stages. When employees reach a certain amount of points, he improve his level and he can exchange points to gifts in the shop. When an applicant is hired, the employee can choose a new 'friend' to add it on his dashboard. id=1967977 Co-authored-by: edi-odoo <edi@odoo.com> Co-authored-by: jbm-odoo <jbm@odoo.com>
Enhancements to existing features
The old Settings dashboard is removed and its key actions are moved into the General Settings page. Users can now invite people, access developer tools, view the Odoo edition, and manage IAP account links from one clearer settings area.
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
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
This update fixes website forms so visitors can submit messages with attachments reliably. It also adds confirmation prompts to kanban actions, removes an unused recruitment field, and adds LinkedIn as a marketing tracking medium.
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
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
The Settings entry now takes users straight to the General Settings page instead of an intermediate dashboard. Key tools from the removed dashboard, such as user invitations, developer tools, edition details, and account links, were moved into settings or menus to reduce duplication and improve navigation.
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 update fixes several inventory issues, including showing the correct single-product stock history, avoiding errors when creating stock quantities, and grouping inventory valuation by product. It also improves warehouse form layout and settings visibility, and removes an uninstall error from a related sales timesheet purchasing module.
Original PR description
Related to task #2039731. See commit messages for more details.
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
This change prevents users from manually editing inventory loss quantities, avoiding confusing or risky stock adjustments. It also improves quantity editing in special cases and cleans up the inventory list view by hiding unnecessary lot information when it is not relevant.
Original PR description
Fix some issues with quant in master... So, these fixes are for: - Forbid the edition of quant for inventory adjustment; - Enable the multi edit on editable quant list; - Enable edition of quant with no `company_id`; - Minor fix in readonly quant list view to hide `lot_id` when the field is useless. See commit's messages for more details. Task #2035465
This fix prevents an asset from being manually assigned to a different company than its asset category. It helps keep depreciation entries and related accounting records consistent, reducing the risk of cross-company accounting errors.
Original PR description
It was possible to change manually the company of an asset, although its category would be belonging to another company and thus its depreciation lines and journal items also. To tackle this problem, we set the company_id field of an asset as related to its category --- This was already fixed in https://github.com/odoo/odoo/commit/0c76bd3c6373de7bc89818f86d377eb61a74faba, but as it was done in stable (v11) it was reverted by https://github.com/odoo/odoo/commit/8ee2a0d1912e26dbd798acc0194581cca7a998f3 and the forward-port to `master` didn't work. Also, this time, I didn't delete the default. @qdp-odoo -- 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
Submitting a CRM lead mining request with insufficient credits now shows a clear user-facing error instead of a technical traceback. This helps sales users understand the issue and take action without needing technical support.
Original PR description
Task : https://www.odoo.com/web#id=2032126&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.2b7dbf9ef10079b6e23f8702ef2ed6d3 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