2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2011-11-16 14:59:58 +00:00
<menuitem id= "base.menu_invoiced" name= "Invoicing" parent= "base.menu_base_partner" sequence= "5" />
2008-10-08 09:38:21 +00:00
2008-10-29 15:16:39 +00:00
<record id= "action_hr_tree_invoiced_all" model= "ir.actions.act_window" >
2012-02-24 06:12:20 +00:00
<field name= "name" > Time & Costs to Invoice</field>
2008-10-29 15:16:39 +00:00
<field name= "res_model" > account.analytic.line</field>
<field name= "view_type" > form</field>
2009-01-28 12:00:44 +00:00
<field name= "view_mode" > tree,form</field>
2011-04-06 06:36:23 +00:00
<field name= "domain" > [('invoice_id','=',False)]</field>
2011-12-08 15:26:58 +00:00
<field name= "context" > {'search_default_to_invoice': 1}</field>
2009-12-09 13:38:11 +00:00
<field name= "search_view_id" ref= "account.view_account_analytic_line_filter" />
2008-10-29 15:16:39 +00:00
</record>
2012-02-24 11:35:18 +00:00
<menuitem action= "action_hr_tree_invoiced_all" id= "menu_action_hr_tree_invoiced_all" parent= "base.menu_invoiced" sequence= "5" />
2011-04-22 08:54:46 +00:00
<record id= "view_account_analytic_account_overdue_search" model= "ir.ui.view" >
<field name= "name" > account.analytic.account.search</field>
<field name= "model" > account.analytic.account</field>
<field name= "arch" type= "xml" >
<search string= "Analytic Account" >
2012-07-19 11:16:22 +00:00
<field name= "name" filter_domain= "['|', ('name','ilike',self),('code','ilike',self)]" string= "Contract" />
<field name= "date" />
<filter icon= "terp-camera_test" name= "open" string= "Open" domain= "[('state','in',('open','draft'))]" help= "Contracts in progress" />
<filter icon= "terp-gtk-media-pause" name= "pending" string= "Pending" domain= "[('state','=','pending')]" help= "Pending contracts to renew with your customer" />
<separator />
<filter icon= "terp-go-today" string= "To Renew" domain= "['|', '&', ('date', '!=', False), ('date', '<=', time.strftime('%%Y-%%m-%%d')), ('is_overdue_quantity', '=', True)]" name= "renew"
help="The contracts to be renewed because the deadline is passed or the working hours are higher than the allocated hours" />
<separator />
<filter string= "Contracts Having a Partner" help= "A contract in OpenERP is an analytic account having a partner set on it." name= "has_partner" domain= "[('partner_id', '!=', False)]" icon= "terp-partner" />
<separator />
<filter string= "Contracts not assigned" help= "Contracts that are not assigned to an account manager." domain= "[('user_id', '=', False)]" icon= "terp-personal-" />
2012-07-31 11:28:04 +00:00
<field name= "partner_id" />
<field name= "user_id" />
2011-04-22 08:54:46 +00:00
<group expand= "0" string= "Group By..." >
2012-05-04 11:57:48 +00:00
<filter string= "Status" icon= "terp-personal" domain= "[]" context= "{'group_by':'state'}" />
2012-02-09 16:15:44 +00:00
<filter string= "Responsible" icon= "terp-personal" domain= "[]" context= "{'group_by':'user_id'}" />
<filter string= "Partner" icon= "terp-partner" domain= "[]" context= "{'group_by':'partner_id'}" />
2011-04-22 08:54:46 +00:00
<filter string= "Parent" icon= "terp-folder-orange" domain= "[]" context= "{'group_by':'parent_id'}" />
<filter string= "Start Date" icon= "terp-go-month" domain= "[]" context= "{'group_by' : 'date_start'}" />
<filter string= "End Date" icon= "terp-go-month" domain= "[]" context= "{'group_by' : 'date'}" />
</group>
</search>
</field>
</record>
2011-11-16 15:09:18 +00:00
<record id= "action_account_analytic_overdue" model= "ir.actions.act_window" >
<field name= "name" > Contracts to Renew</field>
<field name= "res_model" > account.analytic.account</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,graph</field>
2012-05-28 09:19:10 +00:00
<field name= "context" > {'search_default_user_id':uid, 'search_default_draft':1, 'search_default_pending':1, 'search_default_open':1, 'search_default_renew':1}</field>
2012-06-15 13:10:56 +00:00
<field name= "domain" > [('type','=','contract')]</field>
2011-11-16 15:09:18 +00:00
<field name= "search_view_id" ref= "view_account_analytic_account_overdue_search" />
2012-08-04 14:35:56 +00:00
<field name= "help" type= "html" >
2012-08-04 13:56:31 +00:00
<p class= "oe_view_nocontent_create" >
2012-08-04 13:21:36 +00:00
Click to define a new contract.
</p> <p >
You will find here the contracts to be renewed because the
end date is passed or the working effort is higher than the
maximum authorized one.
</p> <p >
OpenERP automatically sets contracts to be renewed in a pending
state. After the negociation, the salesman should close or renew
pending contracts.
</p>
</field>
2011-11-16 15:09:18 +00:00
</record>
<menuitem action= "action_account_analytic_overdue" id= "menu_action_account_analytic_overdue" sequence= "50" parent= "base.menu_invoiced" />
<record id= "action_account_analytic_overdue_all" model= "ir.actions.act_window" >
<field name= "name" > Contracts</field>
<field name= "res_model" > account.analytic.account</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,graph</field>
2012-05-28 09:19:10 +00:00
<field name= "context" > {'default_type':'contract'}</field>
2012-06-15 12:48:28 +00:00
<field name= "domain" > [('type','=','contract')]</field>
2011-11-16 15:09:18 +00:00
<field name= "search_view_id" ref= "view_account_analytic_account_overdue_search" />
</record>
<menuitem id= "base.menu_sales" name= "Sales"
parent="base.menu_base_partner"
sequence="1"/>
2012-07-03 07:25:58 +00:00
<menuitem action= "action_account_analytic_overdue_all" id= "menu_action_account_analytic_overdue_all" sequence= "7" parent= "base.menu_sales" />
2011-11-16 15:09:18 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>