diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-10-02 16:45:07 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-10-02 16:45:07 +0700 |
| commit | 9fe4b646f1b1cda3d704a66dfbca3e935e38d96b (patch) | |
| tree | d22e810cbd1f0b409378ff363fb4427f89702481 /indoteknik_custom/models/stock_move.py | |
| parent | b0b5d0a094a1a87810b45bfcc52c17a82b73d3eb (diff) | |
Group by brand, sync to solr when validate stock picking, add new name function solr queue
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) |
