Hi,
I am facing issue while installing one module, below is the issue
File "/home/abhi/Desktop/odoo-10/odoo/odoo-server/odoo/fields.py", line 544, in _setup_related_full
field = target._fields[name]
KeyError: 'company_id'
Please help if anyone faced this kind of issue.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi,
Hope you are getting the error message from a custom module, if so, check for a related field inside the module having company_id is given in it. Suppose if i have added a field named test as related field of partner_id and there is no partner_id field in my model, you will get the keyerror as partner_id .
Thanks
Thanks Niyas,
Worked for me.
When I added "dependency" in the manifest in odoo I got this error
I wanted to do a one2many relationship
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up