mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] Room in_ine field
This commit is contained in:
1
hotel_ine/models/__init__.py
Normal file
1
hotel_ine/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import inherited_hotel_room
|
||||
9
hotel_ine/models/inherited_hotel_room.py
Normal file
9
hotel_ine/models/inherited_hotel_room.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright 2019 Jose Luis Algara <osotranquilo@gmail.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class HotelRoom(models.Model):
|
||||
_inherit = 'hotel.room'
|
||||
|
||||
in_ine = fields.Boolean('Included in the INE statistics', default=True)
|
||||
Reference in New Issue
Block a user