跳至内容
菜单
此问题已终结
1774 查看

I have written a template extension 

<template id="moduleA.custom_template" name="Custom Template" inherit_id="moduleB.template_id">
    <xpath expr="." position="inside">
        <div>hello</div>
    </xpath>
</template>

But this somehow inherits the base template for actions with id: 'base.action_view'...
I have added moduleB to the dependencies in moduleA

I have already managed to extend template 'moduleB.template_id' in another one of my modules. If I put this template in that module it just works.  

I don't see a difference in the modules as to why it shouldn't work, let alone inherit a different template than specified... 

形象
丢弃
相关帖文 回复 查看 活动
1
3月 25
25594
1
12月 22
10476
1
8月 16
10532
0
6月 15
4902
4
2月 25
2460