Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3222 Lượt xem


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?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
1475
2
thg 7 24
2585
1
thg 6 24
5046
0
thg 1 25
1360
1
thg 10 23
10718