[FIX]pms_api_rest: model product.template

This commit is contained in:
Darío Lodeiros
2023-12-23 09:35:09 +01:00
parent 949c3959f0
commit 6283c1e920
2 changed files with 3 additions and 2 deletions

View File

@@ -4,3 +4,4 @@ from . import account_payment
from . import sql_export
from . import pms_room_type_class
from . import account_bank_statement
from . import product_template

View File

@@ -1,8 +1,8 @@
from odoo import fields, models
class ProductProduct(models.Model):
_inherit = "product.product"
class ProductTemplate(models.Model):
_inherit = "product.template"
channel_available = fields.Boolean(
string="Sale Channel Available",