diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-30 16:09:35 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-30 16:09:35 +0700 |
| commit | 65fe5e9cb0865293eb6d0626d2c99f35d6862b3c (patch) | |
| tree | 9b101f91df2be5e08a489991579b9edd691cbdfd /indoteknik_custom/models/sale_order.py | |
| parent | c0bc0039928cdb7e2eef8e39dc5daad6e5ecfc28 (diff) | |
add invoice_date_due and terima faktur on bills
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index dd6753aa..9a4f9035 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -423,7 +423,7 @@ class SaleOrder(models.Model): if self.payment_term_id.id == 31 and self.total_percent_margin < 25: raise UserError("Jika ingin menggunakan Tempo 90 Hari maka margin harus di atas 25%") - if self.warehouse_id.id != 8: #GD Bandengan + if self.warehouse_id.id != 8 and self.warehouse_id.id != 10: #GD Bandengan raise UserError('Gudang harus Bandengan') if self.state not in ['draft', 'sent']: |
