[IMP] account : Improved menu-tips of sales receipt and highlighted the button.

bzr revid: mdi@tinyerp.com-20120606090729-unzey3c9qiocjtf1
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-06-06 14:37:29 +05:30
parent 74b251a733
commit 446647a785
2 changed files with 10 additions and 4 deletions

View File

@ -7,9 +7,11 @@
<field name="type">form</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<button name="invoice_open" position="after">
<button name="invoice_pay_customer" type="object" string="Register Payment"/>
</button>
<xpath expr="//button[@name='invoice_open']" position="after">
<div>
<button name="invoice_pay_customer" type="object" string="Register Payment" states="open" icon="gtk-go-forward" class="oe_form_button_hi"/>
</div>
</xpath>
</field>
</record>
<record id="view_invoice_supplier" model="ir.ui.view">

View File

@ -178,7 +178,11 @@
<field name="view_id" eval="False"/>
<field name="search_view_id" ref="view_voucher_filter_sale"/>
<field name="target">current</field>
<field name="help">When you sell products to a customer, you can give him a sales receipt or an invoice. When the sales receipt is confirmed, it creates journal items automatically and you can record the customer payment related to this sales receipt.</field>
<field name="help">
Click here to create a sale receipt.
&lt;p&gt;
When the sales receipt is confirmed, you can record the customer payment related to this sales receipt.
</field>
</record>
<record id="action_sale_receipt_tree" model="ir.actions.act_window.view">
<field eval="1" name="sequence"/>