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

Hi All,
 I got an error during migration module to odoo 11 and I discovered that ir.values is not supported any more in Odoo 11, could you please help me to change the below XML to work in Odoo 11


<record id="action_my_account" model="ir.values">
<field eval="'tree_but_open'" name="key2"/>
<field eval="'account.account'" name="model"/>
<field name="name">Accounts</field>
<field eval="'ir.actions.act_window,%d'%action_my_details" name="value"/>
</record>
الصورة الرمزية
إهمال
الكاتب

Thanks Niyas fro your reply.

I already checked it but I'm new to Odoo so could you please give me more details about how can I change it.

Regards

الكاتب أفضل إجابة

Hi All,

Regarding the above issue, I solved it by adding the below line of XML to the action "action_my_details" which I need to be in account.account drop down actions menu


<field name="binding_model_id" ref="model_account_account" />
الصورة الرمزية
إهمال
أفضل إجابة

Hi Waleed Mohsen , I have same problem ir.values after odoo 11 migration, can help to share completed xml code? Thank a lot

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
6
أبريل 23
17077
2
يوليو 24
2448
1
يونيو 24
4964
1
أكتوبر 23
10633
1
أكتوبر 23
98