|
@@ -134,7 +134,7 @@ class Purchases(http.Controller):
|
|
|
'displayName': product.display_name,
|
|
|
'ean13': product.ean13,
|
|
|
'imageMedium': product.image_medium,
|
|
|
- 'listPrice': product.list_price,
|
|
|
+ 'standardPrice': product.standard_price,
|
|
|
'variantCount': product.product_variant_count,
|
|
|
'variants': [{
|
|
|
'id': variant.id,
|
|
@@ -142,7 +142,7 @@ class Purchases(http.Controller):
|
|
|
'displayName': variant.display_name,
|
|
|
'ean13': variant.ean13,
|
|
|
'imageMedium': variant.image_medium,
|
|
|
- 'listPrice': variant.list_price
|
|
|
+ 'standardPrice': variant.standard_price
|
|
|
} for variant in product.product_variant_ids if variant.active]
|
|
|
} for product in request.env['product.template'].search([('purchase_ok', '=', True), ('active', '=', True)])]
|
|
|
|