summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/unpaid_invoice_view.py
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-09-02 14:19:33 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-09-02 14:19:33 +0700
commit0d0e2b9a448f6f96a7ab06ecb970dbbd2018f5fe (patch)
tree083045c8ffdfc769357c2884f8471f1f818ad365 /indoteknik_custom/models/unpaid_invoice_view.py
parent88a766a52a2ee88887b9efacdf2bf572325aa690 (diff)
(andri) fix layout dan revisi field yang dibutuhkan
Diffstat (limited to 'indoteknik_custom/models/unpaid_invoice_view.py')
-rw-r--r--indoteknik_custom/models/unpaid_invoice_view.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/indoteknik_custom/models/unpaid_invoice_view.py b/indoteknik_custom/models/unpaid_invoice_view.py
index 517d078b..f6ce79b8 100644
--- a/indoteknik_custom/models/unpaid_invoice_view.py
+++ b/indoteknik_custom/models/unpaid_invoice_view.py
@@ -9,21 +9,22 @@ class UnpaidInvoiceView(models.Model):
partner_id = fields.Many2one('res.partner', string='Partner')
partner_name = fields.Char(string='Partner Name')
- email = fields.Char()
- phone = fields.Char()
+ # email = fields.Char()
+ # phone = fields.Char()
invoice_id = fields.Many2one('account.move', string='Invoice')
invoice_number = fields.Char(string='Invoice Number')
invoice_date = fields.Date()
invoice_date_due = fields.Date(string='Due Date')
+ date_terima_tukar_faktur = fields.Date(string='Terima Faktur')
currency_id = fields.Many2one('res.currency', string='Currency')
- amount_total = fields.Monetary(string='Total', currency_field='currency_id')
- amount_residual = fields.Monetary(string='Residual', currency_field='currency_id')
+ amount_total = fields.Monetary(string='Total Amount', currency_field='currency_id')
+ amount_residual = fields.Monetary(string='Sisa Amount', currency_field='currency_id')
payment_state = fields.Selection([
('not_paid','Not Paid'),
('in_payment','In Payment'),
('paid','Paid'),
('reversed','Reversed')
], string='Payment State')
- payment_term = fields.Char()
+ payment_term_id = fields.Many2one('account.payment.term', string='Payment Term')
invoice_day_to_due = fields.Integer(string="Day to Due")
new_invoice_day_to_due = fields.Integer(string="New Day Due")