[IMP] pms: add field to take into account or not specific rooms when INE report is generated.

This commit is contained in:
miguelpadin
2021-06-30 00:18:16 +02:00
parent 68519c206a
commit bbc02b2c63
3 changed files with 24 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ from . import pms_property
from . import pms_log_institution_traveller_report
from . import res_country_state
from . import pms_ine_tourism_category
from . import pms_room

View File

@@ -0,0 +1,10 @@
from odoo import fields, models
class PmsRoom(models.Model):
_inherit = "pms.room"
in_ine = fields.Boolean(
string="In INE",
help="Take it into account to generate INE statistics",
default=True,
)