Skip to main content

Add analytic account on products and product categories

Project description

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

This module allows to define an analytic account at product or category level for using it when creating invoices.

This module is an alternative to the official module account_analytic_default. The advantages of this module are:

  • it only depends on the account module, whereas the account_analytic_default module depends on sale_stock ;

  • the analytic account is configured on the product form or the product category form, and not on a separate object.

Table of contents


This module allows you to configure an income analytic account and an expense analytic account on products and on product categories. When you select the product in an invoice line, it will check if this product has an income analytic account (for customer invoice/refunds) or an expense analytic account (for supplier invoice/refunds) ; if it doesn’t find any, it checks if the category of the product has an income or expense analytic account ; if an analytic account is found, it will be set by default on the invoice line.

Changelog (2020-01-08)

Migrated to odoo 13. (2019-05-26)

Migrated to odoo 12. (2018-05-18)

Migrated to odoo 11. (2017-07-18)

[ADD] Demo data and feature to set analytic account for products. (2017-06-13)

Migrated to odoo 10. (2016-12-03)

[FIX] Travis errors. (2016-01-05)

[IMP] Analytic account creating invoice lines. (2015-11-30)

First version.

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.



  • Akretion

  • Tecnativa



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-analytic project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page