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>
|
2012-06-15 08:12:54 +00:00
|
|
|
<field name="priority">30</field>
|
2012-05-28 10:43:10 +00:00
|
|
|
<field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-06-15 08:57:06 +00:00
|
|
|
<xpath expr='//separator[@name="description"]' position='before'>
|
2012-06-19 12:21:28 +00:00
|
|
|
<group string="Invoice on Timesheets Options" name="invoice_on_timesheets" col="4">
|
2012-06-15 08:57:06 +00:00
|
|
|
<field name="pricelist_id" />
|
|
|
|
<field name="to_invoice" widget="selection"/>
|
|
|
|
</group>
|
2012-06-06 15:36:29 +00:00
|
|
|
</xpath>
|
2012-06-15 08:12:54 +00:00
|
|
|
<xpath expr="//field[@name='use_timesheets']" position="replace">
|
2012-06-15 08:57:06 +00:00
|
|
|
<field name="use_timesheets" on_change="on_change_use_timesheets(use_timesheets, context)"/>
|
2012-06-15 08:12:54 +00:00
|
|
|
</xpath>
|
2012-04-30 07:15:42 +00:00
|
|
|
<xpath expr="/form/sheet" position='before'>
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2012-06-21 07:09:59 +00:00
|
|
|
<button name="set_pending" string="Pending" type="object" states="open" />
|
2012-06-25 12:36:35 +00:00
|
|
|
<button name="set_close" string="Close" type="object" states="open,pending" />
|
2012-06-21 07:09:59 +00:00
|
|
|
<button name="set_open" string="Re-open project" type="object" states="pending,close" />
|
2012-06-14 05:15:05 +00:00
|
|
|
<button name="set_open" string="Re-open project" type="object" states="cancelled,draft"/>
|
2012-06-07 09:24:05 +00:00
|
|
|
<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-28 12:18:20 +00:00
|
|
|
<field domain="[('type','in',['normal','contract']),('state', '<>', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" context="{'default_use_timesheets': 1}"/>
|
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">
|
|
|
|
<field name="account_id" position="replace">
|
2012-06-28 12:18:20 +00:00
|
|
|
<field domain="[('type','in',['normal','contract']),('state', '<>', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" context="{'default_use_timesheets': 1}"/>
|
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">
|
2012-07-30 08:50:27 +00:00
|
|
|
<xpath expr="//filter[@name='others']" position="after">
|
2012-07-20 11:26:27 +00:00
|
|
|
<separator/>
|
2012-06-18 13:10:22 +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"/>
|
2012-07-30 08:50:27 +00:00
|
|
|
</xpath>
|
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">
|
2012-06-15 13:10:56 +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">
|
2012-07-09 10:09:03 +00:00
|
|
|
<field name="amount" position="before">
|
2008-07-01 15:58:58 +00:00
|
|
|
<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">
|
2012-07-06 07:42:15 +00:00
|
|
|
<field name="name">Invoice Tasks Work</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"/>
|
2012-08-04 13:21:36 +00:00
|
|
|
<field name="help" type="xml">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
Click to add some tasks work to be invoiced.
|
|
|
|
</p><p>
|
|
|
|
This list shows every task you can invoice to the customer.
|
|
|
|
Select the lines and invoice from the '<i>more...</i>' contextual
|
|
|
|
menu to generate invoices automatically.
|
|
|
|
</p>
|
|
|
|
</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">
|
2012-07-20 11:26:27 +00:00
|
|
|
<field name="name" string="Type of invoicing"/>
|
2010-10-14 04:39:13 +00:00
|
|
|
</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"/>
|
2012-08-04 13:21:36 +00:00
|
|
|
<field name="help" type="xml">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
Click to add a new type of invoicing.
|
|
|
|
</p><p>
|
|
|
|
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.
|
|
|
|
</p>
|
|
|
|
</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>
|