mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: fix naming restriction -> availability on test_pms_room_type (#26)
This commit is contained in:
@@ -15,8 +15,8 @@ class TestRoomType(SavepointCase):
|
||||
"name": "p2",
|
||||
"company_id": self.m1.id,
|
||||
"default_pricelist_id": self.ref("product.list0"),
|
||||
"default_restriction_id": self.ref(
|
||||
"pms.main_pms_room_type_restriction"
|
||||
"default_availability_id": self.ref(
|
||||
"pms.main_pms_room_type_availability"
|
||||
),
|
||||
}
|
||||
)
|
||||
@@ -30,8 +30,8 @@ class TestRoomType(SavepointCase):
|
||||
"name": "p3",
|
||||
"company_id": self.m2.id,
|
||||
"default_pricelist_id": self.ref("product.list0"),
|
||||
"default_restriction_id": self.ref(
|
||||
"pms.main_pms_room_type_restriction"
|
||||
"default_availability_id": self.ref(
|
||||
"pms.main_pms_room_type_availability"
|
||||
),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user