HomeModulesWebsiteWeb Widgets Pack - Advanced
Web Widgets Pack - Advanced
WebsiteAuraOdoo Verified

Web Widgets Pack - Advanced

Six more field widgets: annotate, color_tags, audio, json_editor, diff and map_picker.

Technical Specifications & Compatibility

Technical Module Name
Supported Odoo Versions
v19.0
License
LGPL-3.
Deployment Support
Odoo OnlineOdoo.shOn Premise
Lines of Code
2657 lines (Python / XML / JS)

Overview & Description

Aura Odoo Tech Supports:CommunityEnterprise Widgets Advanced Version 19.0.1.0.0: six more field widgets Mark up photos, read diffs, pick places on a map. Six field widgets for the jobs a plain field cannot do. Draw on a photo, paint tags in their own colours, play a recording, edit JSON as a tree, see what changed between two texts, and click a map to set latitude and longitude. ✓Draw on a photo without touching the photo ✓Tags, audio, JSON, diff and a map on ordinary fields ✓No JavaScript library: the map is plain tile images Built on Photos, audio, text and maps Forms and lists Depends on Web only 6 field widgets in one pack 5 tools for marking up a photo 6 playback speeds, 0.5x to 2x 0 JavaScript libraries loaded why you will like it Fields that do the job Each widget sits on a field you already have. Nothing in your model has to change except, for two of them, a second field to hold the other half of the data. Mark up a photo Draw boxes, arrows, ellipses and freehand lines in five colours. Undo, clear, or pick a mark and delete it. Good for damage reports and quality checks. The photo stays as it was The marks are saved as text in a second field, as fractions of the picture. The image itself is never rewritten, so the marks can be moved or removed later. Tags in their own colour Reads a hex colour such as #1F4E79 from the tag record. Text turns black or white so it stays readable. A tag with no colour gets a grey badge. Adding, creating and removing work as in any tags field. A player in the form Play, pause, click to jump and change the speed. A waveform is drawn from the sound when you press play. A binary field is streamed from Odoo and a text field is used as a web address. JSON as a tree Open and close branches, edit values in place, rename keys, add and remove entries. Or switch to the raw text: a mistake is reported and what you typed is kept. See what changed Two text fields side by side or in one column, with changed lines shaded and the changed words marked inside them. Long unchanged stretches fold away. Point at a place Click a map to set latitude and longitude. Drag to pan, use the buttons or the wheel to zoom, or type the numbers. The map is drawn from plain tile images. Your own map tiles Map tiles come from OpenStreetMap by default. Set one option to use your own tile server instead, and the browser stops asking OpenStreetMap. Forms and lists Tags and the audio player work in list rows as well. The demo list view shows both. six attributes Add one to a field Put the widget name on a field in any form view. Options go in the options attribute. annotate binary Draw on an image. The marks go in a second text field, which must be in the view too. <field name="photo_notes" invisible="1"/> <field name="photo" widget="annotate" options="{'annotation_field': 'photo_notes', 'height': 380}"/> Options: annotation_field (required, where the marks are stored), colors (hex colours separated by commas), stroke_width, height (pixels). color_tags many2manyone2many Tags painted with a hex colour taken from the tag record. <field name="tag_ids" widget="color_tags" options="{'color_field': 'hex_color'}"/> Options: color_field (a char field on the tag model holding the colour), outline (colour the text and border instead of filling the tag), and the options of the standard tags field. audio binarychar A player with play, seek, speed and a download link. It plays a recording; it does not record or upload one. <field name="recording" widget="audio" options="{'waveform': true, 'filename_field': 'recording_filename'}"/> Options: waveform (draw it when play is pressed), height (pixels), filename_field (a char field with the file name), download (true or false). json_editor jsontextchar A tree with values you can edit, or the raw text. Invalid JSON is reported and never silently dropped. <field name="settings" widget="json_editor" options="{'height': 340, 'expand_depth': 2}"/> Options: height (pixels), expand_depth (levels open at first), sort_keys (list keys alphabetically), mode (tree or raw). diff textcharhtml Compares the field with a second field. The widget only shows the changes: you edit the texts elsewhere. <field name="content_previous" invisible="1"/> <field name="content" widget="diff" options="{'compare_field': 'content_previous', 'inline_words': true, 'context_lines': 2}"/> Options: compare_field (required, the older text), mode (side_by_side or unified), inline_words (mark changed words), context_lines (unchanged lines kept around a change), left_label, right_label. map_picker float Set latitude on this field and longitude on a second float field. The map is made of plain tile images. <field name="longitude" invisible="1"/> <field name="latitude" widget="map_picker" options="{'longitude_field': 'longitude', 'zoom': 11, 'height': 380}"/> Options: longitude_field (required), tile_url (your own tile server, for example https://tiles.example.com/{z}/{x}/{y}.png), attribution, zoom, height, precision (decimals). 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 added to the demo data. The photo is a product image from Odoo's demo data, the recording is a spoken message made with a speech synthesiser, and the map is real OpenStreetMap tiles. Boxes, arrows, ellipses and freehand marks Four marks, each in its own colour. The photo underneath is not changed: the marks are saved as text in a second field. Drawing in progress The mark grows while the mouse button is down. A click that does not become a drag adds nothing. Tags in their own colours Each tag takes the hex colour stored on its record. Text is black on light colours and white on dark ones. A tag with no colour gets a plain grey badge. A player with a waveform Play, pause, click the wave to jump, and step the speed between 0.5x and 2x. The waveform is drawn when you press play. Edit JSON as a tree Change values in place, rename keys, add and remove entries. Numbers, text, true, false and null keep their types. Pointing at a row shows its plus and cross. Invalid JSON is reported Text that is not valid JSON is flagged at the top and the box keeps what you typed while you fix it. The last valid version stays on the record. Changes marked side by side The old text on the left and the new on the right. Changed lines are shaded and the changed words inside them are marked. The counts show added, removed and changed lines. Unified, with unchanged lines folded One inserted line and two changed lines in an 18-line contract. Unchanged stretches fold into counted rows, and Show everything opens them. Point at a place Real map tiles, a marker, latitude and longitude boxes, zoom buttons and a button that brings the marker back to the middle. Click to set the position A click on the map sets latitude and longitude to that spot, and the boxes show the new values. Dragging pans the map without changing the value. In a list view Tags in colour and a small player on every row. The demo list view turns the download link off. how it works Three steps to a better field 1 Pick the field A binary field for a photo or a recording, a many2many for tags, a text field for JSON or a comparison, a float field for a map. 2 Add the widget In your form view, add widget="annotate", widget="map_picker" and so on, with the options you want. Some need a second field in the view, named in the options. 3 Use it Draw, click, type or play. Save the form and the values are stored in the fields as usual. setup Configure in two minutes Use them on your own model ✓Install Web Widgets Pack - Advanced. It depends only on the Web module ✓For annotate, add a text field for the marks. For map_picker, add a second float field for longitude ✓For color_tags, give the tag model a char field that holds a colour such as #1F4E79 ✓Edit your form view and add widget="..." with options. Put any second field in the view, hidden if you like ✓Upgrade the module that owns the view and reload the page Try the demo first ✓Turn on developer mode ✓Open Settings → Technical → Widgets Demo (Advanced) ✓Open the Advanced widgets demo record and use the four tabs ✓The tags come from Widgets Demo Tags, in the same menu good to know Questions Which Odoo versions and editions? Odoo 19.0, Community and Enterprise. It depends only on the Web module and is independent of the other two Web Widgets Pack modules. Does annotate change my photo? No. The marks are saved as text in the second field. In our test the photo had exactly the same bytes after the marks were saved. Does it load anything from the internet? Only the map picker does, and only map tile images: by default from tile.openstreetmap.org, which means the browser talks to that service. Set tile_url to your own tile server and it does not. None of the other widgets make an outside request. Can I record or upload sound with the audio widget? No. It plays a sound that is already in the field. Fill the field in another way, for example an import or your own code. Can I edit text in the diff widget? No. It shows the difference between the field and the field named in compare_field. The old text is on the left. What happens to a tag with no colour? It is shown as a plain grey badge, so the text is never invisible. Can I use my own map style? Yes, with tile_url: any server that gives tiles at an address like https://your.server/{z}/{x}/{y}.png. Use attribution to show the credit your tile provider asks for. License LGPL-3. 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

14 images available
Web Widgets Pack - Advanced screenshot 1
Expand Preview
Web Widgets Pack - Advanced screenshot 2
Expand Preview
Web Widgets Pack - Advanced screenshot 3
Expand Preview
Web Widgets Pack - Advanced screenshot 4
Expand Preview
Web Widgets Pack - Advanced screenshot 5
Expand Preview
Web Widgets Pack - Advanced screenshot 6
Expand Preview
Web Widgets Pack - Advanced screenshot 7
Expand Preview
Web Widgets Pack - Advanced screenshot 8
Expand Preview
Web Widgets Pack - Advanced screenshot 9
Expand Preview
Web Widgets Pack - Advanced screenshot 10
Expand Preview
Web Widgets Pack - Advanced screenshot 11
Expand Preview
Web Widgets Pack - Advanced screenshot 12
Expand Preview
Web Widgets Pack - Advanced screenshot 13
Expand Preview
Web Widgets Pack - Advanced screenshot 14
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.