Community mailing list archives
Re: Default multicompany errors?by
Apertoso, Jos De Graeve
The fact that there are many many models and many many rules, makes configuring multi company in odoo quite challenging for users who have no prior experience on this. If you feel up to the task, now you now where to look :)
The multicompany setup in odoo is thus based on a field "company_id" on a lot of models, and a lot of rules on these models that compare the current company of the user with the company_id field of a record.
These restrictions are confgured with "Record Rules". For many odoo models there are rules that define the criteria that a certain record must fulfil in order to be visible to the user.
Hello Gabriel,You are getting access errors because of the restrictions that have been configured ( by default ) on the different odoo models.
2014-08-21 10:33 GMT+02:00 Gabriel Franco <email@example.com>:
Hi everyone, I'm trying to configure an Odoo multicompany installation. And I've found what maybe errors, or maybe I'm not configuring correctly something, but I can't figure out what could be wrong. I have the main company (lets call it Main Company) and another one called Second Company. Main Company is, obviously, the parent company of Second Company. I create a new user for the Second Company (and only for it) and give it the desired permissions in every module. Once done, when the user logins gets an Access Error. Only logging, no action is neccessary. Is an Access Error related to the res.partner document type and the Operation read. This error appears repeatedly whenever the new user tries to create, for example, a new lead, opportunities, tasks... even having the maximum permissions for every module, keeps unable to do anything. Is there any extra configuration neccessary that I'm missing somehow? The steps I took were creating the new company and then the user with its permissions (and assigned to the company) nothing else.