diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-23 18:27:40 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-23 18:27:40 +0700 |
| commit | 4d41e5f767820976b127ab50eee6389a821e50be (patch) | |
| tree | c9a553ed4542b636390e559ee187e4d840c91660 /addons/product/models/product.py | |
| parent | abcaa5e5a67a91356932136fe31996d84f8fa853 (diff) | |
add field accurate item code in product variant
Diffstat (limited to 'addons/product/models/product.py')
| -rw-r--r-- | addons/product/models/product.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/product/models/product.py b/addons/product/models/product.py index 33b02f1c..2fefa526 100644 --- a/addons/product/models/product.py +++ b/addons/product/models/product.py @@ -144,6 +144,7 @@ class ProductProduct(models.Model): image_256 = fields.Image("Image 256", compute='_compute_image_256') image_128 = fields.Image("Image 128", compute='_compute_image_128') can_image_1024_be_zoomed = fields.Boolean("Can Image 1024 be zoomed", compute='_compute_can_image_1024_be_zoomed') + accurate_item_code = fields.Char('Accurate Item Code', help="Masukan Kode Barang yang ada di Accurate, berguna pada saat API Create Sales Order dari Web Fixco ke Accurate") @api.depends('image_variant_1920', 'image_variant_1024') def _compute_can_image_variant_1024_be_zoomed(self): |
