mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] wrong inheritance
This commit is contained in:
@@ -30,7 +30,7 @@ class HotelRoomTypeAdapter(Component):
|
|||||||
|
|
||||||
|
|
||||||
class ChannelHotelRoomType(models.Model):
|
class ChannelHotelRoomType(models.Model):
|
||||||
_inherit = 'hotel.room.type'
|
_inherit = 'channel.hotel.room.type'
|
||||||
|
|
||||||
@api.constrains('min_price', 'max_price')
|
@api.constrains('min_price', 'max_price')
|
||||||
def _check_min_max_price(self):
|
def _check_min_max_price(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user