diff --git a/models/embargo.py b/models/embargo.py index da2f65f2c46daabbfab81dd1ab2fe3ba40ea8050..faeafc7512c3951c204b807abab71f6743ab91f4 100644 --- a/models/embargo.py +++ b/models/embargo.py @@ -29,7 +29,7 @@ class Impund(models.Model): ('food_quota', 'Food Quota')] ) food_quota = fields.Float(string="%", digits=dp.get_precision('Account')) - file_number = fields.Char(string='File Number', required=True, size=10) + file_number = fields.Char(string='File Number', required=True, size=11) invoice_number = fields.Char(string='Invoice Number') extension_office = fields.Boolean(string='Extension Office') extension_office_field = fields.Char(string='Office Reference') @@ -196,7 +196,7 @@ class Impund(models.Model): ('impound_type', '=', 'judicial'), ]) > 0: return True - + def in_progress_impound(self): if self._exists_impounts_in_progress(): raise ValidationError(