Odoo Help

0

0
2 答案
0
Chriskub 德国
2017/11/2 上午7:30

Works. Thanks a lot

0
头像

Zbik 波兰

--Zbik--
12433
| 7 6 9
Łódź, 波兰
--Zbik--


Zbik 波兰
2017/11/1 上午10:10

Using default is not correct in this case. Use function/decorator onchange, like this:

@api.onchange('partner_id')
def onchange_partner_id(self):

     self.x_so_field1= self.partner_id.x_field1

提问
Writer
Keep Informed
1 关注者(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now