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

hi all
after create warehouse (in stock -> configuration -> warehouse)
automatically it create three operation types (stock.picking.type)
i need to add new one also automatically with
Operation type : intact
Type of Operation : Internal Transfer
any help
Thanks

形象
丢弃
最佳答案

Go to inventory --> Configurations -->Operation types-->Add New 
You need to activate storage locations to be able to do internal operation types.





Or you want to give it by code.There is a method inside create function in stock.warehouse model.ie _create_or_update_sequences_and_picking_types  and then the picking types are created from  _get_picking_type_create_values
Check these methods.

Hope this help


形象
丢弃
编写者

thanks for help

but i need it to be created automatically after creating WH

Updated the answer.Please check

最佳答案

Do this via the Operation Types Menu.

形象
丢弃
编写者

Thanks for reply

i mean that :

after i created a Warehouse then automatically odoo created 3 operations types for this Warehouse ( Internal Transfers - Delivery Orders - Receipts)

i need it to create 4 operations types by adding new one called "intact"

编写者

i mean from code

相关帖文 回复 查看 活动
1
11月 24
2377
2
4月 23
16625
1
3月 23
1745
4
8月 24
22905
0
12月 21
2024