The eskaera_shop_products template was using 'or' operators directly in t-attf-* attributes, which causes QWeb parsing issues when values are None. Solution: Pre-compute safe variable values using t-set before the form element - safe_display_price: Handles None values for display_price, falls back to product.list_price, then 0 - safe_uom_category: Safely checks product.uom_id and category_id chain before accessing name This pattern is more QWeb-compatible and avoids inline operator evaluation issues that were causing "TypeError: 'NoneType' object is not callable" errors. Tested: Template loads successfully, safe variables render correctly. |
||
|---|---|---|
| .. | ||
| group_order_views.xml | ||
| load_from_history_templates.xml | ||
| portal_templates.xml | ||
| product_template_views.xml | ||
| res_config_settings_views.xml | ||
| res_partner_views.xml | ||
| sale_order_views.xml | ||
| stock_picking_views.xml | ||
| website_templates.xml | ||