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 15:58:58 +00:00
<record id= "account_analytic_account_form_form" model= "ir.ui.view" >
<field name= "name" > account.analytic.account.invoice.form</field>
<field name= "model" > account.analytic.account</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "account.view_account_analytic_account_form" />
<field name= "arch" type= "xml" >
2012-03-30 12:57:02 +00:00
<field name= "partner_id" position= "replace" >
<field name= "partner_id" on_change= "on_change_partner_id(partner_id, context)" />
</field>
2011-11-16 14:59:58 +00:00
<group name= "contract" position= "after" >
2012-06-07 17:30:07 +00:00
<group name= "invoice_data" >
2011-11-16 14:59:58 +00:00
<separator colspan= "2" string= "Invoicing Data" />
<field name= "to_invoice" widget= "selection" />
2012-03-21 10:01:44 +00:00
<field name= "pricelist_id" groups= "product.group_sale_pricelist" domain= "[('type','=','sale')]" attrs= "{'required':[('to_invoice','!=',False)]}" />
2008-10-27 15:29:13 +00:00
<field name= "amount_max" />
2011-11-16 14:59:58 +00:00
</group>
2012-06-07 17:30:07 +00:00
<group name= "invoice_stats" >
2011-11-16 14:59:58 +00:00
<separator colspan= "4" string= "Invoicing Statistics" />
2008-10-27 15:29:13 +00:00
<field name= "amount_invoiced" />
</group>
2011-11-16 14:59:58 +00:00
</group>
2012-04-30 07:15:42 +00:00
<xpath expr= "/form/sheet" position= 'before' >
2012-06-04 12:11:39 +00:00
<header >
2012-05-22 09:14:45 +00:00
<button name= "set_pending" string= "Pending" type= "object" states= "open" />
<button name= "set_close" string= "Close" type= "object" states= "open,pending" />
<button name= "set_open" string= "Re-open project" type= "object" states= "pending,cancelled,close,draft" />
<button name= "set_cancel" string= "Cancel" type= "object" states= "open,pending" />
2012-06-04 10:50:56 +00:00
<field name= "state" readonly= "1" widget= "statusbar"
2012-04-30 07:15:42 +00:00
statusbar_visible="open,pending,close" statusbar_colors='{"pending":"red", "template":"blue"}'/>
2012-06-04 12:11:39 +00:00
</header>
2012-04-26 10:31:12 +00:00
</xpath>
2008-06-29 08:26:07 +00:00
</field>
</record>
2010-06-12 17:49:33 +00:00
2008-07-01 15:58:58 +00:00
<record id= "hr_timesheet_line_form" model= "ir.ui.view" >
<field name= "name" > hr.analytic.timesheet.form</field>
<field name= "model" > hr.analytic.timesheet</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "hr_timesheet.hr_timesheet_line_form" />
<field name= "arch" type= "xml" >
2012-06-08 11:20:00 +00:00
<xpath expr= "//group[@string='Accounting']" position= 'after' >
<group string= "Invoicing" >
<field name= "to_invoice" />
<field name= "invoice_id" />
</group>
2010-09-17 13:38:24 +00:00
</xpath>
2008-06-29 08:26:07 +00:00
</field>
</record>
2008-09-03 06:56:35 +00:00
2008-07-01 15:58:58 +00:00
<record id= "hr_timesheet_line_form2" model= "ir.ui.view" >
<field name= "name" > hr.analytic.timesheet.form2</field>
<field name= "model" > hr.analytic.timesheet</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "hr_timesheet.hr_timesheet_line_form" />
<field name= "arch" type= "xml" >
<field name= "account_id" position= "replace" >
2012-06-09 14:39:04 +00:00
<field domain= "[('type','=','normal'),('state', '<>', 'close')]" name= "account_id" on_change= "on_change_account_id(account_id)" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2008-09-03 06:56:35 +00:00
2008-07-01 15:58:58 +00:00
<record id= "hr_timesheet_line_tree" model= "ir.ui.view" >
<field name= "name" > hr.analytic.timesheet.tree</field>
<field name= "model" > hr.analytic.timesheet</field>
<field name= "type" > tree</field>
<field name= "inherit_id" ref= "hr_timesheet.hr_timesheet_line_tree" />
<field name= "arch" type= "xml" >
<field name= "amount" position= "after" >
<field name= "to_invoice" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2008-09-03 06:56:35 +00:00
2008-07-01 15:58:58 +00:00
<record id= "hr_timesheet_line_tree2" model= "ir.ui.view" >
<field name= "name" > hr.analytic.timesheet.tree2</field>
<field name= "model" > hr.analytic.timesheet</field>
<field name= "type" > tree</field>
<field name= "inherit_id" ref= "hr_timesheet.hr_timesheet_line_tree" />
<field name= "arch" type= "xml" >
2008-09-03 06:56:35 +00:00
2008-07-01 15:58:58 +00:00
<field name= "account_id" position= "replace" >
<field domain= "[('type','=','normal'),('state', '<>', 'close')]" name= "account_id" on_change= "on_change_account_id(account_id)" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2008-09-03 06:56:35 +00:00
2008-07-01 11:15:14 +00:00
<!-- Inherits for account analytic lines -->
2010-10-04 22:56:29 +00:00
<record id= "view_account_analytic_line_search_inherit" model= "ir.ui.view" >
<field name= "name" > account.analytic.line.search.to_invoice</field>
<field name= "model" > account.analytic.line</field>
<field name= "type" > search</field>
<field name= "inherit_id" ref= "account.view_account_analytic_line_filter" />
<field name= "arch" type= "xml" >
2010-12-29 13:18:49 +00:00
<field name= "date" position= "before" >
2011-12-28 10:48:10 +00:00
<filter name= "to_invoice" string= "To Invoice" context= "{'to_invoice': 1}" domain= "[('invoice_id','=',False), ('to_invoice','<>',False)]" icon= "terp-dolar" />
2011-12-28 21:58:07 +00:00
<filter name= "invoiced" string= "Invoiced" domain= "[('invoice_id','!=',False), ('to_invoice','<>',False)]" icon= "terp-dolar" />
2010-12-29 13:18:49 +00:00
<separator orientation= "vertical" />
</field>
2010-10-04 22:56:29 +00:00
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_account_analytic_line_tree_inherit" model= "ir.ui.view" >
<field name= "name" > account.analytic.line.tree.to_invoice</field>
<field name= "model" > account.analytic.line</field>
<field name= "type" > tree</field>
<field name= "inherit_id" ref= "account.view_account_analytic_line_tree" />
<field name= "arch" type= "xml" >
2010-10-04 22:56:29 +00:00
<field name= "account_id" position= "after" >
2008-07-01 15:58:58 +00:00
<field name= "to_invoice" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2010-11-19 12:09:31 +00:00
<record id= "view_account_analytic_line_form_inherit" model= "ir.ui.view" >
2008-07-01 15:58:58 +00:00
<field name= "name" > account.analytic.line.form.to_invoice</field>
<field name= "model" > account.analytic.line</field>
<field name= "type" > form</field>
<field name= "inherit_id" ref= "account.view_account_analytic_line_form" />
<field name= "arch" type= "xml" >
<field name= "product_uom_id" position= "after" >
<field name= "to_invoice" />
2010-10-04 22:56:29 +00:00
<field name= "invoice_id" />
2008-06-29 08:26:07 +00:00
</field>
</field>
</record>
2008-09-03 06:56:35 +00:00
2008-07-01 11:15:14 +00:00
<!-- Menus -->
2008-07-01 15:58:58 +00:00
<record id= "action_hr_analytic_timesheet_open_tree" model= "ir.actions.act_window" >
2010-10-11 12:46:07 +00:00
<field name= "name" > Bill Tasks Works</field>
2008-07-01 15:58:58 +00:00
<field name= "res_model" > account.analytic.line</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-10-04 22:56:29 +00:00
<field name= "domain" > []</field>
<field name= "context" > {'search_default_to_invoice': 1}</field>
2011-11-16 14:59:58 +00:00
<field name= "search_view_id" ref= "account.view_account_analytic_line_filter" />
2010-12-14 06:22:11 +00:00
<field name= "help" > This list shows you every task you can invoice to the customer. Select the lines and click the Action button to generate the invoices automatically.</field>
2008-07-01 15:58:58 +00:00
</record>
2010-06-12 17:49:33 +00:00
<menuitem
action="action_hr_analytic_timesheet_open_tree"
id="menu_hr_analytic_timesheet_tree"
2010-09-06 11:56:41 +00:00
parent="account.menu_finance_periodical_processing_billing"
sequence="1"/>
2008-09-03 06:56:35 +00:00
2010-10-14 04:39:13 +00:00
<record id= "view_hr_timesheet_invoice_factor_search" model= "ir.ui.view" >
<field name= "name" > hr_timesheet_invoice.factor.search</field>
<field name= "model" > hr_timesheet_invoice.factor</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Type of invoicing" >
<group >
2012-06-13 12:41:57 +00:00
<field name= "name" string= "Type of invoicing" filter_domain= "[('name','ilike',self)]" />
2010-10-14 04:39:13 +00:00
</group>
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_hr_timesheet_invoice_factor_form" model= "ir.ui.view" >
<field name= "name" > hr_timesheet_invoice.factor.form</field>
<field name= "model" > hr_timesheet_invoice.factor</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
2012-06-09 14:39:04 +00:00
<form string= "Type of invoicing" version= "7.0" >
2012-06-07 17:30:07 +00:00
<group col= "4" >
<field name= "name" />
<field name= "customer_name" />
<field name= "factor" />
</group>
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "view_hr_timesheet_invoice_factor_tree" model= "ir.ui.view" >
<field name= "name" > hr_timesheet_invoice.factor.tree</field>
<field name= "model" > hr_timesheet_invoice.factor</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Types of invoicing" >
<field name= "name" />
<field name= "customer_name" />
<field name= "factor" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "action_hr_timesheet_invoice_factor_form" model= "ir.actions.act_window" >
<field name= "name" > Types of Invoicing</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > hr_timesheet_invoice.factor</field>
<field name= "view_type" > form</field>
<field name= "view_id" ref= "view_hr_timesheet_invoice_factor_tree" />
2010-10-14 04:39:13 +00:00
<field name= "search_view_id" ref= "view_hr_timesheet_invoice_factor_search" />
2010-12-14 06:22:11 +00:00
<field name= "help" > OpenERP allows you to create default invoicing types. You might have to regularly assign discounts because of a specific contract or agreement with a customer. From this menu, you can create additional types of invoicing to speed up your invoicing.</field>
2008-06-29 08:26:07 +00:00
</record>
2010-06-12 17:49:33 +00:00
<menuitem
action="action_hr_timesheet_invoice_factor_form"
id="hr_timesheet_invoice_factor_view"
[IMP] Account: apply group_no_one on menus Periods,Account Types,Tax codes,Fiscal Positions, CODA Bank Account Configuration, CODA Transaction Types, CODA Transaction Codes,CODA Transaction Categories, CODA Structured Communication Types, Payment Mode, Types of Invoicing
bzr revid: jap@tinyerp.com-20120316122308-vv2w1488eoqxgpis
2012-03-16 12:23:08 +00:00
parent="account.menu_configuration_misc" sequence="25" groups="base.group_no_one"/>
2008-09-03 06:56:35 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>