| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 66 |
| Technical Name |
vizion_invoice_line_total_editable |
| License | LGPL-3 |
| Website | https://viziontools.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 66 |
| Technical Name |
vizion_invoice_line_total_editable |
| License | LGPL-3 |
| Website | https://viziontools.com |
Invoice Line Subtotal Editable
Unlock Editable Subtotals on Odoo Invoice & Bill Lines
Directly edit price_subtotal on Odoo invoice section & note lines. No quantity or unit price changes needed. Zero model changes.
The Problem
By default, Odoo locks the subtotal field on all invoice and bill lines. For product lines this is correct — Odoo calculates subtotal = quantity × unit price automatically. But for section lines, note lines, and non-product display type lines, this restriction causes real problems:
- You cannot display a custom grouped total on a section line
- You are forced to use workaround unit prices that confuse clients
- Milestone invoices, retainer billing, and phase-based invoices look unprofessional
- Consulting firms and service businesses waste hours on invoice formatting
- Accountants cannot build clean narrative invoice layouts without developer help
The Solution
Invoice Line Subtotal Editable uses pure XML view inheritance to unlock
the price_subtotal field on invoice and bill lines where display_type
is not a standard product line.
Section lines and note lines now have a fully editable subtotal field. Type the value. Save. Done.
Product lines remain completely protected — Odoo's standard qty × price_unit calculation logic is 100% preserved.
Key Features
-
✓ Direct Subtotal Editing on Section & Note Lines:
Edit
price_subtotaldirectly on invoice section lines, text lines, and note lines. No quantity manipulation. No unit price workarounds. Set the exact total your invoice needs to display. - ✓ Zero Model Changes — Pure XML View Inheritance: Implemented 100% via Odoo XML view inheritance. No new database tables. No model overrides. No ORM changes. Fully upgrade-safe and conflict-resistant.
- ✓ Works Immediately — Zero Configuration: No settings to configure after installation. The editable subtotal field is live on all invoice and bill line views instantly.
- ✓ Non-Intrusive — Compatible with All Odoo Workflows: Existing invoices, automation rules, accounting configurations, and reporting are completely unaffected.
Who Is This For?
- ✔ Consulting firms & professional services building milestone invoices
- ✔ Accounting teams managing complex multi-section invoice layouts
- ✔ Odoo implementers delivering clean invoice formats to clients
- ✔ Legal firms, agencies, IT providers with grouped service billing
- ✔ Any business issuing phase-based, retainer, or narrative invoices
Before vs After
| Before | After | |
|---|---|---|
| Section line subtotal | Locked | Editable |
| Note line subtotal | Locked | Editable |
| Product line subtotal | Auto-calculated | Editable |
| Database changes needed | N/A | None required |
| Workaround needed | Yes | No |
Screenshots
Editable Subtotal on Invoice Lines
Editable subtotal field active on a non-product Odoo invoice line — set your section total directly.
Available in the Odoo Apps Store
Invoice Line Subtotal Editable listed in the Odoo 19 Apps Store under the Accounting category.
Technical Details
The module uses Odoo's XML view inheritance to modify the
account.move.line form view inside the invoice line tree. It removes the
read-only constraint on price_subtotal — but only when display_type
is set (section or note lines). Product lines are untouched.
- No Python controller changes
- No JavaScript widget overrides
- No database migrations
- No performance impact
- No additional ORM queries
| Field | Value |
|---|---|
| Technical Name | vizion_invoice_line_total_editable |
| Version | 19.0.1.0 |
| Odoo Version | 19.0 |
| Category | Accounting |
| Dependencies | account |
| Author | Vizion Tools |
| License | LGPL-3 |
| Compatibility | Odoo 19 Community & Enterprise |
Installation
- Go to Apps in your Odoo 19 instance.
- Search:
invoice_lineor Invoice Line Subtotal Editable. - Click Install.
- Open any Customer Invoice or Vendor Bill.
- Add a Section or Note line — Subtotal is now editable.
No post-install configuration required.
FAQ
Q: Does this affect Odoo's accounting journal entries?
A: No. Section and note lines do not generate journal entry lines. Editing their subtotal affects display only.
Q: Does this affect invoice PDF reports?
A: Standard Odoo PDF templates do not display section line subtotals, so no change for most users.
Q: Compatible with Odoo Enterprise?
A: Yes. Works on both Community and Enterprise editions.
Q: What happens if I uninstall?
A: The field returns to read-only. No data is lost.
Q: Works with multi-company?
A: Yes. Applies across all companies in the instance.
Vizion Tools develops precision-focused Odoo modules that solve real accounting, invoicing, and operational pain points. Clean XML, minimal dependencies, zero bloat, full respect for Odoo's core architecture.
© 2025 Vizion Tools. All rights reserved.
For support and inquiries, please contact us.
Please log in to comment on this module