From 7df14abdd24cfaf92d92f155a51c0111e9425620 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 30 Jun 2023 21:29:43 +0700 Subject: get tracking history of airway bill --- indoteknik_custom/models/stock_picking.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models/stock_picking.py') diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index a14e71a3..99c41c02 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -68,6 +68,7 @@ class StockPicking(models.Model): ('hold', 'Hold by Sales'), ('not_paid', 'Customer belum bayar') ], string='Note', help='jika field ini diisi maka tidak akan dihitung ke lead time') + counter_way_bill = fields.Integer(string='Counter Tracking', default=0) def action_create_invoice_from_mr(self): """Create the invoice associated to the PO. -- cgit v1.2.3 From 5914d2028dd148d3b83bbd2d27d8580772742762 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 6 Jul 2023 13:22:18 +0700 Subject: Update airway bill function --- indoteknik_custom/models/stock_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models/stock_picking.py') diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py index 99c41c02..724b483b 100644 --- a/indoteknik_custom/models/stock_picking.py +++ b/indoteknik_custom/models/stock_picking.py @@ -68,7 +68,7 @@ class StockPicking(models.Model): ('hold', 'Hold by Sales'), ('not_paid', 'Customer belum bayar') ], string='Note', help='jika field ini diisi maka tidak akan dihitung ke lead time') - counter_way_bill = fields.Integer(string='Counter Tracking', default=0) + waybill_id = fields.One2many(comodel_name='airway.bill', inverse_name='do_id', string='Airway Bill') def action_create_invoice_from_mr(self): """Create the invoice associated to the PO. -- cgit v1.2.3