Technical Specifications & Compatibility
Technical Module Name
Supported Odoo Versions
v19.0
License
Aura
Deployment Support
Odoo OnlineOdoo.shOn Premise
Lines of Code
1307 lines (Python / XML / JS)
Overview & Description
Aura Odoo Tech Supports:CommunityEnterprise Widgets Niche Version 19.0.1.0.0: four small widgets for specific jobs Small widgets for jobs Odoo leaves to you. Count characters against a limit. Ask the 0 to 10 recommendation question. Compare a before and after photo with a slider. Draw a flowchart from text. Each one is a single attribute on a field. ✓A counter that follows you as you type and turns red past the limit ✓A 0 to 10 scale that names the band: detractor, passive or promoter ✓A before and after photo you wipe with the mouse, and a flowchart drawn from text Built on Four widgets Char, text, integer and binary fields Depends on Web only 4 widgets: char_counter, nps, image_compare, mermaid 3 NPS bands: detractor, passive, promoter 4 flowchart shapes: box, round, diamond, circle 0 files loaded from the internet why you will like it Narrow on purpose These do one job each and do it on the field itself. There is no extra model, no library to install and nothing loaded from the internet. A counter that follows you The number and the ring change on every key press, not when you leave the field. It turns amber near the limit and red past it. Counts what people see An emoji is one character, not two. You can count words instead of characters when that is what the limit means. A hard limit, if you want one By default text over the limit is kept and flagged. Turn on hard and it is cut to the limit when the person leaves the field. The NPS scale, with its bands Scores 0 to 6 are detractors, 7 and 8 passives, 9 and 10 promoters. Each band has its own colour and the band is named under the scale. Preview, click, click again Hover a score to see its band, click to choose it, click the chosen score again to take it back. Enter and Space work on a focused score. Wipe between two photos Drag a divider across a before and after pair, use the arrow keys, or double-click to put it back in the middle. A wipe from top to bottom is one option away. The comparison cannot mislead Both photos are drawn at exactly the same size and only the top one is clipped, so the two are always compared like for like. Flowcharts from a text field Write graph TD and a few lines of text and get a diagram, with boxes, rounded boxes, diamonds and circles, solid, dotted and thick arrows, and labels on the arrows. Says what it could not read A line the flowchart reader does not understand is counted above the diagram. The rest of the diagram is still drawn, and a loop back to an earlier step does not break it. one attribute each Add it to a field Put the widget on a field in your form view and set the options you need. The snippets below are ready to paste. char_counter chartext A char field gets a one-line box and a text field gets a text area. Both show a live count and a limit ring next to them. <field name="meta_description" widget="char_counter" options="{'limit': 160, 'rows': 3}"/> Options: limit (the number to count against), warn_at (fraction of the limit where the counter turns amber, default 0.85), count_words (count words instead of characters), hard (cut text longer than the limit), rows (height of the text area, default 3). nps integer The 0 to 10 Net Promoter Score scale. Scores are coloured by band, and the band is named under the scale. <field name="nps_score" widget="nps" options="{'low_label': 'Not likely', 'high_label': 'Very likely'}"/> Options: show_labels (the labels under the two ends, default true), show_band (the band name, default true), low_label and high_label (your own end labels), autosave (save the record as soon as a score is clicked). image_compare binary Two images with a draggable divider. The field the widget sits on is the after picture. before_field names the other one, which must also be in the view (it can be hidden). <field name="photo_before" invisible="1"/> <field name="photo_after" widget="image_compare" options="{'before_field': 'photo_before', 'height': 340}"/> Options: before_field (required), height (pixels, default 320), before_label and after_label, orientation (vertical or horizontal wipe). mermaid textchar Draws a Mermaid flowchart that is held in a text field. It reads the flowchart part of the language: graph or flowchart, with TD, TB, BT, LR or RL. <field name="process" widget="mermaid" options="{'mode': 'split', 'height': 380}"/> Options: height (pixels, default 320), mode (diagram, split or source). see it in action Real screens, real demo data Every picture below is a capture of the widgets running in Odoo 19, with a few extra sample records, two sample photos and alternative form layouts added to the demo data to show the options. Counters, a scale and a flowchart on one form The demo record uses the counted text and the recommendation scale at the top. The Process tab shows the source of a flowchart next to the diagram it draws. Amber near the limit The number and the ring change as you type. At 59 of 60 they turn amber. The change shows on every key press, not when you leave the field. Red past the limit Past the limit the counter turns red and reads 65 / 60. By default the text is still saved as typed. Set hard to cut it at the limit. Hover to see the band Rest the pointer on a score and its band is named before you click. 7 and 8 are passives. The chosen score stays filled in. The band is part of the answer Click 3 and it fills in red, and the band reads Detractor. Click the same score again to clear it. Two photos, one box The after photo is clipped by a divider that starts in the middle. Both photos are drawn at exactly the same size. Drag the divider Drag with the mouse, use the arrow keys to move in steps of 5, or double-click to put the divider back in the middle. Or wipe from top to bottom With orientation set to horizontal the divider moves up and down. before_label and after_label change the two tags. Source and diagram side by side In split mode the diagram follows the text as you type. The three buttons above switch between the diagram, both, and the source alone. A flowchart from a text field The process on the demo record. Diamonds are decisions, the circle is the end, the dashed arrow loops back to the start and the branches carry labels. graph TD reads from top to bottom. A line it cannot read is counted One line of this text is not valid. The rest is still drawn, and the toolbar says how many lines were not understood. how it works Three steps to a better field 1 Add the widget Put widget="char_counter", "nps", "image_compare" or "mermaid" on a field of the matching type in a form view. 2 Set the options Add the options you need in options="{...}": the limit, the before field, the labels or the height. 3 Use the form Type, click, drag. Save the form like any other. The value is stored in the field as usual. setup Configure in two minutes Use it on your own model ✓Use a char or text field for the counter and the flowchart, an integer field for the NPS scale and two binary fields for the photos ✓For the comparison, put both binary fields in the form. The before field can be hidden with invisible="1" ✓Edit the form view, add widget and options to the field, and upgrade your module Try the demo first ✓Turn on developer mode ✓Open Settings → Technical → Widgets Demo (Niche) ✓Open the Niche widgets demo record ✓Type in the meta title, click a score, edit the process on the Process tab, and add two photos on the Before / After tab good to know Questions Which Odoo versions and editions? Odoo 19.0, Community and Enterprise. It depends only on the Web module. Does the counter stop people typing past the limit? Not by default. Text over the limit is kept and flagged in red, because cutting what somebody pasted without saying so is worse. Set hard to true and the text is cut to the limit when the person leaves the field. What is saved when a score is cleared? The score is an integer field and Odoo stores an empty integer as 0. Clicking the chosen score again clears it on screen, but after you save, the field holds 0. If you need to tell no answer from 0, keep a separate field for that. Which Mermaid diagrams does it draw? Flowcharts: graph or flowchart with TD, TB, BT, LR or RL, node shapes [box], (round), {diamond} and ((circle)), arrows --> and --- and dotted -.-> and thick ==>, labels written as -->|label|, and several links on one line. Sequence, class, state, gantt and pie diagrams are not supported. The words subgraph, classDef and style are skipped. Does it load mermaid.js? No. The reader and the layout are part of the module, and nothing is loaded from the internet. What if I replace a photo? Choose a new photo in the before or after field and the comparison shows it straight away, and keeps showing the new one after you save. License OPL-1. Developed by Aura Odoo Tech, https://www.auraodoo.tech. support We are here to help Written and maintained by Aura Odoo Tech. Email Questions, problems or a setting you need — write to us directly. odooaura@gmail.com Website More Odoo modules, documentation and customisation services. www.auraodoo.tech
Key Capabilities & Features
- The author can leave a single reply to each comment.
- This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
- If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Screenshots & Previews
13 images availableExpand Preview
Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview

Expand Preview
The AuraOdoo Quality Guarantee
100% Tested
Verified with Odoo 17, 18, and 19 test pipelines for stability and no conflicts.
Clean Architecture
Built according to official Odoo guidelines and PEP 8 standards with zero bloat.
Dedicated Support
Free installation assistance and quick bug turnaround from our team.