diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-01-06 10:41:43 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-01-06 10:41:43 +0700 |
| commit | 1fe227b2fcbbc31b8766aa3e1ddf3997d535a823 (patch) | |
| tree | 131ce114495fc65ca59c067abb3251755d5192c7 | |
| parent | f4217b5493477d8238165f9390dd6c6f8a597b33 (diff) | |
temporary comment npwp
| -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,}$' |
