13 lines
398 B
Python
13 lines
398 B
Python
# Copyright 2017-2021 Akretion France (http://www.akretion.com/)
|
|
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = 'product.template'
|
|
|
|
available_in_pos = fields.Boolean(tracking=True)
|
|
pos_categ_id = fields.Many2one(tracking=True)
|