Invoice Fiscal Position Update

invoice_fiscal_position_update
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/8.0/invoice_fiscal_position_update
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Julius Network Solutions
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Julius Network Solutions
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Alexandre Fayolle, Fekete Mihai, Sylvain LE GAL, Stéphane Bidoul (ACSONE), OCA Transbot, OCA-git-bot, Matjaž Mozetič
WEBSITE
WEBSITE
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
Invoice Fiscal Position Update
==============================

With this module, when a user changes the fiscal position of an invoice, the
taxes and the accounts on all the invoice lines which have a product are
automatically updated. The invoice lines without a product are not updated and
a warning is displayed to the user in this case.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self)
    @api.onchange('fiscal_position')
    Updates taxes and accounts on all invoice lines
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/7.0/invoice_fiscal_position_update
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Julius Network Solutions
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Julius Network Solutions
COMMITTERS
COMMITTERSAlexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Launchpad Translations on behalf of account-core-editors, OCA Transbot, Rudolf Schnapka
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Invoice Fiscal Position Update
==============================

With this module, when a user changes the fiscal position of an invoice, the
taxes and the accounts on all the invoice lines which have a product are
automatically updated. The invoice lines without a product are not updated and
a warning is displayed to the user in this case.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form fiscal.position.update.invoice.form account.invoice field Inherits account.invoice_form
invoice_supplier_form fiscal.position.update.invoice.supplier.form account.invoice field Inherits account.invoice_supplier_form
Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self, cr, uid, ids, fiscal_position, invoice_type, invoice_line, context=None)
    Function executed by the on_change on the fiscal_position field of invoice ; it updates taxes and accounts on all invoice lines