Account invoice accrual

account_invoice_accrual
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/10.0/account_invoice_accrual
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYInvoice
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_accrual_base
    - account_cutoff_base
OCA/account-financial-tools:
    - account_reversal
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
invoice_form account.invoice.form (account_invoice_accrual) account.invoice data Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form (account_invoice_accrual) account.invoice data Inherits account.invoice_supplier_form
view_account_move_accrue account.move.accrue.form account.move.accrue form New
Models touched (3)

New fields (2)
  • accrual_move_id Many2one → account.move
    copy=False help='Link to the Accrual Journal Items.' ondelete='set null' readonly=True args: 'account.move', 'Accrual Journal Entry'
  • to_be_reversed Boolean
    related='accrual_move_id.to_be_reversed' args: 'To be reversed'
Public methods (7)
  • action_cancel(self)
    @api.multi
  • button_reversal(self)
    @api.multi
  • create_accruals(self, accrual_date, account_id, accrual_journal_id=False, move_prefix=False, move_line_prefix=False)
    @api.multi
    Create the accrual of one or multiple invoices :param accrual_date: when the accrual must be input :param accrual_journal_id: facultative journal on which create the move :param move_prefix: prefix for the move's name :param move_line_prefix: prefix for the move line's names :return: Returns a list of ids of the created accrual moves
  • invoice_validate(self)
    @api.multi
  • line_get_convert(self, line, part)
    @api.model
  • reverse_accruals(self)
  • unlink(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • move_line_get_item(self, line)
    @api.model

New fields (5)
  • account_id Many2one → account.account
    default=<expr> required=True args: 'account.account', 'Accrual account'
  • date Date
    default=<expr> help='Enter the date of the accrual account entries. By default, Odoo proposes the last day of the previous month.' required=True args: 'Accrual Date'
  • journal_id Many2one → account.journal
    default=<expr> help='' args: 'account.journal', 'Accrual Journal'
  • move_line_prefix Char
    default='ACC -' help='Prefix that will be added to the name of the journal item to create the name of the accrual journal item (a space is added after the prefix).' size=32 args: 'Items Name Prefix'
  • move_prefix Char
    help="Prefix that will be added to the 'Ref' of the journal entry to create the 'Ref' of the accrual journal entry (no space added after the prefix)." size=32 args: 'Entries Ref. Prefix'
Public methods (1)
  • action_accrue(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/8.0/account_invoice_accrual
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInvoice
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSStéphane Bidoul, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_accrual_base
    - account_cutoff_base
OCA/account-financial-tools:
    - account_reversal
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_accountant
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
invoice_form account.invoice.form (account_invoice_accrual) account.invoice data Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form (account_invoice_accrual) account.invoice data Inherits account.invoice_supplier_form
view_account_move_accrue account.move.accrue.form account.move.accrue form New
view_company_form invoice.accrual.base.company.form res.company field Inherits account_cutoff_accrual_base.view_company_form
Models touched (4)

New fields (2)
  • accrual_move_id Many2one → account.move
    copy=False help='Link to the Accrual Journal Items.' ondelete='set null' readonly=True args: 'account.move', 'Accrual Journal Entry'
  • to_be_reversed Boolean
    related='accrual_move_id.to_be_reversed' args: 'To be reversed'
Public methods (7)
  • action_cancel(self)
    @api.multi
  • button_reversal(self)
    @api.multi
  • create_accruals(self, accrual_date, account_id, accrual_period_id=False, accrual_journal_id=False, move_prefix=False, move_line_prefix=False)
    @api.multi
    Create the accrual of one or multiple invoices :param accrual_date: when the accrual must be input :param accrual_period_id: facultative period to write on the move (use the period of the date if empty :param accrual_journal_id: facultative journal on which create the move :param move_prefix: prefix for the move's name :param move_line_prefix: prefix for the move line's names :return: Returns a list of ids of the created accrual moves
  • invoice_validate(self)
    @api.multi
  • line_get_convert(self, cr, uid, line, part, date, context=None)
  • reverse_accruals(self)
  • unlink(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • move_line_get_item(self, cr, uid, line, context=None)

New fields (0)

No new fields.

Public methods (1)
  • action_accrue(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.