| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-invoicing |
| GIT | |
| GIT | https://github.com/OCA/account-invoicing.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-invoicing/tree/16.0/account_invoice_line_default_account |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV, BCIM |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV, BCIM |
| COMMITTERS | |
| COMMITTERS | Denis Roussel, Weblate, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-invoicing |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:52 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - base_partition odoo/odoo: - account - base_setup - base - web - product - bus - web_tour - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_expense_property_form |
res.partner.property.form.inherit | res.partner | field | Inherits account.view_partner_property_form |
No new fields.
Public methods (1)write(self, vals)
auto_update_account_expense
Boolean
default=True
help='When an account is selected on an invoice line, automatically assign it as default expense account'
args: 'Autosave Selection for Expense Account on Invoice Line'
auto_update_account_income
Boolean
default=True
help='When an account is selected on an invoice line, automatically assign it as default income account'
args: 'Autosave Selection for Income Account on Invoice Line'
property_account_expense
Many2one → account.account
company_dependent=True
domain=<expr>
help='Default counterpart account for purchases on invoice lines'
string='Default Expense Account'
args: 'account.account'
property_account_income
Many2one → account.account
company_dependent=True
domain=<expr>
help='Default counterpart account for sales on invoice lines'
string='Default Income Account'
args: 'account.account'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-invoicing |
| GIT | |
| GIT | https://github.com/OCA/account-invoicing.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-invoicing/tree/12.0/account_invoice_line_default_account |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV, BCIM |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV, BCIM |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato, Simone Rubino |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-invoicing |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:21 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web - product - decimal_precision - bus - web_tour - uom - analytic - portal - http_routing - digest |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_expense_property_form |
res.partner.property.form.inherit | res.partner | field | Inherits account.view_partner_property_form |
No new fields.
Public methods (0)No public methods.
auto_update_account_expense
Boolean
default=True
help='When an account is selected on an invoice line, automatically assign it as default expense account'
args: 'Autosave Selection for Expense Account on Invoice Line'
auto_update_account_income
Boolean
default=True
help='When an account is selected on an invoice line, automatically assign it as default income account'
args: 'Autosave Selection for Income Account on Invoice Line'
property_account_expense
Many2one → account.account
company_dependent=True
domain=<expr>
help='Default counterpart account for purchases on invoice lines'
string='Default Expense Account'
args: 'account.account'
property_account_income
Many2one → account.account
company_dependent=True
domain=<expr>
help='Default counterpart account for sales on invoice lines'
string='Default Income Account'
args: 'account.account'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/6.1/account_invoice_line_default_account |
| VERSION | |
| VERSION | 6.1.r005 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Alexandre Fayolle, Ronald Portier |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:04:06 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - base - account - base_setup - product - process - decimal_precision - analytic - board - edi - email_template - base_tools |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | When entering purchase invoices directly, the user has to select an account which will be used as a counterpart in the generated move lines. However, each supplier will mostly be linked to one account. For instance when ordering paper from a supplier that deals in paper, the counterpart account will mostly be something like 'office expenses'. This module will add a default counterpart account to a partner (supplier only), comparable to the similiar field in product. When a supplier invoice is entered, withouth a product, the field from partner will be used as default. Also when an expense account is entered on an invoice line (not automatically selectd for a product), the expense account will be automatically linked to the partner - unless explicitly disabled in the partner record. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_expense_property_form |
res.partner.property.form.inherit | res.partner | field | Inherits account.view_partner_property_form |
No new fields.
Public methods (1)onchange_account_id(self, cr, uid, ids, product_id, partner_id, inv_type, fposition_id, account_id)
No new fields.
Public methods (0)No public methods.