From e34f3e1abb64a3c2ca9434a189b9966de00b15d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Mon, 3 May 2021 19:43:32 +0200 Subject: [PATCH] [RFC] improvemente column1 name amenity_id PmsRoomAmenity --- pms/models/pms_amenity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pms/models/pms_amenity.py b/pms/models/pms_amenity.py index 1577b4738..026f09d71 100644 --- a/pms/models/pms_amenity.py +++ b/pms/models/pms_amenity.py @@ -27,7 +27,7 @@ class PmsRoomAmenity(models.Model): comodel_name="pms.property", ondelete="restrict", relation="pms_amenity_pms_property_rel", - column1="amenity_type_id", + column1="amenity_id", column2="pms_property_id", check_pms_properties=True, )