diff options
| author | unknown <it@fixcomart.co.id> | 2025-09-16 15:01:02 +0700 |
|---|---|---|
| committer | unknown <it@fixcomart.co.id> | 2025-09-16 15:01:02 +0700 |
| commit | 540136f8096f090b481d139c58c3f36c28aa69bb (patch) | |
| tree | 564e27b879251c961afe6550058e9f47a1744bd0 /indoteknik_custom/models/unpaid_invoice_view.py | |
| parent | 462fb823c79d8652a6a08e267b00b13c7bbe5df0 (diff) | |
(andri) add payment diff + fix onchange ketika pilih partner
Diffstat (limited to 'indoteknik_custom/models/unpaid_invoice_view.py')
| -rw-r--r-- | indoteknik_custom/models/unpaid_invoice_view.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indoteknik_custom/models/unpaid_invoice_view.py b/indoteknik_custom/models/unpaid_invoice_view.py index 25e04968..3eb6efc7 100644 --- a/indoteknik_custom/models/unpaid_invoice_view.py +++ b/indoteknik_custom/models/unpaid_invoice_view.py @@ -34,6 +34,13 @@ class UnpaidInvoiceView(models.Model): date_kirim_tukar_faktur = fields.Date(string='Kirim Faktur') sale_id = fields.Many2one('sale.order', string='Sale Order') + payment_difficulty = fields.Selection([ + ('bermasalah', 'Bermasalah'), + ('sulit', 'Sulit'), + ('agak_sulit', 'Agak Sulit'), + ('normal', 'Normal'), + ], string="Payment Difficulty") + def action_create_surat_piutang(self): self.ensure_one() return { |
