コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3215 ビュー


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?


アバター
破棄
最善の回答

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

アバター
破棄
著作者 最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
8月 24
1451
2
7月 24
2553
1
6月 24
5019
0
1月 25
1334
1
10月 23
10699