c7f095396e88b67844bf0e4f1d35847f59a80400
Issue - Install purchase_product_matrix, Inventory - Create a (storable) Product P with default_code e.g. VOB2A with a vendor V who uses a product_code e.g. VOB2a - Create a PO/RFQ for vendor V - Add a product, search "vob2" (copy/paste) Infinite loop Cause purchase_product_matrix replace purchase.order_line.product.product by product.template so the name_search is different and the product.template's name_search loop doesn't support the case where you have default_code == product_code Solution Check if the product's name_search returned a product containing product_template_ids that we did not wanted (as mentionned in the domain). If yes, it means that we will have an infinite loop so we should break. Additional note: the issue could be in versions < 13 but purchase_product_matrix is only in 13.0 and this is not a very common case. OPW-2193005 closes odoo/odoo#47576 X-original-commit: 9d5d80f77bc04be83d5b2ca0569a6ea50e26a07e Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%