77afe5c37b3caad13fa576121ce6ab7fa38df5e1
This commit has as purpose to split the method `_is_add_to_cart_possible` and put only the first part in another method so it can be overridden. Issue: The first part of the method _is_add_to_cart_possible check that the product is active and can be sold. The second part check if a combination is possible. In sale_renting module, only the first part must be overridden since second part is a common check to all product regardless if it can or can't be sold or rent opw-2879711 closes odoo/odoo#94373 X-original-commit: 99dc5a963002e887d5c4a9ad403e171b627d2e8a Related: odoo/enterprise#28777 Signed-off-by: Nasreddin Boulif (bon) <bon@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%