跳至内容
菜单
此问题已终结
1 回复
2017 查看

I have created One2many with the below fields:

  • partner_id (M2O)
  • email (Related Field of Partner)
  • phone (Related Field of Partner)

Issue: When we update any data of partner using open action of Many2one > Email or Phone number not getting update until refresh the page.


Solution Tried: Made field compute instead of related fields.

形象
丢弃
最佳答案

Hello Naitik Vithalani

Please Try to write onchange method on partner_id
Hope this may help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

形象
丢弃
编写者

Hi Jainesh Shah,

Thanks for your comment, but I already tried the @api.onchange and @api.ondepends both.

相关帖文 回复 查看 活动
4
5月 24
13782
1
4月 24
4176
0
11月 23
2825
1
9月 23
2972
2
8月 23
5638