Browse Source

[IMP] v7 view style

pull/2/head
Guewen Baconnier @ Camptocamp 12 years ago
parent
commit
23755acecf
  1. 22
      analytic_hours_block/hours_block_view.xml

22
analytic_hours_block/hours_block_view.xml

@ -40,17 +40,27 @@
<field name="name">account.hours.block.form</field> <field name="name">account.hours.block.form</field>
<field name="model">account.hours.block</field> <field name="model">account.hours.block</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Invoice">
<field name="type" />
<field name="invoice_id" />
<form string="Hours Blocks" version="7.0">
<sheet>
<h1>
<field name="invoice_id" placeholder="Choose an invoice..."/>
<label for="type" string="Based on:" class="oe_inline"/>
<field name="type" class="oe_inline"/>
</h1>
<group>
<field name="last_action_date" /> <field name="last_action_date" />
<field name="close_date" /> <field name="close_date" />
<group col="6" colspan="4">
<separator colspan="6" string="Hours Quantity / Amount"/>
</group>
<group>
<separator colspan="4" string="Hours Quantity / Amount"/>
<field name="amount_hours_block" string="Bought"/> <field name="amount_hours_block" string="Bought"/>
<field name="amount_hours_block_done" string="Used"/> <field name="amount_hours_block_done" string="Used"/>
<field name="amount_hours_block_delta" string="Difference"/> <field name="amount_hours_block_delta" string="Difference"/>
</group> </group>
<group>
<separator colspan="4" string="Invoice's related information"/> <separator colspan="4" string="Invoice's related information"/>
<field name="date_invoice"/> <field name="date_invoice"/>
<field name="name"/> <field name="name"/>
@ -67,6 +77,8 @@
<field name="residual" sum="Residual Amount"/> <field name="residual" sum="Residual Amount"/>
<field name="amount_total" sum="Total Amount"/> <field name="amount_total" sum="Total Amount"/>
<field name="state"/> <field name="state"/>
</group>
</sheet>
</form> </form>
</field> </field>
</record> </record>

Loading…
Cancel
Save