fb60cf19b2e97cc88c1d89e28678504c5611ba13
The `product.product` method `_get_rules_from_location` can call itself in case `_get_rule` returns a rule using the "Trigger Another Rule" supply method. But if this rule cannot trigger any other rules, `_get_rules_from_location` will continue to call itself endlessly until it reach the recursion's limit, causing a traceback. How to reproduce: - In Inventory Configuration, enable "Multi-Step Routes"; - In Configuration > Rules, create a new rule with the following config: - Action: Pull & Push - Operation Type: Internal Transfers - Source Location: same location than the Destination Location - Supply Method: Trigger Another Rule - Route: Receive - Insure the created rule is the only one used by its route; - Insure there is at least one product who needs to be ressuplied; - Click on Operation > Ressuply --> traceback. opw-3068546 closes odoo/odoo#110446 X-original-commit: 511eebf7de4b751b776e7b2d1b1d15a08c53171b Signed-off-by: William Henrotin (whe) <whe@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%