[MIG] sale_order_invoice_untaxed_amount: migrate to 18.0

This commit is contained in:
Stéphan Sainléger
2026-07-23 12:18:37 +02:00
parent 4c51357735
commit c06b8437ac
12 changed files with 430 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
# sale_order_invoice_untaxed_amount
Display the invoiced and uninvoiced untaxed total in the sale order.
This module adds two stored computed fields on the sale order:
- **Invoiced Untaxed Amount**: the sum of the untaxed amounts of all
non-cancelled invoices linked to the sale order.
- **Uninvoiced Untaxed Amount**: the remaining untaxed amount still to be
invoiced (`amount_untaxed - invoiced_untaxed_amount`, never negative).
Both fields are displayed:
- In the **sale order form**, below the tax totals block.
- In the **sale order list view**, as optional columns (hidden by default)
with column totals.
## Installation
Use Odoo normal module installation procedure to install
`sale_order_invoice_untaxed_amount`.
## Configuration
This module does not require any configuration.
## Usage
1. Open or create a sale order.
2. Confirm the order and create one or more invoices from it.
3. The **Invoiced Untaxed Amount** and **Uninvoiced Untaxed Amount** are
displayed below the totals block of the sale order form.
4. In the sale orders list view, enable the optional columns **Invoiced
Untaxed Amount** and **Uninvoiced Untaxed Amount** to compare invoiced and
remaining untaxed amounts across orders.
The amounts are recomputed automatically whenever the order state, its
invoices, or the invoices state change.
## Known issues / Roadmap
None yet.
## Bug Tracker
Bugs are tracked on [our issues website](https://github.com/elabore-coop/sale-tools/issues).
In case of trouble, please check there if your issue has already been
reported. If you spotted it first, help us smashing it by providing a
detailed and welcomed feedback.
## Credits
### Contributors
- Stéphan Sainléger
### Funders
The development of this module has been financially supported by:
- Elabore (https://elabore.coop)
### Maintainer
This module is maintained by Elabore.