Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 20 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.26 MB
Module directory on disk
Code analysis 0 migration notes 13 models 22 views 3 HTTP endpoints

Description

This module is a component of the Avatax Exemption Integration with odoo app.

  • Export Exemption customer in Avatax
  • Export Exemptions for customer based on nexus region
  • Export Custom rules based on avatax nexus regions
  • Export Product Taxcodes to Avatax

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 22

XML IDNameModelTypeStatus
exemption_code_form_view exemption.code.form.view exemption.code form New
exemption_form_view res.partner.exemption.form.view res.partner.exemption form Inherits account_avatax_exemption_base.exemption_form_view
exemption_page Exemptions ir.ui.view qweb New
exemption_reason_type_form_view res.partner.exemption.business.type.form.view res.partner.exemption.business.type form Inherits account_avatax_exemption_base.exemption_reason_type_form_view
exemption_reason_type_tree_view res.partner.exemption.business.type.tree.view res.partner.exemption.business.type list Inherits account_avatax_exemption_base.exemption_reason_type_tree_view
exemption_rule_form_view exemption.code.rule.form.view exemption.code.rule form New
exemption_rule_tree_view exemption.code.rule.tree.view exemption.code.rule list New
exemption_type_form_view res.partner.exemption.type.form.view res.partner.exemption.type form Inherits account_avatax_exemption_base.exemption_type_form_view
exemptions_followup Portal Exemption Form ir.ui.view qweb New
exemptions_table Exemptions table ir.ui.view qweb New
form_breadcrumb Portal Exemption Breadcrumb ir.ui.view qweb New
form_custom Portal Exemption Form Customizations ir.ui.view qweb Inherits exemptions_followup
form_field Portal Exemption Form Field ir.ui.view qweb New
portal_layout Portal layout: exemption menu entry ir.ui.view qweb Inherits portal.portal_breadcrumbs
portal_my_exemptions My Exemptions ir.ui.view qweb New
portal_my_home_exemptions Portal My Home: exemptions entries ir.ui.view qweb Inherits portal.portal_my_home
product_product_normal_form_view_inherit product.product.normal.form.view.inherit product.product form Inherits product.product_normal_form_view
tree_custom Portal Exemption List Customizations ir.ui.view qweb Inherits portal_my_exemptions
view_avalara_salestax_form avalara.salestax.inherit avalara.salestax form Inherits account_avatax_oca.view_avalara_salestax_form
view_country_state_tree res.country.state.inherit res.country.state tree Inherits account_avatax_exemption_base.view_country_state_tree
view_partner_details_form_inherit1_exemption res.partner.details.form.inherit1.exemption res.partner form Inherits account_avatax_oca.view_partner_details_form_inherit1
view_product_tax_code_form_inherit product.tax.code.form.inherit product.tax.code form Inherits account_avatax_oca.view_product_tax_code_form

HTTP endpoints 3

Route(s)HandlerAuthTypeMethodsFlags
/exemption/<int:exemption_id> Exemption.get_exemption public http ALL sudo website
/my/exemptions, /my/exemptions/page/<int:page> WebsiteExemption.portal_my_exemptions user http ALL website
/my/exemptions/<model('res.partner.exemption'):exemption> WebsiteExemption.portal_my_exemptions_read user http ALL website

Models touched 13

New fields (5)
  • avatax_company_id Char
    help='The company ID as defined in the Admin Console of AvaTax' args: 'Company ID'
  • exemption_export Boolean
  • exemption_rule_export Boolean
  • tax_item_export Boolean
  • use_commercial_entity Boolean
    default=True
Public methods (9)
  • create_transaction(self, doc_date, doc_code, doc_type, partner, ship_from_address, shipping_address, lines, user=None, exemption_number=None, exemption_code_name=None, commit=False, invoice_date=None, reference_code=None, location_code=None, is_override=None, currency_id=None, ignore_error=None, log_to_record=False)
  • download_exemptions(self)
  • export_new_exemption_rules(self, rules=None)
  • export_new_tax_items(self)
  • import_exemption_activity_type(self)
  • import_exemption_country_state_code(self)
  • import_tax_items(self)
  • link_certificates_to_customer(self, exemption_line)
  • set_tax_item_info_to_product(self, record, product)

New fields (2)
  • flag Boolean
    copy=False help='helps to add custom rules for the nexus Avatax states' args: 'Taxed by default'
  • rule_ids One2many → exemption.code.rule
    args: 'exemption.code.rule', 'exemption_code_id'
Public methods (1)
  • create_rules(self)

New fields (9)
  • avatax_id Char
    copy=False args: 'Avatax Rule ID'
  • avatax_rate Float
  • avatax_tax_code Many2one → product.tax.code
    args: 'product.tax.code'
  • exemption_code_id Many2one → exemption.code
    required=True string='Entity Use Code' args: 'exemption.code'
  • is_all_juris Boolean
    default=True
  • name Char
    default=<expr> index='trigram'
  • state Selection
    default='draft' args: [('draft', 'Draft'), ('progress', 'In Progress'), ('done', 'Done'), ('cancel', 'Cancelled')]
  • state_id Many2one → res.country.state
    string='Region' args: 'res.country.state'
  • taxable Boolean
Public methods (6)
  • cancel_exemption_rule(self)
  • cancel_exemption_rule_failed(self)
  • create(self, vals_list)
    @api.model_create_multi
  • enable_exemption_rule(self)
  • export_exemption_rule(self)
  • reset_to_draft(self)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (1)
  • avatax_item_id Char
    copy=False args: 'Avatax TaxItem'
Public methods (2)
  • create_job_taxitem(self)
  • write(self, vals)

New fields (1)
  • rule_ids One2many → exemption.code.rule
    args: 'exemption.code.rule', 'avatax_tax_code', 'Avatax Rules'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • rule_ids One2many → exemption.code.rule
    args: 'exemption.code.rule', 'state_id', 'Avatax Rules'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • exemption_code_id Many2one
    related='business_type.exemption_code_id' string='Entity Use Code'
Public methods (5)
  • cancel_exemption(self)
  • enable_exemption(self)
  • export_exemption(self)
  • onchange_partner_id(self)
    @api.onchange('partner_id')
  • search_exemption_line(self, avatax_id)

New fields (1)
  • exemption_code_id Many2one → exemption.code
    string='Entity Use Code' args: 'exemption.code'
Public methods (0)

No public methods.

New fields (1)
  • exemption_code_id Many2one
    related='business_type.exemption_code_id' string='Entity Use Code'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…