mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
13 lines
478 B
Python
13 lines
478 B
Python
# Copyright 2017 Alexandre Díaz
|
|
# Copyright 2017 Dario Lodeiros
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from openerp import models, fields
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = "product.template"
|
|
|
|
is_hotel_service = fields.Boolean('Is a Hotel Service', default=False)
|
|
per_day = fields.Boolean('Unit increment per day')
|
|
per_person = fields.Boolean('Unit increment per person')
|
|
daily_limit = fields.Integer('Daily limit')
|