summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_move.py
diff options
context:
space:
mode:
authorAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-11 11:00:38 +0700
committerAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-11 11:00:38 +0700
commitafd53e62f1f96691795ab1cb3f45c1071368b350 (patch)
treef2c9e9e89c1d06a21c652e778a6e09f1edae4156 /indoteknik_custom/models/stock_move.py
parentd27561901fa2f0ab7534f255351e82459c6a531e (diff)
parent142f1a37b0d73ea847345428acc4224ff6e49419 (diff)
(andri) fix merge
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
-rw-r--r--indoteknik_custom/models/stock_move.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py
index 90ab30a4..24d405a6 100644
--- a/indoteknik_custom/models/stock_move.py
+++ b/indoteknik_custom/models/stock_move.py
@@ -1,6 +1,9 @@
from odoo import fields, models, api
from odoo.tools.misc import format_date, OrderedSet
from odoo.exceptions import UserError
+import logging
+
+_logger = logging.getLogger(__name__)
class StockMove(models.Model):
_inherit = 'stock.move'
@@ -15,7 +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.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)