Hello everyone again,
I have another request for help here, if you guys can lend a hand....
Basically I have a button that connects between two views 'Receipts' and 'Subcontrating Delivery', what I want, and I have not yet figured out how, is that when I am inside the 'Receipts' view the name that appears on the button is for example "OUTsub" and when I am in the 'Subcontrating Delivery' view it appears "IN", just an example...
How do I create this condition in the xml, can anyone give me a hand? 
This is my XML with the necessary settings
Thanks 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
            
                1
                
                    Balas
                
            
        
        
            
                2207
                
                    Tampilan
                
            
        
    Hi
Try the code below,
<button name='<action_name' string="OUTsub" attrs="{'
<button name='<action_name' string="IN" attrs="{'
Hope it helps
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|  | 1 Jul 23  | 2933 | ||
|  | 1 Jun 23  | 2196 | ||
| 
            
                color for button based on state
            
            
                    Diselesaikan
            
         |  | 1 Jun 23  | 3518 | |
|  | 2 Agu 23  | 2517 | ||
|  | 1 Jun 23  | 2739 | 
 
                        
Thank you very much for your help! :)