diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-06-06 10:45:47 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-06-06 10:45:47 +0700 |
| commit | 00ebebce72441282bae3494088b9d6dd28df6e97 (patch) | |
| tree | a044ed69f7715c1008c4fc2a90b1b5a285ad0b8a /indoteknik_custom/models/product_template.py | |
| parent | 9acb6bc2039b7004105a1987be8002c4067f85f9 (diff) | |
add short_spesification on product variant, fix note detail purchasing job
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index d490eb05..c94b523a 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -59,6 +59,7 @@ class ProductTemplate(models.Model): ], string='Kind of', copy=False) sni = fields.Boolean(string='SNI') tkdn = fields.Boolean(string='TKDN') + short_spesification = fields.Char(string='Short Spesification') def _get_qty_sold(self): for rec in self: @@ -351,6 +352,7 @@ class ProductProduct(models.Model): sla_version = fields.Integer(string="SLA Version", default=0) is_edited = fields.Boolean(string='Is Edited') qty_sold = fields.Float(string='Sold Quantity', compute='_get_qty_sold') + short_spesification = fields.Char(string='Short Spesification') def update_internal_reference_variants(self, limit=100): variants = self.env['product.product'].search([ |
