跳至内容
菜单
此问题已终结
2 回复
4121 查看

I have a scenario where there are many warehouses in the same company and each warehouse has a different manager.

How can I create a manager for each warehouse so that all he can see is the operation and activities of the warehouse he is managing?

Record rules comes to mind immediately but i'm hoping there's a simpler way.

形象
丢弃
最佳答案

Hi Ademola,

First of all you have to enable Multiple warehouse feature of odoo..

You can do that by following steps:-

Settings==>Configuration==>Location & Warehouse --> check the feature Manage multiple locations and warehouses

From now you can access Locations from:-

Warehouse==> Locations

Then you can use Owner as Manager and give him access right by customization or

you can create a field Manager like:-

manager = filelds.Many2one('res.partner', 'Manager')

and use this for further customization

形象
丢弃
编写者 最佳答案

Thanks for your response Baiju. I was hoping there was an easier way than this but I guess my worry has been confirmed with your response. Looks like I will have to create a new field so that the Owner field is left intact to do what it was originally designed to do.

Do you have an idea what I can do about this: https://www.odoo.com/forum/help-1/question/how-to-handle-raw-materials-from-different-locations-69947?

 

形象
丢弃
相关帖文 回复 查看 活动
2
11月 24
1377
0
9月 21
2167
1
3月 15
7601
1
7月 24
4287
4
5月 25
8574