Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4424 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Autor

thanks for help

but i need it to be created automatically after creating WH

Updated the answer.Please check

Najlepsza odpowiedź

Do this via the Operation Types Menu.

Awatar
Odrzuć
Autor

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"

Autor

i mean from code

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 24
3200
2
kwi 23
18226
1
mar 23
2469
4
sie 24
24324
0
gru 21
2528