Avalara Avatax Certified Connector for Repair Orders
account_avatax_repair_oca · OCA/account-fiscal-rule
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 23 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.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.09 MB
Module directory on disk
Code analysis
2 migration notes
6 models
3 views
0 HTTP endpoints
Migration considerations
repair_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 |
|---|---|---|---|---|
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_taxesBooleanhelp='When checked, the Avatax computed tax will replace any other taxes that may exist in the document line.' -
repair_calculate_taxBooleanhelp="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_idBooleandefault=Truehelp="Use Sales Order's Invoice Address field to determine TaxableStatus" args: "Use Invoice partner's customer code in SO"
No public methods.
New fields (1)
-
tax_amt_avataxMonetarystring='AvaTax'
-
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_avataxMonetarystring='AvaTax'
-
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_avataxMonetarystring='AvaTax' -
avatax_request_logTextcopy=Falsereadonly=True args: 'Avatax API Request Log' -
avatax_response_logTextcopy=Falsereadonly=True args: 'Avatax API Response Log' -
calculate_tax_on_saveBoolean -
exemption_codeCharcompute='_compute_onchange_exemption'copy=Falsehelp='It show the customer exemption number'readonly=Falsestore=True args: 'Exemption Number' -
exemption_code_idMany2one → exemption.codecompute='_compute_onchange_exemption'copy=Falsehelp='It show the customer exemption code'readonly=Falsestore=True args: 'exemption.code', 'Exemption Code' -
hide_exemptionBooleancompute='_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_avataxBooleancompute='_compute_is_avatax' -
location_codeCharhelp='Origin address location code' -
tax_address_idMany2one → res.partnercompute='_compute_tax_address_id'copy=Falsereadonly=Truestates={'draft': [('readonly', False)]}store=True args: 'res.partner', 'Tax Address'
-
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_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.
Loading…