Repository
OCA/account-fiscal-rule · module folder · Try on Runboat
Module version
1.0.0
Category
Inventory
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/account-fiscal-rule
Last tracking update
2026-08-07 08:09:31
Authors
Odoo Community Association (OCA), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
kobros-tech, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
Avalara
System dependencies
None
Required by
None
Description

Code Analysis

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

No HTTP endpoints found for this module.

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.

Loading…