mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP] refactoring default_ pricelist and restriction
This commit is contained in:
@@ -23,13 +23,13 @@ class HotelProperty(models.Model):
|
||||
room_ids = fields.One2many('hotel.room', 'hotel_id', 'Rooms')
|
||||
|
||||
# TODO: refactoring res.config.settings', 'default_pricelist_id' by the current hotel.property.pricelist_id
|
||||
pricelist_id = fields.Many2one('product.pricelist', 'Product Pricelist',
|
||||
help='The default pricelist used in this hotel.',
|
||||
required=True)
|
||||
default_pricelist_id = fields.Many2one('product.pricelist', 'Product Pricelist',
|
||||
help='The default pricelist used in this hotel.',
|
||||
required=True)
|
||||
# TODO: refactoring res.config.settings', 'default_restriction_id by the current hotel.property.restriction_id
|
||||
restriction_id = fields.Many2one('hotel.room.type.restriction', 'Restriction Plan',
|
||||
help='The default restriction plan used in this hotel.',
|
||||
required=True)
|
||||
default_restriction_id = fields.Many2one('hotel.room.type.restriction', 'Restriction Plan',
|
||||
help='The default restriction plan used in this hotel.',
|
||||
required=True)
|
||||
|
||||
# TODO: refactoring 'res.config.settings', 'default_arrival_hour' by the current hotel.property.arrival_hour
|
||||
arrival_hour = fields.Char('Arrival Hour (GMT)',
|
||||
|
||||
Reference in New Issue
Block a user