Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3202 Prikazi


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?


Avatar
Opusti
Best Answer

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

Avatar
Opusti
Avtor Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
avg. 24
1446
2
jul. 24
2530
1
jun. 24
5010
0
jan. 25
1327
1
okt. 23
10691