If applied, this commit will solve the issue of missing product issue while installing the following modules: loyalty_delivery, pos_loyalty, sale_loyalty, website_sale_loyalty Steps to produce: - Install loyalty module. - Go to 'Products' or 'Product Variants'. - Delete the product 'Gift Card'. - Now install the 'sale_loyalty' module. This commit will raise an userError while deleting the loyalty products. sentry - 4112536971 closes odoo/odoo#121484 X-original-commit: 3488d292b514bbf4190f19bd8271b3e68b3eb055 Signed-off-by: Parth Solanki (paso) <paso@odoo.com>
12 lines
327 B
Python
12 lines
327 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import loyalty_card
|
|
from . import loyalty_mail
|
|
from . import loyalty_reward
|
|
from . import loyalty_rule
|
|
from . import loyalty_program
|
|
from . import product_product
|
|
from . import product_template
|
|
from . import res_partner
|