account_avatax_sale_oca
Integrates Odoo sales orders with Avalara AvaTax to compute and manage taxes directly from Avalara.
Key Features
- sale.order: Enriches tax computations with Avatax context and applies returned tax amounts to order totals.
- sale.order: Auto-populates exemption codes and related fields based on delivery addresses and carries them to invoices.
- sale.order: Detects relevant changes to partners, addresses, warehouses, or lines and reruns Avatax tax calculation on save when enabled.
- sale.order: Validates customer addresses before confirmation when required and triggers Avatax recalculation during confirmation.
- sale.order.line: Prepares Avatax request payloads with item codes, discounts, and tax codes, and stores Avatax tax amounts per line.
- account.tax: Replaces computed tax amounts with Avatax values during total calculation when available.
- account.move: Toggles the tax-on-shipping flag automatically when the shipping partner changes on invoices.
- avalara.salestax: Adds configuration flags to use invoice partner codes, auto-calculate sale taxes on save, and override existing line taxes.