Daily updates from Odoo
Navigate
Branch
Wednesday, July 31, 2019
21 changes
New functionality added to Odoo
Odoo now shows the connected IoT Box version in the backend. This helps customers and support teams quickly identify device versions for troubleshooting and support.
Original PR description
With this commit we add the version of IoT Box in the backend to help the customers and support team to identify which version of IoT Box is connected. Task: 204521
Enhancements to existing features
Manufacturing users can now cancel orders in more situations, even when some related work or stock movements are already marked done, with a confirmation step to prevent accidental disruption. The update also allows active manufacturing orders to be deleted by first attempting cancellation, and improves exception logging on related parent orders.
Original PR description
Manufacturing Order can be cancelled now even if some move line or Work Order are done (in this case, a wizard ask confirmation to the user). Task #1969034
IAP accounts can now be linked to multiple companies instead of being limited to one. This makes it easier for businesses with several companies in Odoo to manage shared IAP services without creating separate accounts for each company.
Original PR description
The "company_id" fields for the iap account has been changed by the "company_ids" fields to allow the use of an iap account with multiple company. 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
Norwegian customer invoices now automatically generate a KID payment reference when validated. This helps businesses match incoming payments to invoices more reliably and reduces manual reconciliation work.
Original PR description
… invoice. Description of the issue/feature this PR addresses: Current behaviour before PR: KID number is not generated. Desired behaviour after PR is merged: KID number is generated during validation of invoice for payment reference. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The lead generation request tooltip now explains credit usage more clearly when requesting both companies and contacts. The displayed total now includes credits for both company and contact data, helping users better understand request costs before proceeding.
Original PR description
Before this commit, the tooltip message for the credits lacks clarity when making a request for companies and contacts. The sentence 'making a total of X credits for this request' was only the total of the credits for the contacts, without the credits for the companies. Now, the tooltip is clearer, the total takes into account the credits for the companies and the contacts. Task-ID 2036946 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Contacts now show quick access buttons for the courses they follow and the certifications they have passed. For company contacts, these buttons summarize the related courses and certifications across all associated people, making training activity easier to review in one place.
Original PR description
Adds two stats button on res.partner form view. The first one will show all the courses that the partner is following. The second one will show all the certifications the partner has passed. When the partner is a company all the courses followed by all the partners are shown. All the certifications passed by all the partners are shown. Task ID : 2034097 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
CRM teams regain clearer controls for leads and quotations, with email alias options shown only when relevant. Users are also guided to general settings when email alias setup is missing, and links to unassigned leads now open the correct records.
Original PR description
This PR improves the ux in CRM by changing a few things:
- Restore the use_leads and use_quotations fields
along with their features as they were in 12.0.
- Hide the email alias if use_upportunities and use_leads
are unchecked.
- Show a link to the general settings instead of the alias_domain
if no alias_domain has been configured.
- fixes the "unassigned lead(s)" link so that
it redirects the user to the actually unassigned leads
It also cleans up the _get_default_team_id method by replacing the xmlid reference
with a search based on team sequence + domain depending on use_leads,use_opportunities
fields.
Task: #1962182
PR: #32372
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update reorganizes the eLearning slide form to make it clearer and easier to use, with unnecessary fields hidden when they are not relevant. It also improves lesson pages by showing comment counts and presenting PDF sharing options in a cleaner way.
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
Delivery, picking, and batch picking reports now show more useful shipping details, including total weight and customs HS codes when relevant. Batch picking reports are easier to read with a summary first, and barcode images can be better aligned for cleaner printed documents.
Original PR description
Pad:https://pad.odoo.com/p/r.cb1f43da6b18e8b1db4bebba01f22b99 Task:https://www.odoo.com/web#id=1889404&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
CRM teams can again use the lead and quotation options that were previously available, keeping sales workflows consistent with earlier behavior. Email alias details are now shown only when relevant, and users are guided to general settings when a domain still needs to be configured.
Incoming VoIP calls now display the matching contact's name when the caller's phone number is linked to a partner record. This makes it easier for users to recognize callers quickly and handle calls with better context.
Original PR description
Set a phone number on a partner, make that partner call Odoo, his phone number is shown instead of his name. opw-2034004 this is a port from PR #4873
Resolved issues and error corrections
This fixes an issue where connecting IoT serial devices could prevent Bluetooth devices from working. Serial devices now use stable device locations that avoid interfering with Bluetooth connections, improving reliability for connected hardware setups.
Original PR description
Using path such as '/dev/ttyUSB0' to connect to a serial port makes it impossible to use the bluetooth. We now use the locations in '/dev/serial/by-path' to connect to serial port, which does not affect bluetooth connections -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes Point of Sale invoicing so product costs are calculated using the correct FIFO stock valuation history. Businesses using Anglo-Saxon accounting will now see accurate cost of goods sold and stock output amounts on POS invoices.
Original PR description
Reproduce: 1. I create a product with fifo and real_time valuation (make sure the invoicing policy is 'delivered' and make it available in pos). 2. set the cost of the product to be 5.0 and sale…
Reproduce:
1. I create a product with fifo and real_time valuation (make sure the invoicing policy is 'delivered' and make it available in pos).
2. set the cost of the product to be 5.0 and sale price to be 10.0.
3. I update its inventory and set 5 items. -> total valuation of 25.
4. I change the cost of the product to 1.0.
5. I update again the quantity to 10, making the valuation of the product to 30.0.
6. I configure point of sale to allow invoicing.
7. Open a pos session then sell 7 items of the product (invoice the order).
8. Since the product is fifo, this means that the cost of goods sold is 5 * 5.0 + 2 * 1.0 = 27.0.
9. The correct expense account line should have balance of 27.0.
10. The correct output account line should have balance of -27.0
However, instead of 27.0 as stock valuation amount, the value in the
pos.order invoice is currently 7 * 2.0 = 14 -- and this is wrong. It is
not taking into account the value of the previous stock
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-prTest runs now include detailed error information when failures happen inside subtests. This helps teams diagnose broken tests faster instead of seeing only a final count of errors and failures.
Original PR description
Since Testresult addSubTest append directly to error and failures instead of calling addError and addFailure, we need to ovewrite addSubtest too. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes how product pricelist information is rendered by using the currently supported template option. It helps keep pricelist reports displaying correctly and avoids issues from an outdated template setting.
Original PR description
Description of the issue/feature this PR addresses: `t-esc-options` was removed in favor of `t-options`. 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 fixes a problem where certain online service errors were routed to the wrong handler, causing customized error handling to be skipped. As a result, related failures should now be handled cleanly instead of producing unnecessary traceback errors.
Original PR description
with this commit https://github.com/odoo/odoo/commit/e6d4ab84da7a1031ab552b4a6b3fc4aa2348163e we moved rpc_error binding into the crash_manager. CrashManager initialize instantaneously and does not wait for overriding via include and so the bus is having a wrong reference of the 'rpc_error' method that's why overridden methods are never called. Due to this iap error handling is broken and generating trackback. This commit will fix those issues by using the correct reference of 'rpc_error' method. task-2032126
This update fixes issues in how Odoo handles application crashes and warning messages, reducing duplicate service behavior and improving reliability. Backend users will again see warnings as modal dialogs, while website/front-end warnings remain as toast notifications for a smoother visitor experience.
Original PR description
* gamification, website_forum, stock Fix for: https://github.com/odoo/odoo/pull/32132 Some problems with the mentioned PR had to be fixed and after some discussions, it was decided to revert back to the original crashmanager warnings for the backend. See sub-commits for details.
This fix changes how IoT serial devices are identified so they no longer interfere with Bluetooth connections. Businesses using IoT hardware should see more reliable connectivity when both serial and Bluetooth devices are present.
Original PR description
Using path such as '/dev/ttyUSB0' to connect to a serial port makes it impossible to use the bluetooth. We now use the locations in '/dev/serial/by-path' to connect to serial port, which does not affect bluetooth connections
This update keeps Studio's list view editor aligned with a recent internal change in how list column visibility is calculated. It helps ensure hidden or invisible columns are handled correctly when editing list views in Studio.
Original PR description
The _processColumns function of the list renderer which computes the visibility of the columns has been moved in willStart rather than init, so the studio overide had to be moved as well.
This fix updates account reports and cohort views to use the shared error handling service correctly. It prevents duplicated internal service state, improving stability when errors occur without changing day-to-day workflows.
Original PR description
* = account_reports, web_cohort crash_manager.js was using the services while bypassing ServiceProviderMixin That means all services are duplicated, each having their own state. crash_manager is now registered in serviceRegistry instead of being instanciated on the fly. We have to use ServiceProviderMixin to retrieve it now. Related to https://github.com/odoo/odoo/pull/35209
Code cleanup and technical improvements
This update simplifies internal inventory-related tests by removing references to demo data that were not actually needed. It helps keep the test suite more reliable and easier to maintain without changing business features or user workflows.
Original PR description
This class referenced demo data but even if they weren't installed, the tests were passing. Remove the definition and usages.