Browse Source

Módulo para para validar de forma rápida ventas a factura

SEBAS 2 months ago
parent
commit
b6e853def2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      views/sale_view.xml

+ 3 - 2
views/sale_view.xml

@@ -20,9 +20,10 @@
                     <button name="action_button_confirm" states="sent" string="Confirm Sale" class="oe_highlight" type="object" groups="base.group_user" invisible="1"/>
                 </button>
 
+
                 <!-- Cancelar cotización (Hacer visible en estado 'draft') -->
-                <button name="cancel" position="replace">
-                    <button name="cancel" states="draft, sent" string="Cancel Quotation" type="object" groups="base.group_user" invisible="0"/> <!-- Cambiar invisible="1" a invisible="0" -->
+                <button name="action_cancel" position="replace">
+                    <button name="action_cancel" states="draft, sent" string="Cancel Quotation" type="object" groups="base.group_user" invisible="0"/> <!-- Cambiar invisible="1" a invisible="0" -->
                 </button>
 
                 <!-- Cancelar pedido -->