From 7fb9ffb595b27c0ee2ee51249e907dddf8603414 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 13 Jun 2023 10:05:46 +0700 Subject: Fixing flash sale price --- indoteknik_api/models/product_template.py | 1 - 1 file changed, 1 deletion(-) (limited to 'indoteknik_api/models/product_template.py') 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, -- cgit v1.2.3