Account Invoice Line Default Account

by , ,
v 12.0 Third Party 207
Download for v 12.0 Deploy on
Required Apps Invoicing (account)
Lines of code 105
Technical Name account_invoice_line_default_account
Also available in version
You bought this module and need support? Click here!

Account Invoice Line Default Account

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runbot

When entering sales or purchase invoices directly, the user has to select an account which will be used as a counterpart in the generated move lines. 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’. The same principle has been applied for customers. This module will add a default counterpart expense and income account to a partner, comparable to the similiar field in product. When an invoice is entered, withouth a product, the field from partner will be used as default. Also when an account is entered on an invoice line (not automatically selected for a product), the account will be automatically linked to the partner as default expense or income account, unless explicitly disabled in the partner record.

Table of contents

Known issues / Roadmap

  • Remove the write from account.invoice.line._onchange_account_id
  • Retrieve the real default attribute for field account.invoice.line.account_id

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Therp BV
  • BCIM



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/account-invoicing project on GitHub.

You are welcome to contribute. To learn how please visit

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.