Sales Invoice Developer Notes¶
Key files¶
accounting/models.pyaccounting/forms.pyaccounting/views.pyaccounting/sales_taxes.pyaccounting/signals.pyaccounting/urls.pytemplates/accounting/sales_invoice/*.html
Signal behavior¶
When invoice items are added/updated/deleted, ItemTransactionModel signals
trigger Sales Invoice snapshot recalculation.
Migrations¶
The sales-invoice flow introduces:
schema migrations for new sales-invoice and tax models
a data migration seeding Canada tax presets
Build docs¶
Use Sphinx via uv:
uv run --with sphinx sphinx-build -b html docs docs/_build/html
Open docs/_build/html/index.html in a browser.