Best-selling book on enterprise management

Table Of Contents

Previous topic

Module Technical Guide: Introspection report on objects

Next topic

report_account_analytic (account_analytic_analysis)

This Page

Open ERP Books


Retail and Industrial Management, steps towards Sales, Logistics and Manufacturing Integration in the Open Source & Management Collection.


Tip

This module is part of the Open ERP software, the leading Open Source enterprise management system. If you want to discover Open ERP, check our screencasts or download Open ERP directly.

Accounting and financial management (account)

Module:account
Name:Accounting and financial management
Version:5.0.1.1
Author:Tiny
Directory:account
Web:http://www.openerp.com
Official module:
 yes
Quality certified:
 yes

Description

Financial and accounting module that covers:
    General accounting
    Cost / Analytic accounting
    Third party accounting
    Taxes management
    Budgets
    Customer and Supplier Invoices
    Bank statements

The processes like maintaining of general ledger is done through the defined financial Journals (entry move line or
grouping is maintained through journal) for a particular financial year and for preparation of vouchers there is a
module named account_voucher

Dependencies

Reports

  • General Ledger
  • Partner Ledger
  • Account Balance
  • Partner Balance
  • Central Journal
  • General Journal
  • Journal
  • Overdue Payments
  • Invoices
  • Transfers
  • IntraCom
  • All Entries
  • Taxes Report
  • Analytic Journal
  • Analytic Balance
  • Inverted Analytic Balance
  • Cost Ledger
  • Cost Ledger (Only quantities)
  • Analytic Check

Views

  • account.fiscalyear.form (form)
  • account.fiscalyear.tree (tree)
  • account.period.form (form)
  • account.period.tree (tree)
  • account.account.form (form)
  • account.account.tree (tree)
  • account.journal.column.form (form)
  • account.journal.column.tree (tree)
  • account.journal.view.form (form)
  • account.journal.tree (tree)
  • account.journal.form (form)
  • account.bank.statement.tree (tree)
  • account.bank.statement.form (form)
  • account.bank.statement.reconcile.form (form)
  • account.account.type.tree (tree)
  • account.account.type.form (form)
  • account.move.tree (tree)
  • account.move.reconcile.form (form)
  • account.tax.code.tree (tree)
  • account.tax.code.form (form)
  • account.tax.tree (tree)
  • account.tax.form (form)
  • account.move.line.tree (tree)
  • account.move.line.form (form)
  • account.move.line.form2 (form)
  • account.move.tree (tree)
  • account.move.form (form)
  • account.bank.statement.reconcile.form (form)
  • account.journal.period.tree (tree)
  • account.model.line.tree (tree)
  • account.model.line.form (form)
  • account.model.form (form)
  • account.model.tree (tree)
  • account.payment.term.line.tree (tree)
  • account.payment.term.line.form (form)
  • account.payment.term.form (form)
  • account.subscription.line.form (form)
  • account.subscription.line.tree (tree)
  • account.subscription.tree (tree)
  • account.subscription.form (form)
  • account.subscription.line.form (form)
  • account.move.line.tax.tree (tree)
  • Account Configure wizard (form)
  • account.account.template.form (form)
  • account.account.template.tree (tree)
  • account.chart.template.form (form)
  • account.chart.template.tree (tree)
  • account.tax.template.form (form)
  • account.tax.template.tree (tree)
  • account.tax.code.template.tree (tree)
  • account.tax.code.template.form (form)
  • Generate Chart of Accounts from a Chart Template (form)
  • account.account.graph (graph)
  • account.fiscal.position.template.form (form)
  • account.fiscal.position.template.tree (tree)
  • account.invoice.calendar (calendar)
  • account.invoice.graph (graph)
  • account.invoice.line.tree (tree)
  • account.invoice.line.form (form)
  • account.invoice.tax.tree (tree)
  • account.invoice.tax.form (form)
  • account.invoice.tree (tree)
  • account.invoice.supplier.form (form)
  • account.invoice.form (form)
  • account.fiscal.position.form (form)
  • account.fiscal.position.tree (tree)
  • * INHERIT res.partner.property.form.inherit (form)
  • account.analytic.account.list (tree)
  • account.analytic.account.tree (tree)
  • account.analytic.account.form (form)
  • account.analytic.line.form (form)
  • account.analytic.line.tree (tree)
  • account.analytic.line.extended_form (form)
  • account.analytic.journal.tree (tree)
  • account.analytic.journal.form (form)
  • report.hr.timesheet.invoice.journal.form (form)
  • report.hr.timesheet.invoice.journal.tree (tree)
  • report.hr.timesheet.invoice.journal.graph (graph)
  • * INHERIT account.journal.form.1 (form)
  • analytic.accounts.graph (graph)
  • * INHERIT product.normal.form.inherit (form)
  • * INHERIT product.template.product.form.inherit (form)
  • * INHERIT product.category.property.form.inherit (form)
  • * INHERIT ir.sequence.form (form)

Objects

Object: Payment Term (account.payment.term)

active:Active, boolean
note:Description, text
cash_discount_ids:
 Cash Discounts, one2many
name:Payment Term, char, required
line_ids:Terms, one2many

Object: Payment Term Line (account.payment.term.line)

payment_id:

Payment Term, many2one, required

name:

Line Name, char, required

sequence:

Sequence, integer, required

The sequence field is used to order the payment term lines from the lowest sequences to the higher ones

days2:

Day of the Month, integer, required

Day of the month, set -1 for the last day of the current month. If it’s positive, it gives the day of the next month. Set 0 for net days (otherwise it’s based on the beginning of the month).

days:

Number of Days, integer, required

Number of days to add before computation of the day of month.If Date=15/01, Number of Days=22, Day of Month=-1, then the due date is 28/02.

value:

Value, selection, required

value_amount:

Value Amount, float

Object: Account Type (account.account.type)

code:

Code, char, required

name:

Acc. Type Name, char, required

sequence:

Sequence, integer

Gives the sequence order when displaying a list of account types.

sign:

Sign on Reports, selection, required

Allows you to change the sign of the balance amount displayed in the reports, so that you can see positive figures instead of negative ones in expenses accounts.

close_method:

Deferral Method, selection, required

partner_account:
 

Partner account, boolean

Object: account.tax (account.tax)

ref_base_code_id:
 

Refund Base Code, many2one

Use this code for the VAT declaration.

domain:

Domain, char

This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain.

ref_tax_code_id:
 

Refund Tax Code, many2one

Use this code for the VAT declaration.

sequence:

Sequence, integer, required

The sequence field is used to order the tax lines from the lowest sequences to the higher ones. The order is important if you have a tax with several tax children. In this case, the evaluation order is important.

base_sign:

Base Code Sign, float

Usually 1 or -1.

child_depend:

Tax on Children, boolean

Set if the tax computation is based on the computation of child taxes rather than on the total amount.

include_base_amount:
 

Include in base amount, boolean

Indicate if the amount of tax must be included in the base amount for the computation of the next taxes

python_applicable:
 

Python Code, text

applicable_type:
 

Applicable Type, selection, required

If not applicable (computed through a Python code), the tax won’t appear on the invoice.

company_id:

Company, many2one, required

tax_code_id:

Tax Code, many2one

Use this code for the VAT declaration.

parent_id:

Parent Tax Account, many2one

python_compute_inv:
 

Python Code (reverse), text

ref_tax_sign:

Tax Code Sign, float

Usually 1 or -1.

type:

Tax Type, selection, required

The computation method for the tax amount.

ref_base_sign:

Base Code Sign, float

Usually 1 or -1.

description:

Tax Code, char

tax_group:

Tax Group, selection

If a default tax is given in the partner it only overrides taxes from accounts (or products) in the same group.

child_ids:

Child Tax Accounts, one2many

type_tax_use:

Tax Application, selection, required

base_code_id:

Base Code, many2one

Use this code for the VAT declaration.

active:

Active, boolean

name:

Tax Name, char, required

This name will be displayed on reports

account_paid_id:
 

Refund Tax Account, many2one

account_collected_id:
 

Invoice Tax Account, many2one

amount:

Amount, float, required

python_compute:

Python Code, text

tax_sign:

Tax Code Sign, float

Usually 1 or -1.

price_include:

Tax Included in Price, boolean

Check this if the price you use on the product and invoices includes this tax.

Object: Account (account.account)

code:

Code, char, required

reconcile:

Reconcile, boolean

Check this if the user is allowed to reconcile entries in this account.

user_type:

Account Type, many2one, required

company_currency_id:
 

Company Currency, many2one, readonly

check_history:

Display History, boolean

Check this box if you want to print all entries when printing the General Ledger, otherwise it will only print its balance.

child_id:

Child Accounts, many2many, readonly

note:

Note, text

company_id:

Company, many2one, required

shortcut:

Shortcut, char

child_consol_ids:
 

Consolidated Children, many2many

parent_id:

Parent, many2one

debit:

Debit, float, readonly

type:

Internal Type, selection, required

tax_ids:

Default Taxes, many2many

child_parent_ids:
 

Children, one2many

active:

Active, boolean

currency_id:

Secondary Currency, many2one

Force all moves for this account to have this secondary currency.

parent_right:

Parent Right, integer

name:

Name, char, required

credit:

Credit, float, readonly

parent_left:

Parent Left, integer

currency_mode:

Outgoing Currencies Rate, selection, required

This will select how the current currency rate for outgoing transactions is computed. In most countries the legal method is “average” but only a few software systems are able to manage this. So if you import from another software system you may have to use the rate at date. Incoming transactions always use the rate at date.

balance:

Balance, float, readonly

Object: Journal View (account.journal.view)

columns_id:Columns, one2many
name:Journal View, char, required

Object: Journal Column (account.journal.column)

name:Column Name, char, required
sequence:Sequence, integer
view_id:Journal View, many2one
required:Required, boolean
field:Field Name, selection, required
readonly:Readonly, boolean

Object: Journal (account.journal)

groups_id:

Groups, many2many

code:

Code, char

currency:

Currency, many2one

The currency used to enter statement

account_control_ids:
 

Account, many2many

user_id:

User, many2one

The user responsible for this journal

centralisation:

Centralised counterpart, boolean

Check this box to determine that each entry of this journal won’t create a new counterpart but will share the same counterpart. This is used in fiscal year closing.

group_invoice_lines:
 

Group invoice lines, boolean

If this box is checked, the system will try to group the accounting lines when generating them from invoices.

company_id:

Company, many2one

state:

Status, selection, required

type:

Type, selection, required

default_credit_account_id:
 

Default Credit Account, many2one

default_debit_account_id:
 

Default Debit Account, many2one

view_id:

View, many2one, required

Gives the view used when writing or browsing entries in this journal. The view tell Open ERP which fields should be visible, required or readonly and in which order. You can create your own view for a faster encoding in each journal.

child_ids:

Parent journal, many2many

type_control_ids:
 

Type Controls, many2many

parent_ids:

Childs journal, many2many

sequence_id:

Entry Sequence, many2one, required

The sequence gives the display order for a list of journals

allow_date:

Allows date not in the period, boolean

plan_id:

Analytic Plans, many2one

active:

Active, boolean

update_posted:

Allow Cancelling Entries, boolean

group_ids:

Groups, many2many

name:

Journal Name, char, required

analytic_journal_id:
 

Analytic Journal, many2one

refund_journal:

Refund Journal, boolean

invoice_sequence_id:
 

Invoice Sequence, many2one

The sequence used for invoice numbers in this journal.

entry_posted:

Skip ‘Draft’ State for Created Entries, boolean

Check this box if you don’t want new account moves to pass through the ‘draft’ state and instead goes directly to the ‘posted state’ without any manual validation.

Object: Fiscal Year (account.fiscalyear)

date_stop:

End Date, date, required

code:

Code, char, required

name:

Fiscal Year, char, required

end_journal_period_id:
 

End of Year Entries Journal, many2one, readonly

date_start:

Start Date, date, required

company_id:

Company, many2one

Keep empty if the fiscal year belongs to several companies.

period_ids:

Periods, one2many

state:

Status, selection, readonly

Object: Account period (account.period)

date_stop:

End of Period, date, required

code:

Code, char

name:

Period Name, char, required

date_start:

Start of Period, date, required

state:

Status, selection, readonly

fiscalyear_id:

Fiscal Year, many2one, required

special:

Opening/Closing Period, boolean

These periods can overlap.

Object: Journal - Period (account.journal.period)

name:Journal-Period Name, char, required
state:Status, selection, required, readonly
journal_id:Journal, many2one, required
fiscalyear_id:Fiscal Year, many2one
period_id:Period, many2one, required
active:Active, boolean, required
icon:Icon, string, readonly

Object: Account Entry (account.move)

partner_id:Partner, many2one
name:Number, char, required
ref:Ref, char
company_id:Company, many2one, required
journal_id:Journal, many2one, required
line_id:Entries, one2many
state:Status, selection, required, readonly
period_id:Period, many2one, required
date:Date, date, required
amount:Amount, float, readonly
type:Type, selection, readonly
regularization_id:
 Regularization, many2one
to_check:To Be Verified, boolean

Object: Account Reconciliation (account.move.reconcile)

line_id:Entry Lines, one2many
type:Type, char, required
create_date:Creation date, date, readonly
name:Name, char, required
line_partial_ids:
 Partial Entry lines, one2many

Object: Tax Code (account.tax.code)

info:

Description, text

code:

Case Code, char

name:

Tax Case Name, char, required

sum:

Year Sum, float, readonly

child_ids:

Child Codes, one2many

company_id:

Company, many2one, required

sign:

Sign for parent, float, required

notprintable:

Not Printable in Invoice, boolean

Check this box if you don’t want any VAT related to this Tax Code to appear on invoices

parent_id:

Parent Code, many2one

line_ids:

Lines, one2many

sum_period:

Period Sum, float, readonly

Object: Account Model (account.model)

lines_id:

Model Entries, one2many

ref:

Ref, char

journal_id:

Journal, many2one, required

name:

Model Name, char, required

This is a model for recurring accounting entries

legend:

Legend, text, readonly

Object: Account Model Entries (account.model.line)

model_id:

Model, many2one, required

name:

Name, char, required

sequence:

Sequence, integer, required

The sequence field is used to order the resources from lower sequences to higher ones

partner_id:

Partner Ref., many2one

account_id:

Account, many2one, required

currency_id:

Currency, many2one

credit:

Credit, float

date_maturity:

Maturity date, selection

The maturity date of the generated entries for this model. You can chosse between the date of the creation action or the the date of the creation of the entries plus the partner payment terms.

debit:

Debit, float

date:

Current Date, selection, required

The date of the generated entries

amount_currency:
 

Amount Currency, float

The amount expressed in an optional other currency.

ref:

Ref., char

quantity:

Quantity, float

The optional quantity on entries

Object: Account Subscription (account.subscription)

model_id:Model, many2one, required
period_nbr:Period, integer, required
lines_id:Subscription Lines, one2many
name:Name, char, required
date_start:Start Date, date, required
period_total:Number of Periods, integer, required
state:Status, selection, required, readonly
period_type:Period Type, selection, required
ref:Ref, char

Object: Account Subscription Line (account.subscription.line)

date:Date, date, required
subscription_id:
 Subscription, many2one, required
move_id:Entry, many2one

Object: account.config.wizard (account.config.wizard)

date1:

Start Date, date, required

date2:

End Date, date, required

name:

Name, char, required

Name of the fiscal year as displayed on screens.

period:

Periods, selection, required

charts:

Charts of Account, selection, required

code:

Code, char, required

Name of the fiscal year as displayed in reports.

Object: account.tax.template (account.tax.template)

ref_base_code_id:
 

Refund Base Code, many2one

Use this code for the VAT declaration.

domain:

Domain, char

This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain.

ref_tax_code_id:
 

Refund Tax Code, many2one

Use this code for the VAT declaration.

sequence:

Sequence, integer, required

The sequence field is used to order the taxes lines from lower sequences to higher ones. The order is important if you have a tax that has several tax children. In this case, the evaluation order is important.

base_sign:

Base Code Sign, float

Usually 1 or -1.

child_depend:

Tax on Children, boolean

Indicate if the tax computation is based on the value computed for the computation of child taxes or based on the total amount.

include_base_amount:
 

Include in Base Amount, boolean

Set if the amount of tax must be included in the base amount before computing the next taxes.

python_applicable:
 

Python Code, text

applicable_type:
 

Applicable Type, selection, required

tax_code_id:

Tax Code, many2one

Use this code for the VAT declaration.

parent_id:

Parent Tax Account, many2one

python_compute_inv:
 

Python Code (reverse), text

ref_tax_sign:

Tax Code Sign, float

Usually 1 or -1.

type:

Tax Type, selection, required

ref_base_sign:

Base Code Sign, float

Usually 1 or -1.

description:

Internal Name, char

tax_group:

Tax Group, selection

If a default tax if given in the partner it only override taxes from account (or product) of the same group.

type_tax_use:

Tax Use In, selection, required

base_code_id:

Base Code, many2one

Use this code for the VAT declaration.

name:

Tax Name, char, required

account_paid_id:
 

Refund Tax Account, many2one

account_collected_id:
 

Invoice Tax Account, many2one

chart_template_id:
 

Chart Template, many2one, required

amount:

Amount, float, required

python_compute:

Python Code, text

tax_sign:

Tax Code Sign, float

Usually 1 or -1.

Object: Templates for Accounts (account.account.template)

note:

Note, text

code:

Code, char

name:

Name, char, required

child_parent_ids:
 

Children, one2many

user_type:

Account Type, many2one, required

shortcut:

Shortcut, char

currency_id:

Secondary Currency, many2one

Force all moves for this account to have this secondary currency.

parent_id:

Parent Account Template, many2one

tax_ids:

Default Taxes, many2many

type:

Internal Type, selection, required

reconcile:

Allow Reconciliation, boolean

Check this option if you want the user to reconcile entries in this account.

Object: Tax Code Template (account.tax.code.template)

info:

Description, text

code:

Case Code, char

name:

Tax Case Name, char, required

child_ids:

Child Codes, one2many

sign:

Sign for parent, float, required

notprintable:

Not Printable in Invoice, boolean

Check this box if you don’t want any VAT related to this Tax Code to appear on invoices

parent_id:

Parent Code, many2one

Object: Templates for Account Chart (account.chart.template)

property_account_expense_categ:
 

Expense Category Account, many2one

name:

Name, char, required

property_account_expense:
 

Expense Account on Product Template, many2one

property_account_receivable:
 

Receivable Account, many2one

property_account_payable:
 

Payable Account, many2one

tax_template_ids:
 

Tax Template List, one2many

List of all the taxes that have to be installed by the wizard

tax_code_root_id:
 

Root Tax Code, many2one, required

property_account_income_categ:
 

Income Category Account, many2one

property_account_income:
 

Income Account on Product Template, many2one

bank_account_view_id:
 

Bank Account, many2one, required

account_root_id:
 

Root Account, many2one, required

Object: Template for Fiscal Position (account.fiscal.position.template)

chart_template_id:
 Chart Template, many2one, required
tax_ids:Tax Mapping, one2many
name:Fiscal Position Template, char, required
account_ids:Account Mapping, one2many

Object: Fiscal Position Template Tax Mapping (account.fiscal.position.tax.template)

position_id:Fiscal Position, many2one, required
tax_dest_id:Replacement Tax, many2one
tax_src_id:Tax Source, many2one, required

Object: Fiscal Position Template Account Mapping (account.fiscal.position.account.template)

position_id:Fiscal Position, many2one, required
account_dest_id:
 Account Destination, many2one, required
account_src_id:Account Source, many2one, required

Object: wizard.multi.charts.accounts (wizard.multi.charts.accounts)

chart_template_id:
 

Chart Template, many2one, required

code_digits:

# of Digits, integer, required

No. of Digits to use for account code

company_id:

Company, many2one, required

seq_journal:

Separated Journal Sequences, boolean

Check this box if you want to use a different sequence for each created journal. Otherwise, all will use the same sequence.

bank_accounts_id:
 

Bank Accounts, one2many, required

Object: account.bank.accounts.wizard (account.bank.accounts.wizard)

currency_id:Currency, many2one
acc_no:Account No., many2one, required
bank_account_id:
 Bank Account, many2one, required

Object: Analytic Accounts (account.analytic.account)

code:

Account Code, char

last_worked_invoiced_date:
 

Date of Last Invoiced Cost, date, readonly

If invoice from the costs, this is the date of the latest work or cost that have been invoiced.

quantity_max:

Maximum Quantity, float

contact_id:

Contact, many2one

company_currency_id:
 

Currency, many2one, readonly

active:

Active, boolean

last_invoice_date:
 

Last Invoice Date, date, readonly

Date of the last invoice created for this analytic account.

crossovered_budget_line:
 

Budget Lines, one2many

amount_max:

Max. Invoice Price, float

package_ok:

Used in Package, boolean

hours_qtt_non_invoiced:
 

Uninvoiced Hours, float, readonly

Number of hours (from journal of type ‘general’) that can be invoiced if you invoice based on analytic account.

partner_id:

Associated Partner, many2one

revenue_per_hour:
 

Revenue per Hours (real), float, readonly

Computed using the formula: Invoiced Amount / Hours Tot.

last_worked_date:
 

Date of Last Cost/Work, date, readonly

Date of the latest work done on this account.

user_id:

Account Manager, many2one

to_invoice:

Reinvoice Costs, many2one

Check this field if you plan to automatically generate invoices based on the costs in this analytic account: timesheets, expenses, ...You can configure an automatic invoice rate on analytic accounts.

total_cost:

Total Costs, float, readonly

Total of costs for this account. It includes real costs (from invoices) and indirect costs, like time spent on timesheets.

date_start:

Date Start, date

company_id:

Company, many2one, required

parent_id:

Parent Analytic Account, many2one

state:

State, selection, required

complete_name:

Full Account Name, char, readonly

real_margin:

Real Margin, float, readonly

Computed using the formula: Invoiced Amount - Total Costs.

debit:

Debit, float, readonly

pricelist_id:

Sale Pricelist, many2one

journal_rate_ids:
 

Invoicing Rate per Journal, one2many

type:

Account Type, selection

remaining_hours:
 

Remaining Hours, float, readonly

Computed using the formula: Maximum Quantity - Hours Tot.

ca_to_invoice:

Uninvoiced Amount, float, readonly

If invoice from analytic account, the remaining amount you can invoice to the customer based on the total costs.

description:

Description, text

amount_invoiced:
 

Invoiced Amount, float, readonly

Total invoiced

child_ids:

Child Accounts, one2many

user_product_ids:
 

Users/Products Rel., one2many

ca_invoiced:

Invoiced Amount, float, readonly

Total customer invoiced amount for this account.

user_ids:

User, many2many, readonly

remaining_ca:

Remaining Revenue, float, readonly

Computed using the formula: Max Invoice Price - Invoiced Amount.

hours_qtt_invoiced:
 

Invoiced Hours, float, readonly

Number of hours that can be invoiced plus those that already have been invoiced.

date:

Date End, date

hours_quantity:

Hours Tot, float, readonly

Number of hours you spent on the analytic account (from timesheet). It computes on all journal of type ‘general’.

theorical_margin:
 

Theorical Margin, float, readonly

Computed using the formula: Theorial Revenue - Total Costs

ca_theorical:

Theorical Revenue, float, readonly

Based on the costs you had on the project, what would have been the revenue if all these costs have been invoiced at the normal sale price provided by the pricelist.

name:

Account Name, char, required

address_ids:

Partners Contacts, many2many

real_margin_rate:
 

Real Margin Rate (%), float, readonly

Computes using the formula: (Real Margin / Total Costs) * 100.

credit:

Credit, float, readonly

month_ids:

Month, many2many, readonly

line_ids:

Analytic Entries, one2many

balance:

Balance, float, readonly

quantity:

Quantity, float, readonly

Object: account.analytic.journal (account.analytic.journal)

active:

Active, boolean

line_ids:

Lines, one2many

code:

Journal code, char

type:

Type, selection, required

Gives the type of the analytic journal. When a document (eg: an invoice) needs to create analytic entries, Open ERP will look for a matching journal of the same type.

name:

Journal name, char, required

Object: Fiscal Position (account.fiscal.position)

tax_ids:Tax Mapping, one2many
company_id:Company, many2one
name:Fiscal Position, char, required
account_ids:Account Mapping, one2many

Object: Fiscal Position Taxes Mapping (account.fiscal.position.tax)

position_id:Fiscal Position, many2one, required
tax_dest_id:Replacement Tax, many2one
tax_src_id:Tax Source, many2one, required

Object: Fiscal Position Accounts Mapping (account.fiscal.position.account)

position_id:Fiscal Position, many2one, required
account_dest_id:
 Account Destination, many2one, required
account_src_id:Account Source, many2one, required

Object: Maintains Invoice sequences with Fiscal Year (fiscalyear.seq)

fiscalyear_id:Fiscal Year, many2one, required
sequence_id:Sequence, many2one, required
journal_id:Journal, many2one

Object: Invoice (account.invoice)

origin:

Origin, char

Reference of the document that produced this invoice.

comment:

Additional Information, text

date_due:

Due Date, date

If you use payment terms, the due date will be computed automatically at the generation of accounting entries. If you keep the payment term and the due date empty, it means direct payment.

check_total:

Total, float

reference:

Invoice Reference, char

The partner reference of this invoice.

payment_term:

Payment Term, many2one, readonly

If you use payment terms, the due date will be computed automatically at the generation of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month.

to_export:

To export, boolean

number:

Invoice Number, char, readonly

amount_to_pay:

Amount to be paid, float, readonly

The amount which should be paid at the current date minus the amount which is already in payment order

journal_id:

Journal, many2one, required, readonly

currency_id:

Currency, many2one, required, readonly

address_invoice_id:
 

Invoice Address, many2one, required, readonly

tax_line:

Tax Lines, one2many, readonly

move_lines:

Move Lines, many2many, readonly

fiscal_position:
 

Fiscal Position, many2one

esale_oscom_web:
 

Website, many2one

partner_id:

Partner, many2one, required, readonly

reference_type:

Reference Type, selection, required

company_id:

Company, many2one, required

amount_tax:

Tax, float, readonly

state:

State, selection, readonly

partner_bank:

Bank Account, many2one

The partner bank account to pay Keep empty to use the default

abstract_line_ids:
 

Invoice Lines, one2many, readonly

type:

Type, selection, readonly

invoice_line:

Invoice Lines, one2many, readonly

account_id:

Account, many2one, required, readonly

The partner account used for this invoice.

payment_ids:

Payments, many2many, readonly

reconciled:

Paid/Reconciled, boolean, readonly

The account moves of the invoice have been reconciled with account moves of the payment(s).

residual:

Residual, float, readonly

Remaining amount due.

move_name:

Account Move, char

date_invoice:

Date Invoiced, date

period_id:

Force Period, many2one

Keep empty to use the period of the validation date.

amount_untaxed:

Untaxed, float, readonly

move_id:

Invoice Movement, many2one, readonly

Link to the automatically generated account moves.

amount_total:

Total, float, readonly

to_update:

To update, boolean

name:

Description, char, readonly

user_id:

Salesman, many2one

price_type:

Price method, selection, required, readonly

export_date:

Export time, datetime

payment_type:

Payment type, many2one

address_contact_id:
 

Contact Address, many2one, readonly

domiciled:

Domiciled, boolean

domiciled_send_date:
 

Domiciliation Sending Date, date

Object: Invoice line (account.invoice.line)

origin:

Origin, char

Reference of the document that produced this invoice.

uos_id:

Unit of Measure, many2one

sequence:

Sequence Number, integer

parent_fleet_id:
 

Fleet, many2one

price_unit:

Unit Price, float, required

price_subtotal:

Subtotal w/o tax, float, readonly

maintenance_end_date:
 

Maintenance End Date, date

fleet_id:

Fleet, many2one

production_lot_id:
 

Production Lot, many2one

is_maintenance:

Is Maintenance, boolean

asset_id:

Asset, many2one

account_analytic_lines:
 

Analytic Lines, one2many

analytics_id:

Analytic Distribution, many2one

functional_field:
 

Source Account, char, readonly

note:

Notes, text

state:

Type, selection, required

maintenance_product_qty:
 

Maintenance Product Quantity, float

account_analytic_id:
 

Analytic Account, many2one, required

maintenance_start_date:
 

Maintenance Start Date, date

cost_price:

Cost Price, float

maintenance_month_qty:
 

Maintenance Month Quantity, integer, readonly

account_id:

Account, many2one, required

The income or expense account related to the selected product.

price_subtotal_incl:
 

Subtotal, float, readonly

invoice_line_tax_id:
 

Taxes, many2many

discount:

Discount (%), float

product_id:

Product, many2one

name:

Description, char, required

invoice_id:

Invoice Ref, many2one

customer_ref:

Customer reference, char

quantity:

Quantity, float, required

Object: Invoice Tax (account.invoice.tax)

tax_amount:

Tax Code Amount, float

name:

Tax Description, char, required

sequence:

Sequence, integer

invoice_id:

Invoice Line, many2one

manual:

Manual, boolean

base_amount:

Base Code Amount, float

base_code_id:

Base Code, many2one

The account basis of the tax declaration.

tax_code_id:

Tax Code, many2one

The tax basis of the tax declaration.

amount:

Amount, float

base:

Base, float

account_id:

Tax Account, many2one, required

Object: Bank Statement (account.bank.statement)

name:Name, char, required
period_id:Period, many2one, required
balance_end:Balance, float, readonly
balance_start:Starting Balance, float
journal_id:Journal, many2one, required
currency:Currency, many2one, readonly
state:State, selection, required, readonly
move_line_ids:Entry lines, one2many
date:Date, date, required
line_ids:Statement lines, one2many
balance_end_real:
 Ending Balance, float

Object: Statement reconcile (account.bank.statement.reconcile)

total_currency:

Currency, many2one, readonly

total_amount:

Payment amount, float, readonly

total_entry:

Total entries, float, readonly

statement_line:

Bank Statement Line, one2many

total_new:

Total write-off, float, readonly

total_balance:

Balance, float, readonly

name:

Date, char, required

line_new_ids:

Write-Off, one2many

total_second_currency:
 

Currency, many2one, readonly

The currency of the journal

line_ids:

Entries, many2many

partner_id:

Partner, many2one, readonly

total_second_amount:
 

Payment amount, float, readonly

The amount in the currency of the journal

Object: Statement reconcile line (account.bank.statement.reconcile.line)

line_id:Reconcile, many2one
amount:Amount, float, required
name:Description, char
account_id:Account, many2one, required

Object: Bank Statement Line (account.bank.statement.line)

reconcile_id:Reconcile, many2one
note:Notes, text
ref:Ref., char
name:Name, char, required
type:Type, selection, required
statement_id:Statement, many2one, required
reconcile_amount:
 Amount reconciled, float, readonly
move_ids:Moves, many2many
amount:Amount, float
date:Date, date, required
partner_id:Partner, many2one
account_id:Account, many2one, required

Object: Entry lines (account.move.line)

analytic_lines:

Analytic lines, one2many

statement_id:

Statement, many2one

The bank statement used for bank reconciliation

amount_to_pay:

Amount to pay, float, readonly

company_id:

Company, many2one, required

currency_id:

Currency, many2one

The optional other currency if it is a multi-currency entry.

date_maturity:

Maturity date, date

This field is used for payable and receivable entries. You can put the limit date for the payment of this entry line.

invoice:

Invoice, many2one, readonly

partner_id:

Partner Ref., many2one

reconcile_partial_id:
 

Partial Reconcile, many2one, readonly

blocked:

Litigation, boolean

You can check this box to mark the entry line as a litigation with the associated partner

analytic_account_id:
 

Analytic Account, many2one

centralisation:

Centralisation, selection

analytics_id:

Analytic Distribution, many2one

journal_id:

Journal, many2one, required

tax_code_id:

Tax Account, many2one

state:

Status, selection, readonly

partner_bank:

Bank Account, many2one

debit:

Debit, float

ref:

Ref., char

asset_id:

Asset, many2one

account_id:

Account, many2one, required

amount_taxed:

Taxed Amount, float

followup_date:

Latest Follow-up, date

period_id:

Period, many2one, required

date_created:

Creation date, date

date:

Effective date, date, required

move_id:

Move, many2one

The move of this entry line.

name:

Name, char, required

reconcile_id:

Reconcile, many2one, readonly

tax_amount:

Tax/Base Amount, float

product_id:

Product, many2one

account_tax_id:

Tax, many2one

product_uom_id:

UoM, many2one

followup_line_id:
 

Follow-up Level, many2one

credit:

Credit, float

received_check:

Received check, boolean

To write down that a check in paper support has been received, for example.

payment_type:

Payment type, many2one, readonly

amount_currency:
 

Amount Currency, float

The amount expressed in an optional other currency if it is a multi-currency entry.

balance:

Balance, float, readonly

quantity:

Quantity, float

The optional quantity expressed by this line, eg: number of product sold. The quantity is not a legal requirement but is very usefull for some reports.

Object: Analytic lines (account.analytic.line)

code:Code, char
user_id:User, many2one
product_id:Product, many2one
general_account_id:
 General Account, many2one, required
product_uom_id:UoM, many2one
journal_id:Analytic Journal, many2one, required
name:Description, char, required
to_invoice:Invoicing, many2one
amount:Amount, float, required
unit_amount:Quantity, float
invoice_id:Invoice, many2one
date:Date, date, required
ref:Ref., char
invoice_line_id:
 Invoice Line, many2one
move_id:Move Line, many2one
account_id:Analytic Account, many2one, required

Object: Analytic account costs and revenues (report.hr.timesheet.invoice.journal)

account_id:Analytic Account, many2one, readonly
revenue:Debit, float, readonly
journal_id:Journal, many2one, readonly
cost:Credit, float, readonly
quantity:Quantities, float, readonly
name:Month, date, readonly

Object: account.sequence.fiscalyear (account.sequence.fiscalyear)

sequence_id:Sequence, many2one, required
fiscalyear_id:Fiscal Year, many2one, required
sequence_main_id:
 Main Sequence, many2one, required

Table Of Contents

Previous topic

Module Technical Guide: Introspection report on objects

Next topic

report_account_analytic (account_analytic_analysis)

This Page

Open ERP Books


Retail and Industrial Management, steps towards Sales, Logistics and Manufacturing Integration in the Open Source & Management Collection.