summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-09-06 11:29:08 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-09-06 11:29:08 +0700
commit4bd34e21d8d4dc3b2f688e181fb05c6359ac1f43 (patch)
tree453d951d04ff77f0301ad5c5734fbdbd8330dceb /indoteknik_custom/models
parentbd7479d645e90509c72a36b2dd9bcf9e6964bcae (diff)
<miqdad> fix manufacture in stock move line & done
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/stock_move.py3
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)