| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 491 |
| Technical Name |
sjr_order_line_rich_text_notes |
| License | OPL-1 |
| Website | https://sjr.ie |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 491 |
| Technical Name |
sjr_order_line_rich_text_notes |
| License | OPL-1 |
| Website | https://sjr.ie |
SJR Order Line Rich Text Notes
Add a dedicated Add rich text action beside Odoo's native Add a note on sales order lines. Rich HTML is stored on the line and shown on the quotation/order form, customer portal, and PDF reports when the line is a rich-note row.
Features
-
Two explicit actions: native
Add a note (plain text in
name) and Add rich text (Odoo 19html_editoronx_sol_note_html). - No mode toggle: users choose the action they need.
-
Portal & PDF: for flagged note lines, portal and
printed reports render
x_sol_note_html; otherwise they fall back toname. - Importable module: manual fields are declared as XML data records (no Python models). Suitable for Odoo Online when published as an importable addon.
-
Full Odoo HTML editor: headings, paragraphs, quotes,
code, RTL, separators, bullet / numbered / checklist lists,
multi-column layouts, tables,
o_editor_bannerpresets (info, success, warning, danger, monospace), links, buttons, emoji, 3 / 5-star ratings, and insert image (the showcase usesbanner.pngas a sample asset). - PDF / print: report assets style alerts, editor banners and tables for wkhtmltopdf with a flexbox layout so backgrounds clip to rounded corners. Leading alert emoji are stripped in the report template and replaced with matching Font Awesome icons via CSS, so printed banners always show a real glyph instead of a missing-character box.
-
Plain-text
namekept in sync: when the rich HTML changes, the line's standardnameis updated to the plain-text equivalent so search, exports, integrations and legacy reports stay consistent with the rich content. - Editor UX on the order line list: clicks on the editor's toolbar, dropdowns and popovers (body-portaled outside the row) keep the row in edit mode, and Enter inserts line breaks inside the note instead of advancing or leaving the row. Tab and Escape stay native for keyboard navigation and discard.
Technical fields
| Technical name | Type | Purpose |
|---|---|---|
x_sol_note_html |
HTML | Rich content for lines created via Add rich text |
x_sol_is_rich_note |
Boolean | Flags the line so the backend shows the HTML editor and portal/PDF use HTML |
Dependencies
sale, html_editor
Documentation
Odoo 19 — Write importable modules
Support
SJR Nebula — https://sjr.ie — info@sjr.ie
Rich-text showcase
This note line is generated and demonstrates every block available in the Add rich text editor.
Inline formatting
Bold: urgent deadline Friday 5pm.
Italic: subject to stock confirmation.
Underline: signed copy required on delivery.
Strikethrough: previous quote 1,250.00 EUR.
Colour:
price increase from 1 May 2026.
Highlight:
awaiting customer PO.
Size: headline figure
EUR 12,450.
Headings
Heading 1 - Project kick-off
Heading 2 - Scope & deliverables
Heading 3 - Acceptance criteria
Use headings to break long quotation notes into scannable sections.
Text, quote and code
Paragraph: Standard body copy. All prices exclude VAT unless stated otherwise.
Quote: “Delivery within 10 working days of order confirmation, subject to current stock levels.” — Logistics SLA 2026
Code: curl -X POST https://sjr.ie/api/orders \\
-H "Authorization: Bearer $TOKEN" \\
-d '{"reference":"S00142"}'
Switch direction (RTL)
Switch direction: على العميل مراجعة الفاتورة قبل الدفع.
Structure
Separator: horizontal rule below.
Bulleted list: what's included in this quote.
- On-site survey and measurements
- Supply of all materials and fixings
- Installation and commissioning
- 12-month parts & labour warranty
Numbered list: delivery sequence.
- Order confirmation and 30% deposit
- Manufacture (4-6 weeks lead time)
- Delivery to site and installation
- Sign-off and final invoice
Checklist: pre-installation site requirements.
- Clear access to installation area
- 230V power available within 2m
- Wi-Fi credentials provided to engineer
- Authorised signatory on site for sign-off
2 columns
What's included: hardware, install, commissioning and 12-month support.
What's excluded: structural works, network cabling, third-party licences.
3 columns
Phase 1
Survey & design
Phase 2
Manufacture & deliver
Phase 3
Install & sign-off
4 columns
Mon
Site survey
Tue
CAD drawings
Wed
Quote issue
Thu
Customer review
Table
| Item | Qty | Unit price | Subtotal |
|---|---|---|---|
| Wall-mounted display, 55" | 2 | 1,150.00 | 2,300.00 |
| Installation bracket | 2 | 85.00 | 170.00 |
| On-site installation | 1 | 320.00 | 320.00 |
Banners
only).Media
Insert image
Media: example screenshot packaged as this module’s Apps banner asset
(static/description/banner.png). In Odoo you normally upload your own file; here the
same asset is referenced for a realistic insert image preview.
Navigation
Link: visit our customer portal for live order tracking.
Button:
Approve quote Request changes
Widgets
Emoji: thanks for your business 🙏 - we look forward to delivery day 🚚.
3-star ratings
Post-install survey — “Would you recommend us?”
Yes — repeat customer, referral likely.
Quote turnaround — speed from enquiry to PDF issued
Good — same week during busy period.
First-response support ticket — initial reply time
Needs improvement — waited two business days.
5-star ratings
Overall quotation clarity (scope, pricing, terms)
Excellent — finance signed off without rework.
On-site installation crew (punctuality, tidy work, handover)
Very strong — one cable routing tweak requested on day two.
Delivery vs promised window
Average — slipped one week due to supplier stock.
Documentation pack (manuals, serials, warranty PDFs)
Weak — chasing OEM certs before sign-off.
Would use SJR again for the next project?
Absolutely — PM already copied on follow-up RFQ.
End of rich-text showcase. Edit or delete this line as needed.
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