Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4575 Vues

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

Avatar
Ignorer
Meilleure réponse

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


Avatar
Ignorer
Auteur

thanks for help

but i need it to be created automatically after creating WH

Updated the answer.Please check

Meilleure réponse

Do this via the Operation Types Menu.

Avatar
Ignorer
Auteur

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"

Auteur

i mean from code

Publications associées Réponses Vues Activité
1
nov. 24
3387
2
avr. 23
18475
1
mars 23
2587
4
août 24
24555
0
déc. 21
2634