Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1756 Visualizzazioni

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... 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 25
25577
1
dic 22
10441
1
ago 16
10495
0
giu 15
4876
4
feb 25
2394