Files
account_invoice_do/doc/design.rst
T
José Arturo García e2340bd5bf
Publish Package / publish (push) Successful in 1m57s
Migrate account invoice DO to Tryton 8.0
2026-08-14 20:54:23 -04:00

15 lines
667 B
ReStructuredText

******
Design
******
The module does not reimplement tax formulas. Invoice line helper amounts are
obtained from ``account.invoice.line._get_taxes`` and classified with the tax
group codes supplied by ``account_do``. This preserves Tryton's handling of
fixed, included, compound, dated and rounded taxes.
All informational tax fields and the line total share one multi-field getter,
so the core tax result is classified only once per invoice line read.
The displayed due date is the last maturity date. For posted invoices it is
read from the payable move lines. For draft invoices it is computed by the
complete payment term using the invoice amount and currency.