diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-10-03 07:05:14 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-10-03 07:05:14 +0000 |
| commit | 19e0be70679ed862453fedeba14fb4cdf02232e9 (patch) | |
| tree | 69b578c47cc17ae477c58d8bda718d823b998b20 /indoteknik_custom/models/stock_move.py | |
| parent | 78f205302c35cab2512971d64c8152aab2dcfa95 (diff) | |
| parent | d238f43442cc27db0d0c05bba99b42b41eaadf54 (diff) | |
Merged in production (pull request #128)
Production
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
| -rw-r--r-- | indoteknik_custom/models/stock_move.py | 3 |
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) |
