콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
6 답글
3934 화면

Hello,


I want to override this menu item :

<menuitem name="AAA"
id="purchase.menu_purchase_rfq"
parent="purchase.menu_procurement_management"/>

So this is the good id and parent because I can move it as I want, but name = "AAA" as no effect.

I tried to update the action too but it doesn't work :

<record id="purchase.purchase_rfq" model="ir.actions.act_window">
<field name="name">AAAA</field>
</record>

Could you help me please.

Thx

아바타
취소

<record id="purchase.menu_purchase_rfq" model="ir.ui.menu">

<field name="name">AAAA</field>

</record>

작성자

Yeah I tried with model="ir.ui.menu" and everything as you wrote. Sorry for mistake before.

But still not working.

String is still the same

작성자

Up please, someone have an idea

작성자

Up n2 is it a bug of Odoo ?

베스트 답변

Do like this

<record id="purchase.menu_purchase_rfq" model="ir.ui.menu">
    <field name="name">AAAA</field>
</record>
아바타
취소
작성자 베스트 답변

I've tried Muhammad but got this error :


    " you can't define a `%s` record with this ID." % (xml_id, real_model, model)

ParseError: "External ID conflict, menu_purchase_rfq already refers to a `ir.ui.menu` record, you can't defin                e a `ir.actions.act_window` record with this ID." while parsing /odoo/custom/addons/app_catalogue_achat/views                /views_company.xml:165, near

<record id="purchase.menu_purchase_rfq" model="ir.actions.act_window">

            <field name="

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
4847
1
7월 23
2171
7
11월 15
9345
1
3월 15
3670
1
3월 15
7456