[FIX] *: field shouldn't use props.value
We forget to remove few 'props.value' in 688986f888.
We should replace it by 'props.record.data[props.name]'.
closes odoo/odoo#114785
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
@@ -54,9 +54,6 @@
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
<div role="search" position="attributes">
|
||||
<attribute name="t-if">props.value.count > props.value.limit</attribute>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="loyalty.LoyaltyCardListView.buttons" owl="1" t-inherit-mode="primary" t-inherit="web.ListView.Buttons">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<t t-name="sms.SendSMSButton" owl="1">
|
||||
<a
|
||||
t-att-title="title"
|
||||
t-att-href="'sms:'+props.value"
|
||||
t-att-href="'sms:'+ props.record.data[props.name]"
|
||||
t-on-click.prevent.stop="onClick"
|
||||
class="ms-3 d-inline-flex align-items-center o_field_phone_sms"
|
||||
><i class="fa fa-mobile"></i><small class="fw-bold ms-1">SMS</small></a>
|
||||
|
||||
Reference in New Issue
Block a user