2008-07-01 15:58:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2008-07-01 11:15:14 +00:00
<!--
2012-02-28 08:36:44 +00:00
Analytic Account form
2012-06-07 12:36:41 +00:00
-->
2012-05-29 10:39:49 +00:00
<act_window
2012-06-15 10:24:54 +00:00
id="action_sales_order"
2012-06-15 13:36:39 +00:00
name="Sales Orders"
2012-06-15 10:24:54 +00:00
res_model="sale.order"
2012-05-29 10:39:49 +00:00
src_model="account.analytic.account"
2012-06-15 13:36:39 +00:00
/>
2012-06-15 09:31:44 +00:00
2012-06-14 10:01:23 +00:00
<record id= "account_analytic_account_form_form" model= "ir.ui.view" >
2012-02-28 08:36:44 +00:00
<field name= "name" > account.analytic.account.invoice.form.inherit</field>
<field name= "model" > account.analytic.account</field>
2012-05-28 10:43:10 +00:00
<field name= "inherit_id" ref= "analytic.view_account_analytic_account_form" />
2012-06-15 09:38:45 +00:00
<field eval= "40" name= "priority" />
2008-06-29 08:26:07 +00:00
<field name= "arch" type= "xml" >
2012-06-22 09:10:08 +00:00
<xpath expr= '//div[@name="duration"]' position= "after" version= "7.0" >
2012-06-15 08:44:24 +00:00
<label for= "quantity_max" />
<div >
2012-06-26 11:02:35 +00:00
<field name= "quantity_max" class= "oe_inline" /> / Remaining: <field name= "remaining_hours" class= "oe_inline" />
2012-06-15 08:44:24 +00:00
</div>
2012-05-28 12:30:54 +00:00
</xpath>
2012-06-25 15:55:40 +00:00
<xpath expr= '//group[@name="invoice_on_timesheets"]' position= "replace" >
<group name= 'invoice_on_timesheets' string= "Invoice on Timesheets Options" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" col= "4" >
<field name= "pricelist_id" attrs= "{'required': [('invoice_on_timesheets', '=', True)]}" />
<field name= "to_invoice" widget= "selection" attrs= "{'required': [('invoice_on_timesheets', '=', True)]}" />
2012-06-19 12:21:28 +00:00
</group>
</xpath>
2012-06-15 08:44:24 +00:00
<xpath expr= '//group[@name="master"]' position= 'after' >
2012-06-15 08:49:44 +00:00
<separator name= "toinvoice" string= "Invoicing" />
2012-06-15 09:07:38 +00:00
<table width= "100%%" >
2012-06-15 08:44:24 +00:00
<tr >
<th > </th>
<th > </th>
<th > <label string= "Est.Tot" /> </th>
<th > <label string= "Invoiced" /> </th>
<th > <label string= "Remaining" /> </th>
<th > <label string= "To Invoice" /> </th>
<th > </th>
</tr> <tr >
<td >
<label for= "fix_price_invoices" />
</td> <td >
2012-06-26 11:02:35 +00:00
<field name= "fix_price_invoices" class= "oe_inline" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "amount_max" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "ca_invoiced" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "remaining_ca" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "fix_price_to_invoice" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-15 13:36:39 +00:00
<button name= "%(action_sales_order)d" string= "All Sales" type= "action" context= "{'default_partner_id': [partner_id], 'search_default_partner_id': [partner_id],'search_default_project_id': [active_id],'default_project_id': [active_id]}" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
2012-06-26 11:02:35 +00:00
<button name= "open_sale_order_lines" string= "Lines To Invoice" type= "object" context= "{'default_partner_id': [partner_id],'default_project_id': active_id,'search_default_uninvoiced': 1,'search_default_project_id': active_id,'search_default_partner_id': [partner_id]}" attrs= "{'invisible': [('fix_price_invoices','=',False)]}" />
</td>
2012-06-15 09:31:44 +00:00
</tr> <tr attrs= "{'invisible':[('use_timesheets','=',False)]}" >
2012-06-15 08:44:24 +00:00
<td >
<label for= "invoice_on_timesheets" />
</td> <td >
2012-06-15 08:49:44 +00:00
<field name= "invoice_on_timesheets" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "hours_qtt_est" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "timesheet_ca_invoiced" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "remaining_hours_to_invoice" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field class= "oe_inline" name= "ca_to_invoice" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-15 12:25:48 +00:00
<button name= "%(hr_timesheet.act_hr_timesheet_line_evry1_all_form)d" string= "All Timesheets" type= "action" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" context= "{'default_account_id': active_id,'search_default_account_id': active_id}" />
2012-06-15 10:24:54 +00:00
<button name= "%(hr_timesheet_invoice.act_acc_analytic_acc_2_report_acc_analytic_line_to_invoice)d" string= "Timesheets to Invoice" type= "action" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td>
2012-06-18 12:29:30 +00:00
</tr> <tr name= 'total' >
2012-06-15 09:07:38 +00:00
<th >
2012-06-15 08:44:24 +00:00
<label string= "Total" />
2012-06-15 09:07:38 +00:00
</th> <td >
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field name= "est_total" class= "oe_inline" attrs= "{'invisible': [('invoice_on_timesheets','=',False)]}" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field name= "invoiced_total" class= "oe_inline" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field name= "remaining_total" class= "oe_inline" />
2012-06-15 08:44:24 +00:00
</td> <td >
2012-06-26 11:02:35 +00:00
<field name= "toinvoice_total" class= "oe_inline" />
2012-06-15 08:44:24 +00:00
</td> <td >
</td>
</tr>
</table>
2012-06-14 10:07:53 +00:00
</xpath>
2008-06-29 08:26:07 +00:00
</field>
</record>
2008-07-01 11:15:14 +00:00
2012-02-28 08:36:44 +00:00
<record id= "view_account_analytic_account_tree_c2c_3" model= "ir.ui.view" >
<field name= "name" > account.analytic.account.tree</field>
<field name= "model" > account.analytic.account</field>
2008-07-01 15:58:58 +00:00
<field name= "inherit_id" ref= "account.view_account_analytic_account_list" />
2012-02-28 08:36:44 +00:00
<field name= "arch" type= "xml" >
<field name= "date" position= "before" >
2008-06-29 08:26:07 +00:00
<field name= "last_invoice_date" />
2012-06-19 12:21:28 +00:00
<field name= "toinvoice_total" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2012-06-19 12:21:28 +00:00
2012-05-28 09:19:10 +00:00
<record id= "template_of_contract_action" model= "ir.actions.act_window" >
2012-06-07 07:39:28 +00:00
<field name= "name" > Template of Contract</field>
2012-05-28 09:19:10 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > account.analytic.account</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "domain" > [('type','=','template')]</field>
<field name= "context" > {'search_default_type':'template','default_type' : 'template'}</field>
</record>
2012-06-15 13:10:56 +00:00
<menuitem action= "template_of_contract_action" id= "menu_template_of_contract_action" parent= "base.menu_base_config" />
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>