How to create Multiple warehouses for different companies in multi companies environment in odoo 8.0,
The company_id field is readonly by default in object level - whether this has been done for specific reasons or we can change the property for the company_id field.
If you want all your companies to access all Warehouses
Make sure the owner is the last child in the family tree
-> XYZ Company
-> PQR Company "Warehouse Owner Company"
Now trying to address your primary question
Each warehouse can be assigned different address in it's configuration as mentioned by Mathias Neef, but it will have Owner as the one through which you have logged in or is an active company
Create Warehouses with Owner as PQR Company. This is only if you want all employees of your multiple companies to access all Warehouses. Add them for PQR company in allowed companies in user preferences.
Since the warehouse_id is only read only, and the shop feature being removed you have to switch companies from -> Administrator (user name mentioned on top right) -> Preferences, where the user can see his allowed companies and change them i.e. activate them. All actions taken, like sales order or purchase order or product / warehouse creation, the Company ID would be the one he selects / activates in preferences. So if you go to preferences and activate PQR as user's company, and then create a warehouse, the Warehouse Owner would be PQR Company. Since PQR is at the bottom of family tree, all employees will be able to see that warehouse.
Also make sure when you create a New Product, the Owner of the product should be None, else in Delivery order's the company ID changes to product owner's ID and reports get printed through PQR "Warehouse Owner Company"
Normaly you can configure this in [Warehouses]->[Configuration]->[Warehouses] & [Location].
Create a new warehouse with the address of one of your company.
This will automaticly create a location of your warehouse named "Stock". If you need more, you can add sub-locations by adding your stock as parent location.
If this is not the right answer, please specify your qestion.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/21/14, 12:18 AM|
|Seen: 3679 times|
|Last updated: 3/16/15, 8:10 AM|