Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3184 Vizualizări


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?


Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
aug. 24
1434
2
iul. 24
2499
1
iun. 24
4992
0
ian. 25
1317
1
oct. 23
10679