summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-08-16 15:30:18 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-08-16 15:30:18 +0700
commita8ea5407be21c56fb29b63de08b40b92a887fa26 (patch)
tree3c18862efdba8dd9fbd23947d8c824e93608a0ff /indoteknik_custom
parent2d400be8110ebc7471022455c59a135658d014ed (diff)
Membuat fields image_128 di x_manufacture
Diffstat (limited to 'indoteknik_custom')
-rwxr-xr-xindoteknik_custom/models/x_manufactures.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py
index 8aff7f26..e07f724e 100755
--- a/indoteknik_custom/models/x_manufactures.py
+++ b/indoteknik_custom/models/x_manufactures.py
@@ -9,6 +9,7 @@ class XManufactures(models.Model):
x_name = fields.Char(string="Name")
x_description = fields.Html(string="Description")
x_logo_manufacture = fields.Binary(string="Logo Manufacture")
+ x_logo_manufacture_128 = fields.Image("Image 128", related="x_logo_manufacture", max_width=128, max_height=128, store=True)
x_manufacture_level = fields.Selection([
('prioritas', 'Prioritas'),
('gold', 'Gold'),