summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-09-05 21:22:00 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-09-05 21:22:00 +0700
commitbd7479d645e90509c72a36b2dd9bcf9e6964bcae (patch)
tree600e3a47186ac151e186f2f9a3e4b9397a93cf20 /indoteknik_custom/models
parent0a1f22cac507ee7e9975f1a68f79bccdf179c9fd (diff)
<miqdad> change field name
Diffstat (limited to 'indoteknik_custom/models')
-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 d4106830..9ec36fcd 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_128 = fields.Image('Product Image', related='product_id.image_1920')
+ product_image= fields.Image('Product Image', related='product_id.image_1920')
# @api.model_create_multi
# def create(self, vals_list):