Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3406 Vistas


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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 24
1670
2
jul 24
2891
1
jun 24
5320
0
ene 25
1596
1
oct 23
11066