Avalara Avatax Connector for Sales Orders
account_avatax_sale · OCA/account-fiscal-rule
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 52 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
2 migration notes
4 models
3 views
0 HTTP endpoints
Migration considerations
sale_order_update_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_partner_details_form_exempt_country_wide— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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.