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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się