diff --git a/product_configurator/wizard/product_configurator.py b/product_configurator/wizard/product_configurator.py index 46058a383e..12ed26233f 100644 --- a/product_configurator/wizard/product_configurator.py +++ b/product_configurator/wizard/product_configurator.py @@ -18,7 +18,7 @@ def convert_to_cache(self, value, record, validate=True): ) -class ProductConfigurator(models.TransientModel): +class ProductConfigurator(models.Model): _name = "product.configurator" _inherits = {"product.config.session": "config_session_id"} _description = "Product configuration Wizard" diff --git a/product_configurator_mrp/wizard/product_configurator_mrp.py b/product_configurator_mrp/wizard/product_configurator_mrp.py index 93fadee116..80b50985a4 100644 --- a/product_configurator_mrp/wizard/product_configurator_mrp.py +++ b/product_configurator_mrp/wizard/product_configurator_mrp.py @@ -6,7 +6,7 @@ from odoo.tools.safe_eval import safe_eval -class ProductConfiguratorMrp(models.TransientModel): +class ProductConfiguratorMrp(models.Model): _name = "product.configurator.mrp" _inherit = "product.configurator" _description = "Product Configurator MRP" diff --git a/product_configurator_purchase/wizard/product_configurator.py b/product_configurator_purchase/wizard/product_configurator.py index 12fdf6b5c7..6cf223ca3e 100644 --- a/product_configurator_purchase/wizard/product_configurator.py +++ b/product_configurator_purchase/wizard/product_configurator.py @@ -3,7 +3,7 @@ from odoo import fields, models -class ProductConfiguratorPurchase(models.TransientModel): +class ProductConfiguratorPurchase(models.Model): _name = "product.configurator.purchase" _inherit = "product.configurator" diff --git a/product_configurator_sale/wizard/product_configurator.py b/product_configurator_sale/wizard/product_configurator.py index 4f6ff202d6..837cad0817 100644 --- a/product_configurator_sale/wizard/product_configurator.py +++ b/product_configurator_sale/wizard/product_configurator.py @@ -4,7 +4,7 @@ from odoo import api, fields, models -class ProductConfiguratorSale(models.TransientModel): +class ProductConfiguratorSale(models.Model): _name = "product.configurator.sale" _inherit = "product.configurator" diff --git a/product_configurator_sale_mrp/wizard/product_configurator.py b/product_configurator_sale_mrp/wizard/product_configurator.py index dd65e66281..3aff24bdda 100644 --- a/product_configurator_sale_mrp/wizard/product_configurator.py +++ b/product_configurator_sale_mrp/wizard/product_configurator.py @@ -4,7 +4,7 @@ from odoo import models -class ProductConfiguratorSale(models.TransientModel): +class ProductConfiguratorSale(models.Model): _inherit = "product.configurator.sale" def _get_order_line_vals(self, product_id): diff --git a/product_configurator_stock/wizard/product_configurator.py b/product_configurator_stock/wizard/product_configurator.py index 3b72ff332f..9bd19d024d 100644 --- a/product_configurator_stock/wizard/product_configurator.py +++ b/product_configurator_stock/wizard/product_configurator.py @@ -3,7 +3,7 @@ from odoo import fields, models -class ProductConfiguratorPicking(models.TransientModel): +class ProductConfiguratorPicking(models.Model): _name = "product.configurator.picking" _inherit = "product.configurator"