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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4475
瀏覽次數
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