summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-09-11 13:20:57 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-09-11 13:20:57 +0700
commitd5051bca02af3d5ed5318674e2b755f82b0bb47f (patch)
tree51de6b03591970d298ab4e37b4cdf88808a05d99 /indoteknik_custom/models
parent997cb3d5a1d1d85a886c8f12bb6764b0c2ba4d21 (diff)
Refactor stock picking
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 069a591a..e1564ca9 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -71,9 +71,7 @@ class StockPicking(models.Model):
('partial', 'Kirim Parsial')
], string='Note', help='jika field ini diisi maka tidak akan dihitung ke lead time')
waybill_id = fields.One2many(comodel_name='airway.bill', inverse_name='do_id', string='Airway Bill')
- purchase_representative_id = fields.Many2one('res.users', related='move_lines.purchase_line_id.order_id.user_id',
- string="Purchase Representative", readonly=True)
-
+ purchase_representative_id = fields.Many2one('res.users', related='move_lines.purchase_line_id.order_id.user_id', string="Purchase Representative", readonly=True)
carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method')
shipping_status = fields.Char(string='Shipping Status', compute="_compute_shipping_status")