feat(workorders): move address to contact and auto-compute zone

This commit is contained in:
Ruslan Bakiev
2026-02-13 18:07:08 +07:00
parent 111afdd885
commit 2b7a9457dd
9 changed files with 71 additions and 54 deletions

View File

@@ -38,6 +38,11 @@ class Contact(models.Model):
'contact_id',
string='Events'
)
address_ids = fields.One2many(
'dsrpt.contact.address',
'contact_id',
string='Addresses'
)
# call_ids moved to dsrpt_calls module to avoid circular dependencies
# Computed fields