summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-07-06 13:22:18 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-07-06 13:22:18 +0700
commit5914d2028dd148d3b83bbd2d27d8580772742762 (patch)
tree8b71de9f287c22ba4c960028154b6aad34997103 /indoteknik_custom/models/stock_picking.py
parent3a008e900f7684843f7bc07109d484f77939e4c7 (diff)
Update airway bill function
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 1 insertions, 1 deletions
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.