Quellcode durchsuchen

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

SEBAS vor 3 Monaten
Ursprung
Commit
c84ab8d489
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      views/sale_view.xml

+ 3 - 3
views/sale_view.xml

@@ -11,7 +11,7 @@
                 <button name="action_button_confirm" states="sent" position="after">
                     <button name="order_process_now" string="Procesar Venta" type="object" states="draft,sent" groups="base.group_user"/>
                 </button>
-                
+
                 <!-- Enviar por Mail -->
                 <button name="action_quotation_send" position="replace">
                     <button name="action_quotation_send" string="Send by Email" type="object" states="draft" class="oe_highlight" groups="base.group_user" invisible="1"/>
@@ -41,7 +41,7 @@
                     <button name="invoice_cancel" states="invoice_except" string="Cancel Order" groups="base.group_user" invisible="1"/>
                 </button>
                 <button name="cancel" position="replace">
-                    <button name="cancel" states="draft,sent" string="Cancel Quotation" groups="base.group_user" invisible="1"/>
+                    <button name="cancel" states="sent" string="Cancel Quotation" groups="base.group_user" invisible="1"/>
                 </button>
                 <button name="action_cancel" position="replace">
                     <button name="action_cancel" states="manual,progress" string="Cancel Order" type="object" groups="base.group_user" invisible="1"/>
@@ -63,6 +63,6 @@
             <field eval="'sale.order'" name="model"/>
             <field name="name">Fast Confirm</field>
             <field eval="'ir.actions.server,%d'%order_process_now_action" name="value"/>
-        </record>        
+        </record>
     </data>
 </openerp>