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-02 04:46:14 +00:00
2008-06-29 08:26:07 +00:00
<!--
2008-09-16 10:37:53 +00:00
Invoices
-->
2008-09-03 14:20:53 +00:00
<record id= "view_invoice_line_calendar" model= "ir.ui.view" >
<field name= "name" > account.invoice.calendar</field>
<field name= "model" > account.invoice</field>
<field name= "type" > calendar</field>
<field name= "arch" type= "xml" >
<calendar string= "Invoices" color= "journal_id" date_start= "date_invoice" >
<field name= "partner_id" />
<field name= "amount_total" />
</calendar>
</field>
</record>
2010-07-19 13:47:09 +00:00
2008-09-16 10:37:53 +00:00
<record model= "ir.ui.view" id= "view_invoice_graph" >
<field name= "name" > account.invoice.graph</field>
<field name= "model" > account.invoice</field>
<field name= "type" > graph</field>
<field name= "arch" type= "xml" >
<graph string= "Invoices" type= "bar" >
<field name= "partner_id" />
<field name= "amount_total" operator= "+" />
</graph>
</field>
</record>
2010-07-19 13:47:09 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_invoice_line_tree" model= "ir.ui.view" >
<field name= "name" > account.invoice.line.tree</field>
<field name= "model" > account.invoice.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Invoice Line" >
<field name= "name" />
2009-06-25 13:57:11 +00:00
<field name= "account_id" groups= "base.group_user" />
2008-07-01 15:58:58 +00:00
<field name= "quantity" />
<field name= "uos_id" />
<field name= "price_unit" />
<field name= "discount" />
<field name= "price_subtotal" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-07-19 13:47:09 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_invoice_line_form" model= "ir.ui.view" >
<field name= "name" > account.invoice.line.form</field>
<field name= "model" > account.invoice.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Invoice Line" >
2008-06-29 08:26:07 +00:00
<notebook >
2008-07-01 15:58:58 +00:00
<page string= "Line" >
2009-12-04 10:29:03 +00:00
<field name= "product_id" on_change= "product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})" />
2010-06-08 09:29:33 +00:00
<field name= "uos_id" widget= "selection" on_change= "uos_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})" />
2010-04-16 09:16:25 +00:00
<field name= "quantity" />
<field name= "price_unit" />
2008-07-01 15:58:58 +00:00
<field name= "discount" />
2010-04-16 05:46:08 +00:00
<field colspan= "4" name= "name" />
<field colspan= "4" name= "origin" groups= "base.group_extended" />
2009-06-25 13:57:11 +00:00
<field domain= "[('company_id', '=', parent.company_id), ('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name= "account_id" on_change= "onchange_account_id(parent.fiscal_position,account_id)" groups= "base.group_user" />
2010-04-16 09:16:25 +00:00
<field domain= "[('type','<>','view'), ('company_id', '=', parent.company_id)]" name= "account_analytic_id" groups= "base.group_user,base.group_extended" />
2008-06-29 08:26:07 +00:00
<newline />
2008-07-01 15:58:58 +00:00
<field name= "price_subtotal" />
2010-06-05 21:39:55 +00:00
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2009-05-28 05:56:33 +00:00
<field colspan= "4" name= "invoice_line_tax_id" context= "{'type':parent.type}" domain= "[('parent_id','=',False),('company_id', '=', parent.company_id)]" />
2008-06-29 08:26:07 +00:00
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "note" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2010-07-19 13:47:09 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_invoice_tax_tree" model= "ir.ui.view" >
<field name= "name" > account.invoice.tax.tree</field>
<field name= "model" > account.invoice.tax</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Manual Invoice Taxes" >
<field name= "sequence" />
<field name= "manual" />
<field name= "name" />
2009-06-25 13:57:11 +00:00
<field name= "account_id" groups= "base.group_user" />
2008-07-01 15:58:58 +00:00
<field name= "base" />
<field name= "amount" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-07-19 13:47:09 +00:00
2008-07-01 15:58:58 +00:00
<record id= "view_invoice_tax_form" model= "ir.ui.view" >
<field name= "name" > account.invoice.tax.form</field>
<field name= "model" > account.invoice.tax</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Manual Invoice Taxes" >
2010-04-16 09:16:25 +00:00
<field name= "name" />
2008-07-01 15:58:58 +00:00
<field name= "sequence" />
2010-04-16 09:16:25 +00:00
<field name= "account_id" groups= "base.group_user" />
<field name= "manual" />
<field name= "amount" />
2008-07-01 15:58:58 +00:00
<field name= "base" readonly= "0" />
<separator colspan= "4" string= "Tax codes" />
<field name= "base_code_id" />
<field name= "base_amount" />
<field name= "tax_code_id" />
<field name= "tax_amount" />
2008-06-29 08:26:07 +00:00
</form>
</field>
</record>
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "invoice_tree" model= "ir.ui.view" >
<field name= "name" > account.invoice.tree</field>
<field name= "model" > account.invoice</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-07-19 13:41:03 +00:00
<tree colors= "blue:state in ('draft');black:state in ('proforma','proforma2','open');gray:state in ('paid','cancel')" string= "Invoice" >
2010-04-16 09:16:25 +00:00
<field name= "date_invoice" />
2008-07-01 15:58:58 +00:00
<field name= "number" />
2009-06-25 13:57:11 +00:00
<field name= "partner_id" groups= "base.group_user" />
2010-03-02 12:40:41 +00:00
<field name= "name" />
<field name= "journal_id" invisible= "1" />
<field name= "period_id" invisible= "1" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
<field name= "user_id" />
<field name= "date_due" />
<field name= "origin" />
2008-07-01 15:58:58 +00:00
<field name= "currency_id" />
2010-03-02 12:40:41 +00:00
<field name= "residual" sum= "Residual Amount" />
<field name= "amount_untaxed" sum= "Untaxed Amount" />
<field name= "amount_total" sum= "Total Amount" />
2008-07-01 15:58:58 +00:00
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "invoice_supplier_form" model= "ir.ui.view" >
<field name= "name" > account.invoice.supplier.form</field>
<field name= "model" > account.invoice</field>
<field name= "type" > form</field>
<field name= "priority" > 2</field>
<field name= "arch" type= "xml" >
<form string= "Supplier invoice" >
2010-05-20 19:35:09 +00:00
<group col= "8" colspan= "4" >
<field domain= "[('type', '=', 'purchase')]" name= "journal_id" />
<field name= "number" readonly= "1" />
<field name= "type" invisible= "1" />
<field name= "currency_id" domain= "[('company_id','=', company_id)]" on_change= "onchange_currency_id(currency_id, company_id)" width= "50" />
2010-07-14 05:51:50 +00:00
<button name= "%(action_account_change_currency)d" type= "action" icon= "terp-stock_effects-object-colorize" string= "Change" />
2010-05-20 19:35:09 +00:00
<newline />
2010-07-19 13:47:09 +00:00
<field name= "partner_id" domain= "[('supplier','=', 1)]" on_change= "onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" context= "{'default_customer': 0}" />
2010-05-20 19:35:09 +00:00
<field domain= "[('partner_id','=',partner_id)]" name= "address_invoice_id" />
<field name= "fiscal_position" groups= "base.group_extended" widget= "selection" />
<newline />
<field name= "date_invoice" />
<field name= "period_id" groups= "base.group_user" />
<group colspan= "2" col= "1" groups= "base.group_user" >
<label align= "0.0" string= "(keep empty to use the current period)" />
</group>
</group>
2008-08-28 23:33:53 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "Invoice" >
2010-03-29 12:48:54 +00:00
<field domain= "[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name= "account_id" groups= "base.group_user" />
2010-04-16 09:16:25 +00:00
<field name= "reference_type" nolabel= "1" size= "0" />
<field name= "reference" nolabel= "1" />
<field name= "date_due" />
2008-07-01 15:58:58 +00:00
<field name= "check_total" required= "2" />
<field colspan= "4" default_get= "{'check_total': check_total, 'invoice_line': invoice_line, 'address_invoice_id': address_invoice_id, 'partner_id': partner_id, 'price_type': 'price_type' in dir() and price_type or False}" name= "invoice_line" nolabel= "1" >
2010-03-29 12:48:54 +00:00
<tree string= "Invoice lines" >
2009-12-04 10:29:03 +00:00
<field name= "product_id" on_change= "product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.address_invoice_id, parent.currency_id, {'company_id': parent.company_id})" />
2009-01-19 16:49:29 +00:00
<field domain= "[('company_id', '=', parent.company_id), ('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name= "account_id" on_change= "onchange_account_id(parent.fiscal_position,account_id)" />
2009-01-21 13:53:03 +00:00
<field name= "invoice_line_tax_id" view_mode= "2" context= "{'type':parent.type}" domain= "[('parent_id','=',False)]" />
2008-07-01 15:58:58 +00:00
<field domain= "[('type','<>','view'), ('company_id', '=', parent.company_id)]" name= "account_analytic_id" />
<field name= "quantity" />
<field name= "price_unit" />
2008-06-29 08:26:07 +00:00
<!-- Removed if subtotal is set -->
2008-07-01 15:58:58 +00:00
<field name= "price_subtotal" />
<field name= "name" />
<field invisible= "True" name= "uos_id" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
2008-07-01 15:58:58 +00:00
<group col= "1" colspan= "2" >
<field name= "tax_line" nolabel= "1" >
<tree editable= "bottom" string= "Taxes" >
<field name= "name" />
2009-03-19 09:47:23 +00:00
<field name= "base" on_change= "base_change(base,parent.currency_id,parent.company_id,parent.date_invoice)" readonly= "1" />
<field name= "amount" on_change= "amount_change(amount,parent.currency_id,parent.company_id,parent.date_invoice)" />
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<field invisible= "True" name= "base_amount" />
<field invisible= "True" name= "tax_amount" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</group>
2008-07-01 15:58:58 +00:00
<group col= "4" colspan= "2" >
2010-06-16 11:41:41 +00:00
<button colspan= "2" name= "button_reset_taxes" states= "draft" string= "Compute Taxes" type= "object" icon= "terp-stock_format-scientific" />
2008-09-23 20:56:51 +00:00
<field name= "amount_untaxed" />
2008-12-31 12:58:51 +00:00
<label string= "" colspan= "2" />
2008-09-23 20:56:51 +00:00
<field name= "amount_tax" />
2008-07-01 15:58:58 +00:00
<field name= "reconciled" />
2008-09-23 20:56:51 +00:00
<field name= "amount_total" />
2010-04-16 09:16:25 +00:00
<field name= "state" />
2008-09-23 20:56:51 +00:00
<field name= "residual" />
2010-07-16 13:40:25 +00:00
<group col= "6" colspan= "4" >
2010-07-14 06:01:49 +00:00
<button name= "invoice_open" states= "draft,proforma2" string= "Approve" icon= "terp-camera_test" />
2010-07-15 13:36:25 +00:00
<button name= "%(action_account_invoice_refund)d" type= 'action' string= 'Credit Note' states= 'open,paid' icon= "gtk-execute" />
2010-05-20 19:35:09 +00:00
<button name= "%(action_account_invoice_pay)d" type= 'action' string= 'Pay Invoice' states= 'open' icon= "gtk-ok" />
2010-07-16 13:40:25 +00:00
<button name= "%(action_account_state_open)d" type= 'action' string= 'Re-Open' states= 'paid' icon= "gtk-convert" />
2010-06-16 11:41:41 +00:00
<button name= "invoice_cancel" states= "draft,proforma2,sale,open" string= "Cancel" icon= "terp-gtk-stop" />
2010-07-02 05:55:01 +00:00
<button name= "action_cancel_draft" states= "cancel" string= "Set to Draft" type= "object" icon= "terp-stock_effects-object-colorize" />
2008-06-29 08:26:07 +00:00
</group>
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Other Info" >
2010-07-19 13:47:09 +00:00
<field domain= "[('partner_id', '=', partner_id)]" name= "partner_bank_id" on_change= "onchange_partner_bank(partner_bank_id)" />
2010-03-29 12:48:54 +00:00
2010-02-16 07:05:46 +00:00
<field name= "company_id" on_change= "onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget= "selection" groups= "base.group_multi_company" />
2008-06-29 08:26:07 +00:00
<newline />
2009-10-22 13:40:16 +00:00
<field name= "payment_term" widget= "selection" />
2010-04-16 09:16:25 +00:00
<field name= "name" />
2008-06-29 08:26:07 +00:00
<newline />
2010-04-16 09:16:25 +00:00
<field name= "origin" groups= "base.group_extended" />
2010-06-10 04:11:30 +00:00
<field domain= "[('partner_id','=',partner_id)]" name= "address_contact_id" groups= "base.group_extended" />
<field name= "user_id" />
2008-07-01 15:58:58 +00:00
<field name= "move_id" />
2009-10-15 14:11:27 +00:00
<separator colspan= "4" string= "Additional Information" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "comment" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
2010-04-16 09:16:25 +00:00
<page string= "Payments" groups= "base.group_extended" >
2009-10-22 13:40:16 +00:00
<field name= "payment_ids" colspan= "4" nolabel= "1" >
2008-10-20 20:49:11 +00:00
<tree string= "Payments" >
<field name= "date" />
<field name= "ref" />
<field name= "name" />
<field name= "journal_id" />
<field name= "debit" />
<field name= "credit" />
2009-09-07 16:40:12 +00:00
<field name= "amount_currency" />
<field name= "currency_id" />
2008-10-20 20:49:11 +00:00
</tree>
</field>
</page>
2008-06-29 08:26:07 +00:00
</notebook>
</form>
</field>
</record>
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "invoice_form" model= "ir.ui.view" >
<field name= "name" > account.invoice.form</field>
<field name= "model" > account.invoice</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Invoice" >
2010-05-20 19:35:09 +00:00
<group colspan= "4" col= "8" >
<field name= "journal_id" groups= "base.group_user" />
<field name= "number" />
<field name= "type" invisible= "1" />
<field name= "currency_id" domain= "[('company_id','=', company_id)]" on_change= "onchange_currency_id(currency_id, company_id)" width= "50" />
2010-07-08 14:25:59 +00:00
<button name= "%(action_account_change_currency)d" type= "action" icon= "terp-stock_effects-object-colorize" string= "Change" />
2010-05-20 19:35:09 +00:00
<newline />
2010-07-19 13:47:09 +00:00
<field name= "partner_id" on_change= "onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id,company_id)" groups= "base.group_user" />
2010-05-20 19:35:09 +00:00
<field domain= "[('partner_id','=',partner_id)]" name= "address_invoice_id" />
<field name= "fiscal_position" groups= "base.group_extended" widget= "selection" />
<newline />
<field name= "date_invoice" />
<field name= "period_id" groups= "base.group_user" />
<group colspan= "2" col= "1" groups= "base.group_user" >
<label align= "0.0" string= "(keep empty to use the current period)" />
</group>
</group>
2008-08-28 23:33:53 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "Invoice" >
2009-06-25 13:57:11 +00:00
<field domain= "[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name= "account_id" groups= "base.group_user" />
2010-04-16 09:16:25 +00:00
<field name= "name" />
2009-10-22 13:40:16 +00:00
<field name= "payment_term" widget= "selection" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "invoice_line" nolabel= "1" widget= "one2many_list" />
<group col= "1" colspan= "2" >
<field name= "tax_line" nolabel= "1" >
<tree editable= "bottom" string= "Taxes" >
<field name= "name" />
2009-03-19 09:47:23 +00:00
<field name= "base" on_change= "base_change(base,parent.currency_id,parent.company_id,parent.date_invoice)" readonly= "1" />
<field name= "amount" on_change= "amount_change(amount,parent.currency_id,parent.company_id,parent.date_invoice)" />
2008-07-01 15:58:58 +00:00
<field invisible= "True" name= "base_amount" />
<field invisible= "True" name= "tax_amount" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</group>
2008-07-01 15:58:58 +00:00
<group col= "4" colspan= "2" >
2010-06-16 11:41:41 +00:00
<button colspan= "2" name= "button_reset_taxes" states= "draft" string= "Compute Taxes" type= "object" groups= "base.group_user" icon= "terp-stock_format-scientific" />
2008-09-23 20:56:51 +00:00
<field name= "amount_untaxed" />
2008-12-31 12:58:51 +00:00
<label string= "" colspan= "2" />
2008-09-23 20:56:51 +00:00
<field name= "amount_tax" />
2008-07-01 15:58:58 +00:00
<field name= "reconciled" />
2008-09-23 20:56:51 +00:00
<field name= "amount_total" />
2010-04-16 09:16:25 +00:00
<field name= "state" />
2008-09-23 20:56:51 +00:00
<field name= "residual" />
2010-07-16 13:40:25 +00:00
<group col= "7" colspan= "4" groups= "base.group_user" >
2010-06-16 11:41:41 +00:00
<button name= "invoice_proforma2" states= "draft" string= "PRO-FORMA" icon= "terp-check" />
<button name= "invoice_open" states= "draft,proforma2" string= "Create" icon= "terp-document-new" />
2010-07-15 13:36:25 +00:00
<button name= "%(action_account_invoice_refund)d" type= 'action' string= 'Credit Note' states= 'open,paid' icon= "gtk-execute" />
2010-05-20 19:35:09 +00:00
<button name= "%(action_account_invoice_pay)d" type= 'action' string= 'Pay Invoice' states= 'open' icon= "gtk-ok" />
2010-07-16 13:40:25 +00:00
<button name= '%(action_account_state_open)d' type= 'action' string= 'Re-Open' states= 'paid' icon= "gtk-convert" />
2010-05-20 19:35:09 +00:00
<button name= "invoice_cancel" states= "draft,proforma2,sale,open" string= "Cancel" icon= "gtk-cancel" />
2010-06-16 11:41:41 +00:00
<button name= "action_cancel_draft" states= "cancel" string= "Set to Draft" type= "object" icon= "terp-stock_effects-object-colorize" />
2008-06-29 08:26:07 +00:00
</group>
</group>
</page>
2008-07-01 15:58:58 +00:00
<page string= "Other Info" >
2010-02-16 07:05:46 +00:00
<field name= "company_id" on_change= "onchange_company_id(company_id,partner_id,type,invoice_line,currency_id)" widget= "selection" groups= "base.group_multi_company" />
2008-06-29 08:26:07 +00:00
<newline />
2010-03-02 12:40:41 +00:00
<field name= "date_due" />
<field name= "user_id" />
2008-06-29 08:26:07 +00:00
<newline />
2010-07-19 13:47:09 +00:00
<field domain= "[('partner_id.ref_companies', 'in', [company_id])]" name= "partner_bank_id"
2010-04-16 09:16:25 +00:00
groups="base.group_extended"/>
<field name= "origin" />
<field colspan= "4" domain= "[('partner_id','=',partner_id)]" name= "address_contact_id"
groups="base.group_extended"/>
2009-06-25 13:57:11 +00:00
<field name= "move_id" groups= "base.group_user" />
2008-07-01 15:58:58 +00:00
<separator colspan= "4" string= "Additionnal Information" />
<field colspan= "4" name= "comment" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
2008-09-12 07:21:22 +00:00
<page string= "Payments" >
2008-10-20 20:49:11 +00:00
<field name= "payment_ids" colspan= "4" nolabel= "1" >
<tree string= "Payments" >
<field name= "date" />
<field name= "ref" />
<field name= "name" />
2009-06-25 13:57:11 +00:00
<field name= "journal_id" groups= "base.group_user" />
2008-10-20 20:49:11 +00:00
<field name= "debit" />
<field name= "credit" />
2009-09-07 16:40:12 +00:00
<field name= "amount_currency" />
<field name= "currency_id" />
2008-10-20 20:49:11 +00:00
</tree>
</field>
</page>
2008-06-29 08:26:07 +00:00
</notebook>
</form>
</field>
</record>
2008-07-02 04:46:14 +00:00
2009-09-24 10:46:21 +00:00
<record id= "view_account_invoice_filter" model= "ir.ui.view" >
<field name= "name" > account.invoice.select</field>
<field name= "model" > account.invoice</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Invoice" >
2009-10-29 10:16:18 +00:00
<group col= "10" colspan= "4" >
2010-06-07 09:04:11 +00:00
<filter icon= "terp-document-new" string= "Draft" domain= "[('state','=','draft')]" help= "Draft Invoices" />
<filter icon= "terp-check" string= "Proforma" domain= "[('state','=','proforma2')]" help= "Proforma Invoices" />
2010-06-23 19:44:06 +00:00
<filter icon= "terp-check" string= "Invoices" domain= "[('state','not in',['draft','cancel','cancel'])]" help= "Invoices" />
<separator orientation= "vertical" />
2010-06-07 09:04:11 +00:00
<filter icon= "terp-dolar_ok!" string= "Unpaid" domain= "[('state','=','open')]" help= "Unpaid Invoices" />
2010-03-02 12:40:41 +00:00
<separator orientation= "vertical" />
<field name= "number" />
<field name= "partner_id" />
2010-06-23 19:44:06 +00:00
<field name= "user_id" select= "1" default= "uid" widget= "selection" string= "Responsible" >
<filter domain= "[('user_id','=',uid)]" help= "Responsible" icon= "terp-partner" separator= "1" />
</field>
2010-03-02 12:40:41 +00:00
<field name= "origin" />
<field name= "amount_total" />
</group>
<newline />
2010-06-07 09:04:11 +00:00
<group expand= "0" string= "Group By..." >
<filter string= "Journal" icon= "terp-folder-orange" domain= "[]" context= "{'group_by':'journal_id'}" />
<filter string= "Period" icon= "terp-go-month" domain= "[]" context= "{'group_by':'period_id'}" />
2010-01-28 17:13:09 +00:00
<separator orientation= "vertical" />
2010-06-07 09:04:11 +00:00
<filter string= "Partner" icon= "terp-personal" domain= "[]" context= "{'group_by':'partner_id'}" />
2010-06-23 19:44:06 +00:00
<filter string= "Responsible" icon= "terp-personal" domain= "[]" context= "{'group_by':'user_id'}" />
2010-06-07 09:04:11 +00:00
<filter string= "State" icon= "terp-stock_effects-object-colorize" domain= "[]" context= "{'group_by':'state'}" />
2010-03-02 12:40:41 +00:00
<separator orientation= "vertical" />
2010-06-07 09:04:11 +00:00
<filter string= "Invoice Date" icon= "terp-go-month" domain= "[]" context= "{'group_by':'date_invoice'}" />
<filter string= "Due Date" icon= "terp-go-month" domain= "[]" context= "{'group_by':'date_due'}" />
2010-03-02 12:40:41 +00:00
</group>
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2008-07-02 04:46:14 +00:00
<record id= "action_invoice_tree" model= "ir.actions.act_window" >
<field name= "name" > Invoices</field>
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
2008-09-09 12:24:44 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2008-07-02 04:46:14 +00:00
<field name= "view_id" ref= "invoice_tree" />
<field name= "context" > {'type':'out_invoice'}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_account_invoice_filter" />
2008-07-02 04:46:14 +00:00
</record>
2010-02-01 12:12:35 +00:00
2010-02-05 12:15:55 +00:00
<record id= "action_invoice_tree_pending_invoice" model= "ir.actions.act_window" >
<field name= "name" > Pending Invoice</field>
2010-02-01 12:12:35 +00:00
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,calendar,graph</field>
<field name= "view_id" ref= "invoice_tree" />
<field name= "context" > {'type':'out_invoice'}</field>
<field name= "domain" > [('state','=','draft')]</field>
<!-- <field name="search_view_id" ref="view_account_invoice_filter"/> -->
</record>
2008-07-02 04:46:14 +00:00
<record id= "action_invoice_tree_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "act_window_id" ref= "action_invoice_tree" />
</record>
2010-07-19 13:47:09 +00:00
2008-07-02 04:46:14 +00:00
<record id= "action_invoice_tree_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "invoice_form" />
<field name= "act_window_id" ref= "action_invoice_tree" />
</record>
2010-06-04 13:01:56 +00:00
<!-- <menuitem name="Invoices" id="menu_finance_invoice" parent="account.menu_finance" sequence="2"/> -->
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_invoice_tree1" model= "ir.actions.act_window" >
2008-07-02 04:46:14 +00:00
<field name= "name" > Customer Invoices</field>
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
2008-09-09 12:24:44 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2008-07-02 04:46:14 +00:00
<field eval= "False" name= "view_id" />
<field name= "domain" > [('type','=','out_invoice')]</field>
<field name= "context" > {'type':'out_invoice'}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_account_invoice_filter" />
2010-07-21 08:47:43 +00:00
<field name= "help" > Most of customer invoices are automatically generate in draft mode by OpenERP flows, following a purchase order for instance. Review, confirm or cancel, pay or refund yours customers invoices here. A manual invoice can be created here.</field>
2008-07-02 04:46:14 +00:00
</record>
2010-07-19 13:47:09 +00:00
2008-09-26 06:34:59 +00:00
<record id= "action_invoice_tree1_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "act_window_id" ref= "action_invoice_tree1" />
</record>
2010-07-19 13:47:09 +00:00
2008-09-26 06:34:59 +00:00
<record id= "action_invoice_tree1_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "invoice_form" />
<field name= "act_window_id" ref= "action_invoice_tree1" />
</record>
2010-06-04 13:01:56 +00:00
<menuitem action= "action_invoice_tree1" id= "menu_action_invoice_tree1" parent= "menu_finance_receivables" />
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_invoice_tree2" model= "ir.actions.act_window" >
2010-06-04 13:01:56 +00:00
<field name= "name" > Vendor Invoices</field>
2008-07-02 04:46:14 +00:00
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
2008-09-09 12:24:44 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2008-07-02 04:46:14 +00:00
<field eval= "False" name= "view_id" />
<field name= "domain" > [('type','=','in_invoice')]</field>
<field name= "context" > {'type':'in_invoice'}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_account_invoice_filter" />
2010-07-21 08:47:43 +00:00
<field name= "help" > Proposal for vendor invoices are usually automatically generate by OpenERP, following a procurement order or a production order for instance. To consult and to check for, or to manually create a customer invoice, use this menu. You can review, confirm or cancel, pay or refund an invoice from the view from of the invoices.</field>
2008-07-02 04:46:14 +00:00
</record>
2010-06-04 13:01:56 +00:00
<menuitem action= "action_invoice_tree2" id= "menu_action_invoice_tree2" parent= "menu_finance_payables" />
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_invoice_tree3" model= "ir.actions.act_window" >
2008-07-02 04:46:14 +00:00
<field name= "name" > Customer Refunds</field>
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
2008-09-09 12:24:44 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2008-07-02 04:46:14 +00:00
<field eval= "False" name= "view_id" />
<field name= "domain" > [('type','=','out_refund')]</field>
<field name= "context" > {'type':'out_refund'}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_account_invoice_filter" />
2010-07-21 08:47:43 +00:00
<field name= "help" > A customer refund is a credit note to your customer that cancel invoice or a part of it.</field>
2008-07-02 04:46:14 +00:00
</record>
2009-12-23 11:43:11 +00:00
2009-12-01 11:15:09 +00:00
<record id= "action_invoice_tree3_view1" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "act_window_id" ref= "action_invoice_tree3" />
</record>
2009-12-23 11:43:11 +00:00
2009-12-01 11:15:09 +00:00
<record id= "action_invoice_tree3_view2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "invoice_form" />
<field name= "act_window_id" ref= "action_invoice_tree3" />
</record>
2010-06-04 13:01:56 +00:00
<menuitem action= "action_invoice_tree3" id= "menu_action_invoice_tree3" parent= "menu_finance_receivables" />
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<record id= "action_invoice_tree4" model= "ir.actions.act_window" >
2010-06-04 13:01:56 +00:00
<field name= "name" > Vendor Refunds</field>
2008-07-02 04:46:14 +00:00
<field name= "res_model" > account.invoice</field>
<field name= "view_type" > form</field>
2008-09-09 12:24:44 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2008-07-02 04:46:14 +00:00
<field eval= "False" name= "view_id" />
<field name= "domain" > [('type','=','in_refund')]</field>
<field name= "context" > {'type':'in_refund'}</field>
2009-11-23 13:47:57 +00:00
<field name= "search_view_id" ref= "view_account_invoice_filter" />
2010-07-21 08:47:43 +00:00
<field name= "help" > A vendor refund is a credit note from your supplier indicating that he refunds part or totality of the invoice sent to you.</field>
2008-07-02 04:46:14 +00:00
</record>
2010-06-04 13:01:56 +00:00
<menuitem action= "action_invoice_tree4" id= "menu_action_invoice_tree4" parent= "menu_finance_payables" />
2008-07-02 04:46:14 +00:00
2008-09-03 13:47:19 +00:00
<act_window domain= "[('partner_id','=',active_id)]" id= "act_res_partner_2_account_invoice_opened" name= "Invoices" res_model= "account.invoice" src_model= "res.partner" />
2008-07-02 04:46:14 +00:00
2008-08-14 15:39:28 +00:00
<act_window domain= "[('journal_id','=',active_id),('state','!=','draft'),('reconciled','=',False)]" id= "act_account_journal_2_account_invoice_opened" name= "Unpaid invoices" res_model= "account.invoice" src_model= "account.journal" />
2008-07-02 04:46:14 +00:00
2008-07-01 15:58:58 +00:00
<act_window domain= "[('account_analytic_id', '=', active_id)]" id= "act_account_analytic_account_2_account_invoice_line" name= "Invoice lines" res_model= "account.invoice.line" src_model= "account.analytic.account" />
2010-05-17 10:27:58 +00:00
2010-07-08 14:25:59 +00:00
<act_window domain= "[('partner_id', '=', partner_id), ('account_id.type', 'in', ['receivable', 'payable']), ('reconcile_id','=',False)]" id= "act_account_invoice_account_move_unreconciled" name= "Unreconciled Entries" res_model= "account.move.line" src_model= "account.invoice" />
2008-07-02 04:46:14 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>