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
11 lines
300 B
Python
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
|