Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2574 มุมมอง
I manage to display button to outgoing by adding :

attrs="{'invisible': [('picking_type_code', '!=', 'outgoing')]

How can I display it also in PICK?

RépondreCommentairePartager


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
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,



CandidRoot Solutions Pvt. Ltd.

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')]}"/>

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ค. 24
2133
1
ธ.ค. 23
2676
2
ส.ค. 23
2343
1
ธ.ค. 23
4108
1
ก.ค. 23
2947