Community mailing list archives

Re: multi-company setup with a virtual 'mother-company'

Numa Extreme Systems, Gustavo Marino
- 12/18/2014 12:21:24
There are some considerations in such a setup you should address:
  • Many documents (sale.order, purchase.order, etc) relay on onchange which lookup values based on current company (the company the user is using now). For example, all properties.
    If you are in the virtual company, trying to update a document in one of the children, you will end up with values coming from different company (most common: periods, taxes, accounts, fiscal positions)
  • In many selection widget you will get info from all the accesible companies, for example: journals from both children companies.
  • In some accounting reports you will mix information of both companies
There are other situations with problems, I am not completely aware of now. 

You could fix some problems changing the security settings of some objects like accounts, fiscal positions, taxes, etc
But, onchange methods (taking into account the company of the document instead of the current user's default company) could only be changed patching source code or adding additional modules.

A right answer for your case should need some time to be constructed

Best regards

Gustavo Adrian Marino


Mobile:  +54 911 5498 2515


Skype: gustavo.adrian.marino


<img border="0" width="213" height="94" src="cid:image001.jpg@01CC37F5.99B4CD20" alt="Descripción: Numa Logo V 1-0">

2014-12-18 7:56 GMT-03:00 Gunnar Wagner <>:

I would like to understand whether my basic multi-company setup is ok

I actually have 2 physical companies that (at a later stage) will have separate accounting. As all users have to be able to manage both companies issues I have setup a (virtual) mother company which has two same level children (my physical companies)
The virtual 'mother will not have any physical accounting as it only is there to organize access inside of Odoo. All odoo users are users of 'mother', so they can 'see' and handle all child companies issues.
Employees will be setup to the physical company which is paying the salaries. Does that sound like a reasonable sane setup?

What I am not really clear about whether it is a problem to have an Employee in 'child-1' which has  a related odoo-user which is 'mother'. I do not get any error message setting up such a construction.


Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad |

Post to: