[IMP]sale : made send buttons red at draft state
authorAjay Chauhan (OpenERP) <cha@tinyerp.com>
Thu, 26 Jul 2012 09:01:25 +0000 (14:31 +0530)
committerAjay Chauhan (OpenERP) <cha@tinyerp.com>
Thu, 26 Jul 2012 09:01:25 +0000 (14:31 +0530)
bzr revid: cha@tinyerp.com-20120726090125-50nwqvimqgb82lej

addons/sale/sale_view.xml

index ac665df..a73f774 100644 (file)
                             <button name="invoice_corrected" states="invoice_except" string="Ignore Exception"/>
                             <button name="ship_recreate" states="shipping_except" string="Recreate Delivery Order"/>
                             <button name="ship_corrected" states="shipping_except" string="Ignore Exception"/>
-                            <button name="action_quotation_send" string="Send by Mail" type="object" states="draft,sent"/>
-                            <button name="print_quotation" string="Send by Post" type="object" states="draft,sent"/>
-                            <button name="action_button_confirm" states="draft" string="Confirm" type="object" class="oe_highlight"/>
+                            <button name="action_quotation_send" string="Send by Mail" type="object" states="draft" class="oe_highlight"/>
+                            <button name="action_quotation_send" string="Send by Mail" type="object" states="sent"/>
+                            <button name="print_quotation" string="Send by Post" type="object" states="draft" class="oe_highlight"/>
+                            <button name="print_quotation" string="Send by Post" type="object" states="sent"/>
+                            <button name="action_button_confirm" states="draft" string="Confirm" type="object"/>
                             <button name="action_button_confirm" states="sent" string="Confirm" class="oe_highlight" type="object"/>
                             <button name="action_view_invoice" string="Open Invoice" type="object" class="oe_highlight"
                               attrs="{'invisible': ['|','|',('state', '!=','progress'), ('invoiced', '=', True),('order_policy','=','picking')]}"/>