Daily updates from Odoo
Wednesday, July 31, 2019
13 changes · master
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
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.
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-prThis 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