mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_api_rest: model product.template
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
Reference in New Issue
Block a user