Odoo Aide

0

0
2 Answers
0
Chriskub
02/11/2017 07:30

Works. Thanks a lot

0
Avatar

Zbik

--Zbik--
12143
| 7 6 9
Łódź, Pologne
--Zbik--


Zbik
01/11/2017 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

Poser une question
Writer
Keep Informed
1 Abonné(e)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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now