diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-06 11:29:08 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-06 11:29:08 +0700 |
| commit | 4bd34e21d8d4dc3b2f688e181fb05c6359ac1f43 (patch) | |
| tree | 453d951d04ff77f0301ad5c5734fbdbd8330dceb /indoteknik_custom/models | |
| parent | bd7479d645e90509c72a36b2dd9bcf9e6964bcae (diff) | |
<miqdad> fix manufacture in stock move line & done
Diffstat (limited to 'indoteknik_custom/models')
| -rw-r--r-- | indoteknik_custom/models/stock_move.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py index 9ec36fcd..24d405a6 100644 --- a/indoteknik_custom/models/stock_move.py +++ b/indoteknik_custom/models/stock_move.py @@ -18,8 +18,7 @@ class StockMove(models.Model): barcode = fields.Char(string='Barcode', related='product_id.barcode') vendor_id = fields.Many2one('res.partner' ,string='Vendor') hold_outgoingg = fields.Boolean('Hold Outgoing', default=False) - product_image= fields.Image('Product Image', related='product_id.image_1920') - + product_image = fields.Binary(related="product_id.image_128", string="Product Image", readonly = True) # @api.model_create_multi # def create(self, vals_list): # moves = super(StockMove, self).create(vals_list) |
