Community mailing list archives

Re: [8.0] multi-company - ownership of SO

Eric Caudal (Odoo Community Association)
- 03/20/2015 20:57:33
For operations the best/simplest setup is company to be siblings, not parent/child.
Parent company is used for consolidation/statistics or for the tree view.

2015-03-20 18:27 GMT+08:00 Nuria Arranz Velazquez <>:
We saw the same issue last year, I'd be really interested to know what's the reason behind it too.

On 19/03/15 14:40, Gunnar Wagner wrote:
<blockquote cite="" type="cite">

I have a multi-company installation

2 companies in a parent/child setup. Both Companies have separate Chart of Accounts and it's own warehouse.
Both companies have customers, odoo users are users of the parent.

I want to be able to create Sales Order for both companies alike.

At first I would imagine ownership of a SO should be triggered by the customer (and which company it belongs to).
Secondly I heard that ownership of the warehouse you assign a SO to decides about which of your companies 'ownes' the SO.

Now ... when creating an SO the 2nd options actually seems to work.

Warehouse: parent    Company = parent
Warehouse: child    Company = child

unfortunately as soon as Iyou click "Save" the Company switches to the company the user who is creating the SO belongs to. So, it looks like you'd need to change company of your user to decide ownership of your SO.
Is this a bug or is there any advantage/internal logic behind this. I came across a module called multi_company_extend, which I have (due to lack any other public repository) put on my own github.
Installing this actually removes the faulty behavior and makes the Ownership of a SO related to the selected warehouse) 'savable'

I'd rather not depend on another custom module for such a basic thing and wonder whether this problem can be solved by a better configuration or by fixing the bug (if it is one) causing this error (assuming that this is not wanted behavior)

Post to:

N. Arranz-Velazquez
OpusVL Odoo Specialist Team (OOST)

Drury House
Drury Lane
CV21 3DE

T: 01788 298 450

Post to:

+86 186 21 36 16 70