summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_picking.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-11 11:55:47 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-11 11:55:47 +0700
commit02c2304b242245250177fec6ab3c911d9acba781 (patch)
treec6e905a5d99e9f50c3cfeb30a43f530533a5706c /indoteknik_custom/models/stock_picking.py
parent439f7252866ae30b548326ad25f241e513f0fe85 (diff)
auto sync banner to solr, auto sync ecommerce categories to solr, add field carrier to stock_picking
Diffstat (limited to 'indoteknik_custom/models/stock_picking.py')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 90963e1c..0e6137eb 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -73,6 +73,8 @@ class StockPicking(models.Model):
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)
+
+ carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method')
def action_create_invoice_from_mr(self):
"""Create the invoice associated to the PO.