Odoo Help

0

0
4 回答
0
Alpesh Valaki インド
2018/01/25 8:33

my code

class ChatterInUssers(models.Model):

_inherit = 'res.users'

_name = 'res.users'

_inherit=['mail.thread']


## my logic

its giving error

invf = comodel._fields[self.inverse_name]

KeyError: 'partner_id'

1 コメント
Dipak Shah インド
2018/01/25 9:46

Alright let's change the classname and try to add /perform my code and let me know if you still face any issue.

Moreover, can you please show your manifest file ?

Many thanks !!

質問する
Keep Informed
1 フォロワー
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