0468e3ccc11042236a3b4bd1c7164a7b780bc481
Issue: On DB with a lot of product (e.g. 50K) the MO form is very slow open/modify. It is due to the `_compute_allowed_product_ids` which will set the `allowed_product_ids` fields with all product ids possible (32K), then the `convert_to_record` will take a bunch of time to filter out no-active product. Fix: In your case, to avoid to send bunch of ids to the web framework and bypass the costly `convert_to_record`, we decided to simply (static) the domain of `product_id` (`mrp.production`). The flow will be slightly different (doesn't filter depending of `bom_id`) but still good and maybe better (we can now modify the product without removing the BoM/product in the MO form). Remove `allowed_product_ids`. opw-2475151 closes odoo/odoo#67753 X-original-commit: a1a4f4548b395127cf7f816379a63f2d47688893 Related: odoo/upgrade#2272 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com> Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.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%