Cannot update/install some modules in production server
I'm having this error while trying to update some modules
File "/opt/odoo/v10/OCB/odoo/fields.py", line 544, in _setup_related_full field = target._fields[name] KeyError: 'partner'
I searched about this error, it seems it's something with a related field.
Since i can't debug in production server, i tried to reproduce it on local development machine, but everything works fine.
I'm really lost at this point, tried to reset last git pulls, but problem persists.
Searched for 'partner' related fields in all my custom modules, but found nothing.
How can i track without debugging where the problem come from?