diff options
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 5ab7dffbc..996ede679 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1054,6 +1054,8 @@ class Operation(ClosedItem, DocumentItem, BaseHistorizedItem, QRCodeItem, def short_code_patriarche(self): if not self.code_patriarche: return u"" + if isinstance(self.code_patriarche, int): + self.code_patriarche = str(self.code_patriarche) profile = get_current_profile() if not profile.operation_region_code or \ not self.code_patriarche.startswith( |