Odoo Help


4 Answers
Alpesh Valaki
1/25/18, 8:33 AM

my code

class ChatterInUssers(models.Model):

_inherit = 'res.users'

_name = 'res.users'


## my logic

its giving error

invf = comodel._fields[self.inverse_name]

KeyError: 'partner_id'

1 Comment
Dipak Shah
1/25/18, 9:46 AM

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 !!

Ask a Question
Keep Informed
1 follower(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.

Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now