Avalara Avatax Certified Connector for Repair Orders

account_avatax_repair_oca
REPOSITORY
REPOSITORYOCA/account-fiscal-rule
GIT
GIThttps://github.com/OCA/account-fiscal-rule.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-fiscal-rule/tree/16.0/account_avatax_repair_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInventory
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, kobros-tech
WEBSITE
WEBSITEhttps://github.com/OCA/account-fiscal-rule
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-fiscal-rule:
    - account_avatax_oca
odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - base_geolocalize
    - repair
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Avalara
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
repair_order_update_form_view repair.order.update.form.view repair.order xpath Inherits repair.view_repair_order_form
view_avalara_salestax_form avalara.salestax.inherit avalara.salestax div Inherits account_avatax_oca.view_avalara_salestax_form
view_partner_details_form_exempt_country_wide Partner Form: add Exempt Country Wide res.partner field Inherits account_avatax_oca.view_partner_details_form_inherit1
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • override_line_taxes Boolean
    help='When checked, the Avatax computed tax will replace any other taxes that may exist in the document line.'
  • repair_calculate_tax Boolean
    help="Automatically triggers API to calculate tax If changes made onSO's warehouse_id, tax_on_shipping_address, SO line's price_unit, discount, product_uom_qty" args: 'Auto Calculate Tax on Repair Save'
  • use_partner_invoice_id Boolean
    default=True help="Use Sales Order's Invoice Address field to determine TaxableStatus" args: "Use Invoice partner's customer code in SO"
Public methods (0)

No public methods.

New fields (1)
  • tax_amt_avatax Monetary
    string='AvaTax'
Public methods (1)
  • onchange_reset_avatax_amount(self)
    @api.onchange('product_uom_qty', 'price_unit', 'tax_id')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.

New fields (1)
  • tax_amt_avatax Monetary
    string='AvaTax'
Public methods (1)
  • onchange_reset_avatax_amount(self)
    @api.onchange('product_uom_qty', 'price_unit', 'tax_id')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.

New fields (10)
  • amount_tax_avatax Monetary
    string='AvaTax'
  • avatax_request_log Text
    copy=False readonly=True args: 'Avatax API Request Log'
  • avatax_response_log Text
    copy=False readonly=True args: 'Avatax API Response Log'
  • calculate_tax_on_save Boolean
  • exemption_code Char
    compute='_compute_onchange_exemption' copy=False help='It show the customer exemption number' readonly=False store=True args: 'Exemption Number'
  • exemption_code_id Many2one → exemption.code
    compute='_compute_onchange_exemption' copy=False help='It show the customer exemption code' readonly=False store=True args: 'exemption.code', 'Exemption Code'
  • hide_exemption Boolean
    compute='_compute_hide_exemption' default=<expr> help='Uncheck the this field to show exemption fields on SO/Invoice form view. Also, it will show Tax based on shipping address button' args: 'Hide Exemption & Tax Based on shipping address'
  • is_avatax Boolean
    compute='_compute_is_avatax'
  • location_code Char
    help='Origin address location code'
  • tax_address_id Many2one → res.partner
    compute='_compute_tax_address_id' copy=False readonly=True states={'draft': [('readonly', False)]} store=True args: 'res.partner', 'Tax Address'
Public methods (7)
  • action_repair_confirm(self)
  • avalara_compute_taxes(self)
    Use Avatax API to compute taxes. Sets the Taxes on each line, and lets odoo perfomr teh calculations.
  • copy(self, default=None)
  • create(self, vals)
    @api.model
  • onchange_avatax_calculation(self)
    @api.onchange('operations', 'fees_lines', 'tax_address_id', 'partner_id')
  • onchange_reset_avatax_amount(self)
    @api.onchange('operations', 'fees_lines')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.
  • write(self, vals)

New fields (1)
  • property_exemption_country_wide Boolean
    help='When enabled, the delivery address State is irrelevant when looking up the exemption status, meaning that the exemption is considered applicable for all states' args: 'Exemption Applies Country Wide'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-fiscal-rule
GIT
GIThttps://github.com/OCA/account-fiscal-rule.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-fiscal-rule/tree/14.0/account_avatax_repair_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInventory
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, AlexPForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-fiscal-rule
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-fiscal-rule:
    - account_avatax_oca
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
    - stock_account
    - stock
    - barcodes
    - base_geolocalize
    - repair
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Avalara
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
repair_order_update_form_view repair.order.update.form.view repair.order button Inherits repair.view_repair_order_form
view_avalara_salestax_form avalara.salestax.inherit avalara.salestax xpath Inherits account_avatax_oca.view_avalara_salestax_form
view_partner_details_form_exempt_country_wide Partner Form: add Exempt Country Wide res.partner field Inherits account_avatax_oca.view_partner_details_form_inherit1
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • override_line_taxes Boolean
    help='When checked, the Avatax computed tax will replace any other taxes that may exist in the document line.'
  • repair_calculate_tax Boolean
    help="Automatically triggers API to calculate tax If changes made onSO's warehouse_id, tax_on_shipping_address, SO line's price_unit, discount, product_uom_qty" args: 'Auto Calculate Tax on Repair Save'
  • use_partner_invoice_id Boolean
    default=True help="Use Sales Order's Invoice Address field to determine TaxableStatus" args: "Use Invoice partner's customer code in SO"
Public methods (0)

No public methods.

New fields (1)
  • tax_amt_avatax Monetary
    string='AvaTax'
Public methods (1)
  • onchange_reset_avatax_amount(self)
    @api.onchange('product_uom_qty', 'discount', 'price_unit', 'tax_id')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.

New fields (1)
  • tax_amt_avatax Monetary
    string='AvaTax'
Public methods (1)
  • onchange_reset_avatax_amount(self)
    @api.onchange('product_uom_qty', 'discount', 'price_unit', 'tax_id')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.

New fields (10)
  • amount_tax_avatax Monetary
    string='AvaTax'
  • avatax_request_log Text
    copy=False readonly=True args: 'Avatax API Request Log'
  • avatax_response_log Text
    copy=False readonly=True args: 'Avatax API Response Log'
  • calculate_tax_on_save Boolean
  • exemption_code Char
    compute='_compute_onchange_exemption' copy=False help='It show the customer exemption number' readonly=False store=True args: 'Exemption Number'
  • exemption_code_id Many2one → exemption.code
    compute='_compute_onchange_exemption' copy=False help='It show the customer exemption code' readonly=False store=True args: 'exemption.code', 'Exemption Code'
  • hide_exemption Boolean
    compute='_compute_hide_exemption' default=<expr> help='Uncheck the this field to show exemption fields on SO/Invoice form view. Also, it will show Tax based on shipping address button' args: 'Hide Exemption & Tax Based on shipping address'
  • is_avatax Boolean
    compute='_compute_is_avatax'
  • location_code Char
    help='Origin address location code' args: 'Location Code'
  • tax_address_id Many2one → res.partner
    compute='_compute_tax_address_id' copy=False readonly=True states={'draft': [('readonly', False)]} store=True args: 'res.partner', 'Tax Address'
Public methods (7)
  • action_repair_confirm(self)
  • avalara_compute_taxes(self)
    Use Avatax API to compute taxes. Sets the Taxes on each line, and lets odoo perfomr teh calculations.
  • copy(self, default=None)
  • create(self, vals)
    @api.model
  • onchange_avatax_calculation(self)
    @api.onchange('operations', 'fees_lines', 'tax_address_id', 'partner_id')
  • onchange_reset_avatax_amount(self)
    @api.onchange('operations', 'fees_lines')
    When changing quantities or prices, reset the Avatax computed amount. The Odoo computed tax amount will then be shown, as a reference. The Avatax amount will be recomputed upon document validation.
  • write(self, vals)

New fields (1)
  • property_exemption_country_wide Boolean
    help='When enabled, the delivery address State is irrelevant when looking up the exemption status, meaning that the exemption is considered applicable for all states' args: 'Exemption Applies Country Wide'
Public methods (0)

No public methods.