Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3647 Visualizzazioni


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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ott 25
11629
2
ago 24
1996
2
lug 24
3298
1
giu 24
5683
0
gen 25
1952