diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-13 10:05:46 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-13 10:05:46 +0700 |
| commit | 7fb9ffb595b27c0ee2ee51249e907dddf8603414 (patch) | |
| tree | fdf7f3fb56de5f75595e06f144f7af46a0c0e5be /indoteknik_api/models/product_template.py | |
| parent | a5e3151dc5afa25d9dc36d7448165eaa6654d4f9 (diff) | |
Fixing flash sale price
Diffstat (limited to 'indoteknik_api/models/product_template.py')
| -rw-r--r-- | indoteknik_api/models/product_template.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/indoteknik_api/models/product_template.py b/indoteknik_api/models/product_template.py index c3df97a5..1a345967 100644 --- a/indoteknik_api/models/product_template.py +++ b/indoteknik_api/models/product_template.py @@ -59,7 +59,6 @@ class ProductTemplate(models.Model): 'image': self.env['ir.attachment'].api_image('product.template', 'image_128', product_template.id), 'code': product_template.default_code or '', 'name': product_template.name, - 'lowest_price': self.env['product.pricelist'].get_lowest_product_variant_price(product_template, product_pricelist_default_discount_id), 'variant_total': len(product_template.product_variant_ids), 'stock_total': product_template.qty_stock_vendor, 'weight': product_template.weight, |
