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

Hi all, this is my first question on odoo's forum.

I have this trouble with website builder on one page. The template ID not correspond to the page. i've take a screen here :  http://hpics.li/f77e349 

Can someone help me ? 

Avatar
Abbandona
Autore Risposta migliore

@Prasanth.ks 

Sorry i read again my post and i don't explain it. I installed website multi module in our database. After this on website builder we noticed that template ID didn't correspond to webpage. The webpage name is "acces-internet" but the template ID is "website.web_menu_link".  

Here the HTML code : 

<t t-name="web.menu_link"> 
<t t-set="debug_param" t-value="'?&amp;debug=' if debug else ''"/>
<a t-att-href="'/web%s#menu_id=%s&amp;action=%s' % (debug_param, menu['id'], menu['action'] and menu['action'].split(',')[1] or '')" t-att-class="'oe_menu_toggler' if menu.get('children') else 'oe_menu_leaf'" t-att-data-menu="menu['id']" t-att-data-action-model="menu['action'] and menu['action'].split(',')[0] or ''" t-att-data-action-id="menu['action'] and menu['action'].split(',')[1] or ''">
<span class="oe_menu_text">
<t t-esc="menu['name']"/>
</span>
</a>
</t>


So my question is, how do you change the template ID "web_menu_link" to "website.acces-internet" ? 

I tried to directly change in HTML code but i had an 500 error.

I hope I'm clear in my explanations (sorry for my bad english).

Avatar
Abbandona
Risposta migliore

@Mathieu :- Could you please specify the problem? Actually i couldn't get your question.Tell me what you want to do? What you have been done? if it possible i can help you.

thanks ,

prasanth

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mag 25
3361
2
gen 25
2163
4
gen 25
4253
0
nov 24
1563
1
nov 24
2362