mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pms: add field to take into account or not specific rooms when INE report is generated.
This commit is contained in:
@@ -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
|
||||
|
||||
10
pms_l10n_es/models/pms_room.py
Normal file
10
pms_l10n_es/models/pms_room.py
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user