Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] sale: split method _is_add_to_cart_possible for override
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#94169 X-original-commit: e5fb470 Related: odoo/enterprise#28680 Signed-off-by: Nasreddin Boulif (bon) <bon@odoo.com>
- Loading branch information