Account Tax Change

account_tax_change
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/16.0/account_tax_change
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSSébastien Alix, Weblate, OCA-git-bot, Anna Janiszewska, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_move_apply_tax_change_view_form account.move.apply.tax.change.form account.move.apply.tax.change form New
account_tax_change_view_form account.tax.change.form account.tax.change form New
account_tax_change_view_search account.tax.change.search account.tax.change search New
account_tax_change_view_tree account.tax.change.tree account.tax.change tree New
Models touched (3)

New fields (3)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> readonly=True required=True string='Company'
  • invoice_ids Many2many → account.move
    check_company=True comodel_name='account.move' domain="[('state', '=', 'draft'), ('payment_state', '=', 'not_paid')]" required=True string='Invoices'
  • tax_change_id Many2one → account.tax.change
    check_company=True comodel_name='account.tax.change' ondelete='cascade' required=True string='Tax Change'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • validate(self)
    Apply the tax changes on the selected invoices.

New fields (5)
  • active Boolean
    default=True
  • change_line_ids One2many → account.tax.change.line
    comodel_name='account.tax.change.line' inverse_name='tax_change_id' string='Mapping'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> readonly=True required=True string='Company'
  • date Date
    required=True
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one
    related='tax_change_id.company_id'
  • tax_change_id Many2one → account.tax.change
    comodel_name='account.tax.change' index=True ondelete='cascade' required=True
  • tax_dest_id Many2one → account.tax
    check_company=True comodel_name='account.tax' domain="[('id', '!=', tax_src_id), ('type_tax_use', '=', type_tax_use)]" ondelete='cascade' required=True string='To tax'
  • tax_src_id Many2one → account.tax
    check_company=True comodel_name='account.tax' index=True ondelete='cascade' required=True string='From tax'
  • type_tax_use Selection
    related='tax_src_id.type_tax_use'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-invoicing
PULL REQUEST
PULL REQUEST[17.0][MIG] account_tax_change (#1714)