Browse Source

Módulo para ticket en factura de ventas

SEBAS 3 weeks ago
parent
commit
6e9dc080fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      views/invoice_button.xml

+ 2 - 1
views/invoice_button.xml

@@ -10,7 +10,8 @@
           <button name="action_print_ticket_direct"
           <button name="action_print_ticket_direct"
                   type="object"
                   type="object"
                   string="Imprimir Ticket"
                   string="Imprimir Ticket"
-                  class="oe_button"/>
+                  class="oe_button"
+                  attrs="{'invisible': [('type', '!=', 'out_invoice')]}"/>
         </xpath>
         </xpath>
       </field>
       </field>
     </record>
     </record>