From d5e783d3a91b9ba782f4aebb21e558779a83f8b6 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 1 Nov 2022 11:00:23 +0700 Subject: add shipper faktur --- indoteknik_custom/models/account_move.py | 7 ++++--- indoteknik_custom/views/account_move.xml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index fd9ed758..aa4b0b1e 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -7,9 +7,10 @@ class AccountMove(models.Model): date_send_fp = fields.Datetime(string="Tanggal Kirim Faktur Pajak") last_log_fp = fields.Char(string="Log Terakhir Faktur Pajak") # use for industry business - date_kirim_tukar_faktur = fields.Date(string='Tanggal Kirim Tukar Faktur') - resi_tukar_faktur = fields.Char(string='Resi Tukar Faktur') - date_terima_tukar_faktur = fields.Date(string='Tanggal Terima Tukar Faktur') + date_kirim_tukar_faktur = fields.Date(string='Kirim Faktur') + resi_tukar_faktur = fields.Char(string='Resi Faktur') + date_terima_tukar_faktur = fields.Date(string='Terima Faktur') + shipper_faktur_id = fields.Many2one('delivery.carrier', string='Shipper Faktur') @api.onchange('date_kirim_tukar_faktur') def change_date_kirim_tukar_faktur(self): diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 01c4e8b3..6e52f075 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -8,6 +8,20 @@ + + + + + + + + Account Move + account.move + + + + + -- cgit v1.2.3