TIP: You can type at any time to perform a new search.
Avalara Avatax Connector for Sales Orders
account_avatax_sale · OCA/account-fiscal-rule
- Repository
- OCA/account-fiscal-rule · module folder · Try on Runboat
- Module version
- 2.4.4
- Category
- Accounting
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/account-fiscal-rule
- Last tracking update
- 2026-08-07 07:38:32
- Authors
- Odoo Community Association (OCA), Fabrice Henrion
- Maintainers
- Odoo Community Association (OCA), Fabrice Henrion
- Committers
- Pedro M. Baeza, Daniel Reis, Bhavesh Odedra, OCA-git-bot, oca-travis, Atchuthan, Sodexis
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_form_view_editable_field |
sale.order.form.view.editable | sale.order | form | Inherits sale_order_update_form_view |
sale_order_update_form_view |
sale.order.update.form.view | sale.order | form | Inherits sale.view_order_form |
view_partner_details_form_exempt_country_wide |
Partner Form: add Exempt Country Wide | res.partner | form | Inherits account_avatax.view_partner_details_form_inherit1 |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
property_exemption_country_wideBooleanhelp='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'
No public methods.
New fields (6)
-
exemption_codeCharcompute=_compute_onchange_exemptionhelp='It show the customer exemption number'readonly=Falsestore=True args: 'Exemption Number' -
exemption_code_idMany2one → exemption.codecompute=_compute_onchange_exemptionhelp='It show the customer exemption code'readonly=Falsestore=True args: 'exemption.code', 'Exemption Code' -
location_codeCharhelp='Origin address location code' args: 'Location Code' -
tax_address_idMany2one → res.partnercompute='_compute_tax_address_id'readonly=Truestates={'draft': [('readonly', False)]}store=True args: 'res.partner', 'Tax Address' -
tax_amountMonetarystring='AvaTax' -
tax_on_shipping_addressBooleandefault=True args: 'Tax based on shipping address'
-
action_confirm(self) -
avalara_compute_taxes(self)Use Avatax API to compute taxes. Sets the Taxes on each line, and lets odoo perfomr teh calculations. -
onchange_partner_shipping_id(self)@api.onchange('partner_shipping_id', 'partner_id')Apply the exemption number and code from the Invoice Partner Data We can only apply an exemption status that matches the delivery address Country and State. The setup for this is to add contact/addresses for the Invoicing Partner, for each of the states we can claim exepmtion for. -
onchange_reset_avatax_amount(self)@api.onchange('order_line', 'fiscal_position_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_amtMonetarystring='AvaTax'
-
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.