1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="project_account_analytic_account_form" model="ir.ui.view">
5 <field name="name">project.project.form.inherit</field>
6 <field name="model">project.project</field>
7 <field name="type">form</field>
8 <field name="inherit_id" ref="project.edit_project"/>
9 <field eval="18" name="priority"/>
10 <field name="arch" type="xml">
11 <xpath expr='//page[@name="team"]' position='before'>
12 <page string="Contract Data">
13 <group col="4" colspan="4">
14 <group colspan="2" col= "2" class="oe_form_group_label_border">
15 <separator colspan="2" string="Validity"/>
16 <field name="date_start"/>
18 <group col="6" colspan="2" class="oe_form_group_label_border">
19 <field name="quantity_max"/>
20 <field name="company_uom_id" nolabel="1" readonly="1"/>
21 <field name="remaining_hours" string="/ Remaining"/>
24 <group colspan="2" col= "2" class="oe_form_group_label_border">
25 <separator colspan="2" string="Invoice Rate"/>
26 <field name="manager_id" />
27 <field name="pricelist_id" attrs="{'invisible': [('invoice_on_timesheets','=',0)]}"/>
28 <field name="to_invoice" widget="selection" attrs="{'invisible': [('invoice_on_timesheets','=',0)]}"/>
31 <separator colspan="4" string="Invoicing"/>
32 <group colspan="4" col="6">
34 <div class="oe_field_label" colspan="2"/>
35 <group colspan="4" col="6">
36 <div class="oe_field_label_bold">Est.Tot</div>
37 <div class="oe_field_label_bold">Invoiced</div>
38 <div class="oe_field_label_bold">Remaining</div>
39 <div class="oe_field_label_bold">To Invoice</div>
40 <div class="oe_btn_width_small"/>
41 <div class="oe_btn_width"/>
46 <field class="oe_field_label" name="fix_price_invoices" />
47 <group colspan="4" col="6" attrs="{'invisible': [('fix_price_invoices','=',False)]}">
48 <field class="oe_float_field" name="amount_max" nolabel="1" />
49 <field class="oe_float_field" name="ca_invoiced" nolabel="1" />
50 <field class="oe_float_field" name="remaining_ca" nolabel="1" />
51 <field class="oe_float_field" name="ca_to_invoice" nolabel="1" />
52 <div><button class="oe_btn_width_small" icon="terp-check" name="%(account_analytic_analysis.action_sales_order_line)d" string="Sales" type="action" context="{'default_project_id': active_id,'search_default_project_id': active_id}"/></div>
53 <div><button class="oe_btn_width" icon="terp-dolar_ok!" name="%(sale.action_order_line_tree2)d" string="Lines To Invoice" type="action" context="{'default_project_id': active_id,'search_default_project_id': active_id}"/></div>
56 <field class="oe_field_label" name="invoice_on_timesheets"/>
57 <group colspan="4" col="6" attrs="{'invisible': [('invoice_on_timesheets','=',False)]}">
58 <field class="oe_float_field" name="hours_qtt_est" nolabel="1" />
59 <field class="oe_float_field" name="hours_qtt_invoiced" nolabel="1"/>
60 <field class="oe_float_field" name="remaining_hours" nolabel="1" />
61 <field class="oe_float_field" name="hours_qtt_non_invoiced" nolabel="1" />
62 <div><button class="oe_btn_width_small" icon="terp-go-week" name="%(hr_timesheet.act_hr_timesheet_line_evry1_all_form)d" string="Timesheets" type="action" /></div>
63 <div><button class="oe_btn_width" icon="terp-dolar" name="%(hr_timesheet_invoice.act_acc_analytic_acc_2_report_acc_analytic_line_to_invoice)d" string="Invoice Timesheets" type="action"/></div>
68 <div class="oe_field_label oe_border_right" style="max-width:200px;" colspan="2">Total </div>
69 <group colspan="4" col="6" >
70 <field name="est_total" nolabel="1" class="oe_float_field oe_border_top"/>
71 <field name="invoiced_total" nolabel="1" class="oe_float_field oe_border_top"/>
72 <field name="remaining_total" nolabel="1" class="oe_float_field oe_border_top"/>
73 <field name="toinvoice_total" nolabel="1" class="oe_float_field oe_border_top"/>
74 <div class="oe_btn_width_small"/>
75 <div class="oe_btn_width"/>
78 <separator string="Terms and Conditions" colspan="4" name="description"/>
79 <field colspan="4" name="description" nolabel="1"/>