I manage to display button to outgoing by adding :
attrs="{'invisible': [('picking_type_code', '!=', 'outgoing')]
How can I display it also in PICK?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I manage to display button to outgoing by adding :
attrs="{'invisible': [('picking_type_code', '!=', 'outgoing')]
How can I display it also in PICK?
stock.picking.type has 3 type of opration
1) Receipt -> incomming
2) Delivery -> outgoing
3) Internal Transfer -> internal
As per your requirement and attrs domain you want to see your custom button for delivery and internal. so we nee do hide button for incoming (receipt) and domain would be following
attrs="{'invisible': [('picking_type_code', '=', 'incoming')]
Thanks & Regards,
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
I use delivery in 2 steps and the picking operation (PICK)is the first one to be processed
i try this but it not worked :
attrs="{ 'invisible': [ ('picking_type_id.sequence_code ', '!=', 'PICK')]}"/>
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 7 24
|
2131 | ||
|
1
thg 12 23
|
2676 | ||
|
2
thg 8 23
|
2341 | ||
|
1
thg 12 23
|
4108 | ||
|
1
thg 7 23
|
2945 |