Repository
OCA/account-fiscal-rule · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.11 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-fiscal-rule
Last tracking update
2026-08-07 08:43:06
Authors
Odoo Community Association (OCA), Sodexis
Maintainers
Odoo Community Association (OCA), Sodexis
Committers
Don Kendall, kobros-tech, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_avatax_exemption
Description
This module is a component of the Avatax Exemption Integration with odoo
app and it is used as an anchor module for account_avatax_exemption to
add support for odoo enterprise module such as sign and document
extension.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
exemption_form_view res.partner.exemption.form.view res.partner.exemption form New
exemption_reason_type_form_view res.partner.exemption.business.type.form.view res.partner.exemption.business.type form New
exemption_reason_type_tree_view res.partner.exemption.business.type.tree.view res.partner.exemption.business.type list New
exemption_tree_view res.partner.exemption.tree.view res.partner.exemption list New
exemption_type_form_view res.partner.exemption.type.form.view res.partner.exemption.type form New
exemption_type_tree_view res.partner.exemption.type.tree.view res.partner.exemption.type list New
group_of_states_form_view group.of.states.form.view res.partner.group.state form New
group_of_states_tree_view group.of.states.tree.view res.partner.group.state list New
view_country_state_tree res.country.state.inherit res.country.state tree Inherits base.view_country_state_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (3)
  • avatax_code Char
    copy=False
  • avatax_name Char
    copy=False
  • avatax_nexus Boolean
    copy=False
Public methods (0)

No public methods.

New fields (2)
  • avatax_id Char
    copy=False readonly=True args: 'Avatax Customer ID'
  • exemption_ids One2many → res.partner.exemption
    string='Avalara Exemptions' args: 'res.partner.exemption', 'partner_id'
Public methods (0)

No public methods.

New fields (10)
  • effective_date Date
    default=<expr>
  • exemption_line_ids One2many → res.partner.exemption.line
    args: 'res.partner.exemption.line', 'exemption_id'
  • exemption_number Char
  • exemption_number_type Selection
    default='exemption_number/taxpayer_id' args: [('exemption_number/taxpayer_id', 'Exemption Number/Taxpayer ID'), ('foreign_diplomat_number', 'Foreign Diplomat Number'), ('drivers_license_number', 'Drivers License Number'), ('fein', 'FEIN')]
  • exemption_type Many2one → res.partner.exemption.type
    args: 'res.partner.exemption.type'
  • expiry_date Date
  • group_of_state Many2one
  • partner_id Many2one → res.partner
    index=True required=True args: 'res.partner'
  • state Selection
    default='draft' args: [('draft', 'Draft'), ('progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancelled')]
  • state_ids Many2many
Public methods (3)
  • onchange_effective_date(self)
    @api.onchange('exemption_type', 'effective_date')
  • onchange_exemption_type(self)
    @api.onchange('exemption_type', 'group_of_state')
  • onchange_state_ids(self)
    @api.onchange('state_ids')

New fields (2)
  • avatax_id Char
    readonly=True required=True
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (9)
  • add_exemption_number Boolean
  • avatax_id Char
    copy=False readonly=True args: 'Avatax Certificate ID'
  • avatax_status Boolean
    default=True
  • exemption_id Many2one → res.partner.exemption
    required=True args: 'res.partner.exemption'
  • exemption_number Char
  • linked_to_customer Boolean
    readonly=True
  • name Char
    default=<expr> index=True
  • partner_id Many2one
    related='exemption_id.partner_id' store=True
  • state_id Many2one → res.country.state
    args: 'res.country.state'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (5)
  • business_type Many2one → res.partner.exemption.business.type
    string='Activity Type' args: 'res.partner.exemption.business.type'
  • exemption_validity_duration Integer
    default=30 help='Validity duration in days'
  • group_of_state Many2one → res.partner.group.state
    string='Group of States' args: 'res.partner.group.state'
  • name Char
  • state_ids Many2many → res.country.state
    string='States' args: 'res.country.state'
Public methods (1)
  • onchange_group_of_state(self)
    @api.onchange('group_of_state')

New fields (3)
  • country_id Many2one → res.country
    args: 'res.country'
  • name Char
  • state_ids Many2many → res.country.state
    args: 'res.country.state'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
88 days ago
Last activity
59 days ago
Repository
OCA/account-fiscal-rule
Pull request
[19.0][MIG] account_avatax_exemption_base: Migration to 19.0 (#592)