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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
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
Why not look at the source code? https://github.com/odoo/odoo/blob/14.0/addons/stock/models/res_company.py#L176
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
พ.ย. 24
|
2786 | ||
|
2
เม.ย. 23
|
17416 | ||
|
1
มี.ค. 23
|
2055 | ||
|
4
ส.ค. 24
|
23510 | ||
|
0
ธ.ค. 21
|
2299 |