From 475b927a543890639cfef7731ba8617449a423ec Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 9 Oct 2024 15:01:30 +0700 Subject: add image small --- indoteknik_custom/models/purchase_order_line.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models') diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index 7af84b48..fa300c67 100755 --- a/indoteknik_custom/models/purchase_order_line.py +++ b/indoteknik_custom/models/purchase_order_line.py @@ -37,6 +37,7 @@ class PurchaseOrderLine(models.Model): is_ltc = fields.Boolean(string='Sudah di LTC', default=False, help='centang ini jika barang sudah di LTC') note = fields.Char(string='Note') sale_automatic_id = fields.Many2one('sale.order', string='SO') + image_small = fields.Binary("Product Image", related="product_id.image_1920") qty_reserved = fields.Float(string='Qty Reserved', compute='_compute_qty_reserved') delete_line = fields.Boolean(string='Delete', default=False, help='centang ini jika anda ingin menghapus line ini') -- cgit v1.2.3