mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: restict delete partner with property link
This commit is contained in:
@@ -35,7 +35,7 @@ class PmsProperty(models.Model):
|
|||||||
help="Current property",
|
help="Current property",
|
||||||
comodel_name="res.partner",
|
comodel_name="res.partner",
|
||||||
required=True,
|
required=True,
|
||||||
ondelete="cascade",
|
ondelete="restrict",
|
||||||
)
|
)
|
||||||
pms_property_code = fields.Char(
|
pms_property_code = fields.Char(
|
||||||
string="Property Code",
|
string="Property Code",
|
||||||
|
|||||||
Reference in New Issue
Block a user