Community mailing list archives

Re: Multi company/product question

Graeme Gellatly
- 04/09/2015 23:52:51
Just leave company_id blank.


Stock is based on locations, cost is a property field of product.product.

Categories have no concept of company except that all the accounting fields are properties so are shared by default.  The only trick is when you create a new category you need to go into it in each company and set the property fields unless you have a really basic setup and can default them all, and only create categories with a user with access rights to all companies.  Even then it sometimes doesn't seem to quite work but I've never really got to the bottom of it.  Same with product taxes etc (taxes aren't properties but acl's still get in the way) and any other property field.

On Fri, Apr 10, 2015 at 3:42 PM, OpenERP Master <> wrote:

I have a several part question.

I have a scenario where there are multiple companies. Parent company and some child companies. I want the product to belong to all companies. I noticed that company_id was a field on product.template and not a property field. I am not sure of the exact requirements, but I may want to have different cost and stock per company while having 1 product record in the database.

When I switch between companies I can still see the product, but it always belongs to the company it was created under. I would also like to have a company shared category tree. Is there some work I can look at from someone, some module, etc, or some advise/direction would be appreciated.

Additionally, I thought the way Odoo switches companies by default was not user intuitive. I found a module that does this and it works well, however when I switch companies it redirects me to the default message screen. In the v7 module, it reloads the current view. Any comments?

Post to: