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


Here in ref=" " if we want to put id of menu defined of same model, how to put that?
<record id="server_action_pos_credit_update" model="ir.actions.server">         
 <field name="name">Confirm</field>           
<field name="model_id" ref="point_of_sale.menu_point_config_product"/>           
<field name="state">code</field>           
<field name="code">records.do_confirm()</field>     
 </record>

Could anyone help me out or suggest me anything?


아바타
취소
베스트 답변

Hello Mansi,

model_id fields is a Many2one of "ir.model" model. Hence you cannot use a menu_id in "ref" field.

Hope this helps.

Thank You

아바타
취소
작성자 베스트 답변

Thank you Burhan. It really contributed to get things clear. Can you let me know alternative for it?

아바타
취소
관련 게시물 답글 화면 활동
2
8월 24
1700
2
7월 24
2919
1
6월 24
5351
0
1월 25
1636
1
10월 23
11095