Skip to content

Commit

Permalink
[FIX] cancel button of orignal view should be hide after installation…
Browse files Browse the repository at this point in the history
… of sale_cancel_reason module
  • Loading branch information
dhp-denero committed Jul 16, 2015
1 parent d0a2357 commit c2a8724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_cancel_reason/view/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button name="%(action_sale_order_cancel)d" states="manual,progress" string="Cancel Order" type="action" groups="base.group_user"/>
</xpath>
<xpath expr="//button[@name='cancel']" position="attributes">
<attribute name="invisible" eval="1"/>
<attribute name="invisible">True</attribute>
</xpath>
<xpath expr="//button[@name='cancel']" position="after">
<button name="%(action_sale_order_cancel)d" type="action" states="draft,sent" string="Cancel Quotation" groups="base.group_user"/>
Expand Down

0 comments on commit c2a8724

Please sign in to comment.