diff --git a/website_sale_aplicoop/views/website_templates.xml b/website_sale_aplicoop/views/website_templates.xml index 5ea8017..8719540 100644 --- a/website_sale_aplicoop/views/website_templates.xml +++ b/website_sale_aplicoop/views/website_templates.xml @@ -1216,8 +1216,8 @@ t-attf-data-order-id="{{ group_order.id if 'group_order' in locals() else '' }}" t-attf-data-product-id="{{ product.id }}" t-attf-data-product-name="{{ product.name }}" - t-attf-data-product-price="{{ display_price }}" - t-attf-data-uom-category="{{ product.uom_id.category_id.name }}" + t-attf-data-product-price="{{ display_price or product.list_price or 0 }}" + t-attf-data-uom-category="{{ product.uom_id.category_id.name if product.uom_id.category_id else '' }}" >