[MOD] hr_timesheet_invoice : improvements

bzr revid: vir@tinyerp.com-20101012132546-c7sq4k1b0602o6w0
This commit is contained in:
Vir (Open ERP) 2010-10-12 18:55:46 +05:30
parent be2fa62439
commit fc3b34ccc0
2 changed files with 12 additions and 8 deletions

View File

@ -80,7 +80,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<filter name="others" position="after"> <filter name="others" position="after">
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter name="to_invoice" string="To Invoice" context="{'to_invoice': 1}" domain="[('invoice_id','=',False),('to_invoice','&lt;&gt;',False)]" icon="terp-sale"/> <filter name="to_invoice" string="To Invoice" context="{'to_invoice': 1}" domain="[('invoice_id','=',False),('to_invoice','&lt;&gt;',False)]" icon="terp-dolar"/>
</filter> </filter>
</field> </field>
</record> </record>

View File

@ -10,13 +10,17 @@
<form string="Invoice analytic lines"> <form string="Invoice analytic lines">
<notebook colspan="4"> <notebook colspan="4">
<page string="Billing Data"> <page string="Billing Data">
<separator string="Do you want to show details of work in invoice ?" colspan="4"/> <group col="4" colspan="4">
<field name="date"/> <separator string="Do you want to show details of work in invoice ?" colspan="4"/>
<field name="time"/> <field name="date"/>
<field name="name"/> <field name="time"/>
<field name="price"/> <field name="name"/>
<separator string="Force to use a specific product" colspan="4"/> <field name="price"/>
<field name="product"/> </group>
<group col="2" colspan="4" groups="base.group_extended">
<separator string="Force to use a specific product" colspan="4" />
<field name="product"/>
</group>
</page> </page>
<page string="Filter on Accounts" groups="base.group_extended"> <page string="Filter on Accounts" groups="base.group_extended">
<separator string="Choose accounts you want to invoice" colspan="4"/> <separator string="Choose accounts you want to invoice" colspan="4"/>