diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-01-02 08:56:20 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-01-02 08:56:20 +0700 |
| commit | 0ecd24dd099295d664c3e80f064e8276395a8f89 (patch) | |
| tree | 0f36fe302cc1e8fdb228b1e4ab54b461e46d7fb5 /indoteknik_custom/models/sale_order.py | |
| parent | 5446eefa619906ba785d1f867fd828cce0d0748c (diff) | |
change message validation on purchase pricelist and sale order
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 12526131..07c37fe7 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -366,7 +366,7 @@ class SaleOrder(models.Model): def _validate_order(self): if self.payment_term_id.id == 31 and self.total_percent_margin < 25: - raise UserError("Total Margin Belum mencapai 25%") + raise UserError("Jika ingin menggunakan Tempo 90 Hari maka margin harus di atas 25%") if self.warehouse_id.id != 8: #GD Bandengan raise UserError('Gudang harus Bandengan') |
