diff options
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index d75c9fe9..a99e15ad 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -374,8 +374,8 @@ class SaleOrder(models.Model): if self.state not in ['draft', 'sent']: raise UserError("Status harus draft atau sent") - if not self._validate_npwp(): - raise UserError("Isi NPWP Dengan Benar!") + # if not self._validate_npwp(): + # raise UserError("Isi NPWP Dengan Benar!") def _validate_npwp(self): pattern = r'^\d{16,}$' |
