Account Group Invoice Lines

account_group_invoice_lines
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/9.0/account_group_invoice_lines
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, SYLEAM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, SYLEAM
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.syleam.fr/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_journal_form group.invoice.lines.account.journal.form account.journal field Inherits account.view_account_journal_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • inv_line_characteristic_hashcode(self, invoice_line)
    Inherit the native method that generate hashcodes for grouping. When grouping per account, we remove the product_id from the hashcode. WARNING: I suppose that the other methods that inherit this method add data on the end of the hashcode, not at the beginning. This is the case of github/OCA/account-closing/ account_cutoff_prepaid/account.py
  • line_get_convert(self, line, part, date)
    @api.model

New fields (1)
  • group_method Selection
    default='account' help="If you select 'By Product', the account move lines generated when you validate an invoice will be grouped by product, account, analytic account and tax code. If you select 'By Account', they will be grouped by account, analytic account and tax code, without taking into account the product." string='Group by' args: [('product', 'By Product'), ('account', 'By Account')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/8.0/account_group_invoice_lines
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, SYLEAM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, SYLEAM
COMMITTERS
COMMITTERSAlexis de Lattre, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.syleam.fr/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_journal_form group.invoice.lines.account.journal.form account.journal field Inherits account.view_account_journal_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • inv_line_characteristic_hashcode(self, invoice_line)
    Inherit the native method that generate hashcodes for grouping. When grouping per account, we remove the product_id from the hashcode. WARNING: I suppose that the other methods that inherit this method add data on the end of the hashcode, not at the beginning. This is the case of github/OCA/account-closing/ account_cutoff_prepaid/account.py
  • line_get_convert(self, line, part, date)
    @api.model

New fields (1)
  • group_method Selection
    default='account' help="If you select 'By Product', the account move lines generated when you validate an invoice will be grouped by product, account, analytic account and tax code. If you select 'By Account', they will be grouped by account, analytic account and tax code, without taking into account the product." string='Group by' args: [('product', 'By Product'), ('account', 'By Account')]
Public methods (0)

No public methods.