Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
2581 Ansichten
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


Avatar
Verwerfen
Beste Antwort
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
    

Avatar
Verwerfen
Autor Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Juli 24
2133
1
Dez. 23
2677
2
Aug. 23
2347
1
Dez. 23
4114
1
Juli 23
2949