Hello Amit, thank you for you comment. I know, it is not a bug and the wishlist is what I have expected. Currently I am "playing around" with partners, crm and the new great web-client. I wanted to have different avatars for non-company-partners of type 'contact' and other non-company-partners (a human head next to a delivery address looks somehow wrong) in the kanaban-view. Following the whole thing: [code] res.partner.kanban.names res.partner
  • at
  • ,
[/code] As you can see there are two forms to use this directives: 1.
"if-content"
"elseif-content"
"else-content" 2.
"if-content"
"elseif-content"
"else-content"
Both are compiled to something like that if (cond) { r.push('
"if content"
') } else if (cond) { r.push('
"elseif- content"
') } else { r.push('
"else- content"
') } It might be confusing for a reviewer if both forms are mixed within one if-elseif-else-compound. In the second form content between the last closing
and the closing is appended to the else-content. Solution 1: Well documentation and responsibility of the developer who designs the view. Solution 2: QWeb2 raises an exception on malformed usage (first form only for non-t-tags second form only for t-tags; strip whitespaces between , and the closing , fail on other content). If the team likes this extensions and wants me to do this I would would work on solution 2.