summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-29 13:20:52 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-29 13:20:52 +0700
commitc9977d7ced930aed5e0f96c1cde30b5cd7c37c94 (patch)
treee5468534c148cbd99748f501e5340f82677a9f1a /indoteknik_custom/models
parent44d1d87922f32066a1ce5548335a11403d118cf7 (diff)
fix stock picking purchase_id
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 0ef77eac..1ffb9aef 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -72,8 +72,6 @@ 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)
- order_id = fields.Many2one('purchase.order', related='move_lines.purchase_line_id.order_id',
- string="Purchase Orders", readonly=True)
def action_create_invoice_from_mr(self):
"""Create the invoice associated to the PO.