Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
5912 Lượt xem

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>
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả Câu trả lời hay nhất

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" />
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 4 23
17077
2
thg 7 24
2448
1
thg 6 24
4964
1
thg 10 23
10633
1
thg 10 23
98