Files
pms/pms_api_rest/models/product_template.py
2024-04-22 17:25:01 +02:00

12 lines
286 B
Python

from odoo import fields, models
class ProductTemplate(models.Model):
_inherit = "product.template"
channel_available = fields.Boolean(
string="Sale Channel Available",
help="If checked, the product will be available for Channel",
default=False,
)