mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] calls super inherit compute fields
This commit is contained in:
@@ -25,7 +25,7 @@ class ResPartnerIdNumber(models.Model):
|
||||
)
|
||||
def _compute_valid_from(self):
|
||||
if hasattr(super(), "_compute_valid_from"):
|
||||
super()._compute_field()
|
||||
super()._compute_valid_from()
|
||||
for record in self:
|
||||
if not record.valid_from and record.partner_id.pms_checkin_partner_ids:
|
||||
document_expedition_date = list(
|
||||
|
||||
Reference in New Issue
Block a user