Invoice Line Names
by Odoo Apps by Mithahara https://apps.odoo.com/apps/modules/browse?author=Mithahara$ 29.00
Invoice Line Names
Invoice Line Names is an Odoo 20 app that leaves the product's Sales Description off new customer invoice and credit note lines, so each line shows the product name only for companies whose products carry a long Sales Description that prints in full on every customer invoice.
Keeps the product's Sales Description off new customer invoice lines, so the line shows the product name
Odoo builds the name of a customer invoice line from the product, and the product's Sales Description is part of it. A product whose Sales Description is a long specification therefore prints that whole text on every invoice. In Odoo 19 and Odoo 20 Community there is no setting for this (checked in the source of both versions and by running it, 2026-12-01); the way round is to empty the Sales Description on the product, which also removes it from your quotations. Invoice Line Names adds one setting per company, Product name only on invoice lines. With it on, a product line added to a draft customer invoice, credit note or sales receipt, and an invoice made from a sales order, get the product name and not the Sales Description. Quotations and sales orders keep the description, and lines that already exist are not touched. This page walks through it with screenshots of an Odoo database holding a made-up US lab-supply reseller and with tables rendered from real readings of the same runs; each picture says which it is.
It is off by default and it has one switch: no per-product exception, no menu, no scheduled action. A user who wants the description on one line types it on the line, and typed text is kept.
Install it and nothing changes yet: the setting is off. To start, tick Product name only on invoice lines in the Invoicing settings (see section 1).
Requires Odoo.sh or On-Premise. Third-party apps cannot be installed on Odoo Online (SaaS).
What does Invoice Line Names do?
Invoice Line Names leaves the product's Sales Description off new customer invoice and credit note lines, so each line shows the product name only. It is one setting per company, off by default, and it does not change quotations.
- With the setting on, a product line added to a draft customer invoice, credit note or sales receipt gets the product name without the Sales Description.
- An invoice made from a sales order does the same for lines whose text is still the one Odoo made.
- Quotations and sales orders keep the Sales Description.
Who is Invoice Line Names for?
It is for companies whose products carry a long Sales Description, such as a specification, that prints in full on every customer invoice while the quotation should keep it.
Where is the setting and who can change it?
It is in Invoicing, Configuration, Settings, in the Customer Invoices block, named Product name only on invoice lines. Changing it needs access to Settings; in the test a Billing user was refused.
- The setting belongs to the company of the document, and it is off by default.
Which lines does Invoice Line Names change and which does it leave alone?
It changes new product lines of draft customer invoices, credit notes and sales receipts. It leaves quotations, vendor bills, lines that already exist, posted documents and text typed by hand as they are.
- Switching the setting on or off writes nothing to existing lines: the write dates of a draft line and a posted invoice did not move.
- A copy of an older invoice carries the older text, because Odoo copies a line's name as it is.
Invoice Line Names: key facts
| App name | Invoice Line Names |
|---|---|
| Technical name | mh_invoice_line_names |
| Odoo versions | 20.0 |
| Version | 20.0.1.0.2 |
| Licence | OPL-1 |
| Depends on | sale |
| Stores data | Stores: one on/off setting on each company; invoice lines stay ordinary Odoo records, and the app adds no model, menu or scheduled action. Does not store: any log, copy of the removed description or record of which lines it changed. |
| Not included / limits |
|
What does Odoo do without Invoice Line Names?
In Odoo 20 Community without Invoice Line Names, a new customer invoice line carries the product name and the product's Sales Description, and there is no setting to leave the description off.
- The way to keep the description off an invoice is to empty the product's Sales Description, which also removes it from quotations.
- A quotation prints the Sales Description on each line.
Before you install
Each line was tested or read in the code.
- Adds: one on/off setting per company in Invoicing settings. No menu, no model, no scheduled action, no network call.
- Changes: the name given to a new customer invoice, credit note or sales receipt line, when the setting is on and Odoo has just made the name.
- Keeps: quotations and sales orders, vendor bills, lines that already exist, posted documents and any text typed by hand. Switching the setting on or off writes nothing to existing lines.
- Versions: Odoo 19 and Odoo 20, each with its own build; the printed text is the same on both. Depends on the Sales app (which brings Invoicing).
- Not verified: Odoo Enterprise, Odoo.sh, subscription, point of sale, rental and event invoices, other charts of accounts, e-invoice export, the invoice as a PDF, other apps that rebuild line names.
Requires Odoo.sh or On-Premise. Third-party apps cannot be installed on Odoo Online (SaaS).
1 Switch it on
The problem
A change that rewrites what customers read on an invoice must not start on its own, so each company chooses.
What you see
The setting is in Invoicing, Configuration, Settings, in the Customer Invoices block: Product name only on invoice lines. The picture shows it ticked. It is off by default. It belongs to the company, and the document's own company decides, so a user working in one company on a document of another follows the document. Changing it needs access to Settings: a Billing user who tried was refused with Odoo's own message.
What it does not do
It has no per-product, per-customer or per-journal switch: one setting per company.
The setting, ticked. Real Odoo screen of the made-up company, taken on the Odoo version of this page's repository (both versions were run).
2 Lines on a draft invoice
The problem
Odoo copies the product's Sales Description into the name of every new invoice line, so a five line description prints five more lines under the product on every invoice.
What you see
The first picture is a draft invoice made with the setting off: three products, one with a five line description and one with a five line specification, then one with no Sales Description. The second picture is the same three products on a draft invoice made with the setting on: each line is the product name. A product with no Sales Description reads the same in both. The picture is the report's HTML view in the browser, not a PDF print. The table gives the readings case by case: a new line, a line whose text was typed by hand (kept exactly as typed), a credit note line and a sales receipt line (reading like an invoice line), and a vendor bill line (not touched, with its purchase description made equal to the sales text so a wrong strip would show).
What it does not do
It does not shorten or cut text: the description is dropped, the product name stays. It never cuts a description out of other text.
A draft invoice made with the setting OFF. Real Odoo screen of the made-up company, taken on the Odoo version of this page's repository (both versions were run). The picture is the report's HTML view in the browser, not a PDF print.
The same three products on a draft invoice made with the setting ON. Real Odoo screen of the made-up company, taken on the Odoo version of this page's repository (both versions were run). The picture is the report's HTML view in the browser, not a PDF print.
Lines typed on a draft document. Evidence table built from real readings, taken on the Odoo version of this page's repository.
3 Invoices made from sales orders
The problem
A sales order line carries the Sales Description so the customer can read it on the quotation, and Odoo copies it onto the invoice as well.
What you see
The picture is the quotation made with the setting on: the Sales Description is on every line, as the customer reads it. The table is the same product invoiced through the Create Invoices wizard: with the setting off the invoice line carries the description; with it on the line is the product name. An order line whose text was edited by hand before invoicing is copied as typed, so the typed text is kept. The picture is the report's HTML view in the browser, not a PDF print.
What it does not do
It does not change the order, the quotation or any other sales document.
The quotation of the same three products, made with the setting ON: the description is kept. Real Odoo screen of the made-up company, taken on the Odoo version of this page's repository (both versions were run). The picture is the report's HTML view in the browser, not a PDF print.
Invoices made from sales orders. Evidence table built from real readings, taken on the Odoo version of this page's repository.
4 What it leaves alone
The problem
Turning on a setting must not rewrite history: documents you already made, and posted invoices, have to stay as they are.
What you see
Each document in the table was made with the setting off. The setting was then switched on through the Settings screen's own calls. A draft line made before keeps its long text, and the write date of its lines did not move; a posted invoice is identical and its write date did not move either. A copy of that posted invoice made afterwards carries the text it was copied from, because Odoo copies a line's name as it is. To get the short name on an old draft line, delete the line and add the product again.
What it does not do
It does not back-fill. It never rewrites a line that exists, and it never changes a posted document.
What turning the setting on does not touch. Evidence table built from real readings, taken on the Odoo version of this page's repository.
5 Install and uninstall
The problem
Installing or removing an app must not cost you invoices.
What you see
The table is a real uninstall run in a fresh database with three invoices: one posted with the setting off, one posted with it on, one draft. The same check was run before the uninstall, as a control that it can see the app, and after: the three invoices and the customer are still there with the same text, the field and its column are gone, and a new invoice gets Odoo's own long text again. The app creates no record of its own except the settings view.
What it does not do
It does not touch invoices at install or uninstall: it only sets the name Odoo gives to new lines while it is installed and the setting is on.
Install and uninstall. Evidence table built from real readings, taken on the Odoo version of this page's repository.
Known limits
Each of these was read on a running database, in a test or in the source, except the ones marked not verified.
- New lines only: a line that exists keeps its text; a copy of an older invoice, and a credit note made by reversal of one, carries the older text.
- No exceptions: there is no per-product, per-customer or per-journal exception. A user who wants the description on one line types it on the line.
- Edited order lines: a sales order line whose text was edited by hand is copied to the invoice as typed, description included.
- Exact match: the text is removed only where it is exactly the product's Sales Description in the language Odoo used; a description changed on the product after the order was made, or translated since, can stay.
- Odoo 20 internal name: the line's internal name is empty and the product name is printed from the label. A report or export of another app that reads the internal name instead of the label shows an empty text; Odoo does the same for a product with no Sales Description.
- Other documents: quotations, orders, delivery slips and purchase documents are not changed.
- HTML view, not PDF: the screenshots are the invoice report's HTML view. A PDF print and an e-invoice export were not run.
- Not verified: Odoo Enterprise, Odoo.sh, subscription, point of sale, rental and event invoices, other charts of accounts (generic chart only), several orders on one invoice, products with no-variant attributes, languages that are not installed, clicking a product into the line editor (the form calls are tested, the clicks are not), running together with other invoice apps.
Odoo 19 and Odoo 20 side by side. Evidence table built from real readings, taken on the Odoo version of this page's repository.
Tests and deliberate breaks. Evidence table built from real readings, taken on the Odoo version of this page's repository.
Odoo 19 and Odoo 20
The Odoo Apps store lists and sells each Odoo version separately; the Odoo 19 build and the Odoo 20 build each have their own listing and their own purchase, and the text of this page is the same on both; the screenshots and the key-facts table, which name the version, are those of each version. The module code is the same on both except the version number. Both were run: 31 tests on Odoo 19 and 33 on Odoo 20 in a clean install (the app's 31 plus 2 web suite entries Odoo 20 adds), none failing, one tour in a real Chrome on each. The printed text is the same on both; what differs is how Odoo stores the line name (see the table above).
Requirements and install
Frequently asked questions about Invoice Line Names
How do I keep the Sales Description off my Odoo invoice lines?
Invoice Line Names is an Odoo 20 app that leaves the product's Sales Description off new customer invoice and credit note lines, so each line shows the product name only, for companies whose products carry a long Sales Description that prints in full on every customer invoice.
How do I set up Invoice Line Names?
Install it, then in Invoicing, Configuration, Settings tick Product name only on invoice lines in the Customer Invoices block and save. New lines then show the product name only; it is off by default.
Who can switch it on?
A user with access to Settings. In the test a Billing user was refused with Odoo's own message, and the setting stayed off.
What does Invoice Line Names store, and does it change existing invoices?
It stores one on/off setting per company. It does not change existing lines or posted invoices: switching the setting on left their write dates unchanged, and uninstalling keeps every invoice and customer.
What can Invoice Line Names not do?
It does not change quotations or sales orders, rewrite lines that exist, make a per-product exception or shorten text. The description is dropped and the product name stays.
Which known limits does Invoice Line Names have?
Only new lines are affected; a copy of an older invoice carries the older text; an order line edited by hand is copied as typed; and the text goes only where it exactly matches the product's Sales Description.
Does Invoice Line Names work on Odoo.sh, Odoo Online, Community or Enterprise?
Third-party apps cannot be installed on Odoo Online. Behaviour on Odoo.sh and on Enterprise is not verified; the tests and screenshots ran on Odoo 20 Community.
Support
Questions before or after purchase: support@mithahara.com.
Need this tailored to your business?
This app covers the common case out of the box. If you need it adapted to a specific workflow, integrated with another system, or extended with a feature you don't see here, we do custom Odoo development too - reach out at support@mithahara.com and we'll scope it.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 83 |
| Technical Name |
mh_invoice_line_names |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Mithahara |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module