mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] room_type_id ondelete restrict
This commit is contained in:
@@ -87,6 +87,7 @@ class PmsReservation(models.Model):
|
|||||||
copy=False,
|
copy=False,
|
||||||
store=True,
|
store=True,
|
||||||
comodel_name="pms.room.type",
|
comodel_name="pms.room.type",
|
||||||
|
ondelete="restrict",
|
||||||
compute="_compute_room_type_id",
|
compute="_compute_room_type_id",
|
||||||
tracking=True,
|
tracking=True,
|
||||||
check_pms_properties=True,
|
check_pms_properties=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user