I have a computed filed in my model :
initiatives_count = fields.Integer(compute=count_init)
when I am trying to use this filed in the QWeb kanban view like this:
<table class="table table-bordered" t-if=" record.initiatives_count.value != 0 ">
it gives me that error:
Uncaught Error: QWeb2 - template['kanban-box']: Runtime Error: TypeError: Cannot read property 'value' of undefined
so any one have any idea where it goes wrong ????
record.field.valuefor another it work fine - Islam Zedan