【发布时间】:2017-09-01 10:35:24
【问题描述】:
我想在base.xml中继承和修改一个模板t-name = "ListView.row"。文件
我想添加另一个 'td' 列和 'th' 列。 在基地的第 463 行。 xml。
使用我的自定义模块。 谢谢, 阿南德。
【问题讨论】:
我想在base.xml中继承和修改一个模板t-name = "ListView.row"。文件
我想添加另一个 'td' 列和 'th' 列。 在基地的第 463 行。 xml。
使用我的自定义模块。 谢谢, 阿南德。
【问题讨论】:
<tr t-extend="ListView.row">
<t t-jquery="t td t" t-operation="after">
<!-- Add your code here and you can update the xpath as you needed on t-jquery attribute -->
</tr>
【讨论】:
<templates> 标签。