Files
odoo_source/addons/website_sale_stock/models/__init__.py
T
Thibault Libioulle c1ddbe2704 [IMP] website_sale_stock{,_product_configurator,wishlist}: add hooks
This commit adds hooks to give more flexibility and modularity.

It allows inherited modules to give their own definition of the cart
quantity and free quantity, which may be business specific (like for
rentals).

It also takes advantage of the definition of shop_warning in the
website_sale module.

This commit fixes a glitch when the wishlist message is displayed too
fast, faster than the stock message. The message is removed by the
promise in VariantMixin, _onCombinationChangeStock.

task-2382027
2022-04-14 14:33:23 +02:00

11 lines
300 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import website
from . import product_product
from . import product_template
from . import res_config_settings
from . import sale_order
from . import sale_order_line
from . import stock_picking