Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.3
Category
Accounting & Finance
Folder size
0.32 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 08:09:10
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Sébastien Alix, Anna Janiszewska, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
847 days ago
Last activity
333 days ago
Repository
OCA/account-invoicing
Pull request
[17.0][MIG] account_tax_change (#1714)