diff --git a/docs/FIX_TEMPLATE_ERROR_SUMMARY.md b/docs/FIX_TEMPLATE_ERROR_SUMMARY.md new file mode 100644 index 0000000..80345ad --- /dev/null +++ b/docs/FIX_TEMPLATE_ERROR_SUMMARY.md @@ -0,0 +1,218 @@ +# Fix Template Error Summary - website_sale_aplicoop + +**Date**: 2026-02-16 +**Status**: ✅ RESOLVED +**Version**: 18.0.1.1.1 + +--- + +## Problem + +The `eskaera_shop_products` QWeb template was throwing a `TypeError: 'NoneType' object is not callable` error when loading the store page. + +### Root Cause + +QWeb templates don't handle the `or` operator reliably when used directly in `t-attf-*` (attribute) expressions, especially when values can be `None`. + +**Original problematic code**: +```xml +