[IMP] purchase: added send button for to show for send state

bzr revid: cha@tinyerp.com-20121126054156-nxyd9jit826gdv4f
This commit is contained in:
Ajay Chauhan (OpenERP) 2012-11-26 11:11:56 +05:30
parent 91b9401b89
commit 445a6b005a
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@
<form string="Purchase Order" version="7.0">
<header>
<button name="wkf_send_rfq" states="draft" string="Send RFQ by Mail" type="object" context="{'send_rfq':True}" class="oe_highlight"/>
<button name="wkf_send_rfq" states="sent" string="Send RFQ by Mail" type="object" context="{'send_rfq':True}"/>
<button name="print_quotation" string="Print" type="object" states="draft" class="oe_highlight" groups="base.group_user"/>
<button name="print_quotation" string="Print" type="object" states="sent" groups="base.group_user"/>
<button name="purchase_confirm" states="draft" string="Confirm Order"/>