summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_move.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
-rw-r--r--indoteknik_custom/models/stock_move.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py
index dade9a04..9c991be3 100644
--- a/indoteknik_custom/models/stock_move.py
+++ b/indoteknik_custom/models/stock_move.py
@@ -5,6 +5,7 @@ class StockMove(models.Model):
_inherit = 'stock.move'
line_no = fields.Integer('No', default=0)
+ sale_id = fields.Many2one('sale.order', string='SO')
def _prepare_account_move_line_from_mr(self, po_line, qty, move=False):
po_line.ensure_one()