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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py
index bdbb0227..dade9a04 100644
--- a/indoteknik_custom/models/stock_move.py
+++ b/indoteknik_custom/models/stock_move.py
@@ -1,4 +1,4 @@
-from odoo import fields, models
+from odoo import fields, models, api
class StockMove(models.Model):
@@ -72,3 +72,4 @@ class StockMoveLine(models.Model):
_inherit = 'stock.move.line'
line_no = fields.Integer('No', default=0)
+ manufacture = fields.Many2one('x_manufactures', string="Brands", related="product_id.x_manufacture", store=True)