تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1500 أدوات العرض

Hi. I'm trying to overwrite RMA Orders position inside My Account portal. 

When I try to overwrite the rma.portal_my_home_rma template, it overwrites first position "Quotations".

<template
        id="portal_my_home_rma_change_rma_name"
        name="Portal My Home : RMA entries - change RMA name"
        inherit_id="rma.portal_my_home_rma"
        priority="30"
    >
        <xpath expr="//t[@t-set='title']" position="replace">
            <t t-set="title">Repair Orders</t>
        </xpath>
    </template>


           
Then, instead of change RMA Orders position to Repair Orders, it changes the first position "Quotations".

What should I do? Thanks.

الصورة الرمزية
إهمال
أفضل إجابة

Hi,
please refer these post to see how to reorder documents section:

https://www.odoo.com/forum/help-1/how-to-change-order-of-documents-menu-on-website-in-my-account-section-190007

https://www.odoo.com/forum/help-1/how-to-modify-documents-menu-on-website-in-my-account-section-189147

Hope this will help you

thanks

الصورة الرمزية
إهمال
الكاتب

Hi Mehjabin.
Thanks, but this not solve my problem. Doesn't matter if I try to overwrite the template with one priority or another, it changes the name of other position.
Original template has priority 30 but, if i put priority 29 or priority 31 (even if I put 1 or 9999) it changes the title of the first position "Quotations" instead of "RMA orders" position.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 22
3732
0
فبراير 21
3746
1
مايو 20
4388
1
يناير 23
2232
0
فبراير 25
1413