تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3196 أدوات العرض


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
أغسطس 24
1443
2
يوليو 24
2528
1
يونيو 24
5007
0
يناير 25
1325
1
أكتوبر 23
10689