【问题标题】:How to inherit base.xml file in odoo 9如何在odoo 9中继承base.xml文件
【发布时间】:2017-09-01 10:35:24
【问题描述】:

我想在base.xml中继承和修改一个模板t-name = "ListView.row"。文件

我想添加另一个 'td' 列和 'th' 列。 在基地的第 463 行。 xml。

使用我的自定义模块。 谢谢, 阿南德。

【问题讨论】:

    标签: xml odoo-8 odoo-9 odoo-10


    【解决方案1】:
        <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>
    

    【讨论】:

    • 好的,但是放在哪里呢?如我所见,插件不能包含&lt;templates&gt; 标签。
    猜你喜欢
    • 1970-01-01
    • 2023-01-30
    • 1970-01-01
    • 2023-01-12
    • 1970-01-01
    • 2020-07-20
    • 1970-01-01
    • 2015-08-23
    • 2021-04-28
    相关资源
    最近更新 更多