I have a heavily customized version of odoo. we had a developer who was building it but we ended our relationship over various disputes. We have someone employed who is knowledgeable about python both of us have taken to mostly developing it ourselves. while getting assistance where our knowledge lacks.
Our Res.parner module loads very slow and seems to be the catalyst for most of our speed issues as modules that reference and calculate it heavily are pretty slow as well.
We've done a lot to optimize the postgre, workers, etc. and that helped a little. our server is also very fast with 8gb and plenty of computing power for our 20 users. Not everything is slow. just mainly res.partner and things that reference it heavily.
We've isolated the issue to res partner. but the 3 types of logs we have used doesn't seem to tell us more specifically what the issue is.
We have about 400 fields in res partner and over 40,000. records. but disk space-wise we are still under 1% and our bandwidth usage is also very low.
Would indexing all fo the fields help? Ie there a type of log that would tell us what specifically is loading slow or running into errors? Kw_call/re.partner/read but that seems to just be res.partner in general. how do I isolate and fix this issue?
Also for some reason, every field made in res.partner is duplicated into res.user. I can't figure out why this would be occurring or who to turn it off.
Oh and it's odoo 11