Technical Specifications & Compatibility
Technical Module Name
Supported Odoo Versions
v19.0
License
LGPL-3.
Deployment Support
Odoo OnlineOdoo.shOn Premise
Lines of Code
768 lines (Python / XML / JS)
Overview & Description
Aura Odoo Tech Supports:CommunityEnterprise Floor Plan Version 20.0.1.0.0: place objects on a plan, right on the form Lay out a warehouse, an office or a stand on the form. Put a plan image behind a field and place objects on it. Add from a palette, drag to move, pull the corner to resize, rotate and restack. Everything is saved as coordinates that the server can read. ✓Add, drag, resize, rotate and restack with the mouse ✓Arrow keys nudge, Delete removes, double-click renames ✓Objects that overlap are outlined in red Built on Any plan image Stored as coordinates Depends on Web only 5 object types out of the box 6 options to fit your plan 0 to 1 coordinates, so the plan fits any width 1 dependency: Odoo Web why you will like it A plan that is data, not a picture Objects are stored as fractions of the plan, so a form that is narrower than the one you drew on still shows them in the right place. Add from a palette One click adds an object in the middle of the plan. Desk, table, chair, zone and machine are there by default. Drag to move The object follows the mouse and snaps to a grid. It cannot be dragged off the plan. Drag the corner to resize Select an object and pull the handle at its corner. The top-left corner stays where it is. Rotate and restack Rotate in steps of 15 degrees, and bring an object to the front or send it to the back. Keys for the fine work Arrow keys move the selection by one grid step, Delete or Backspace removes it, and a double-click renames it. Overlaps are flagged Two objects that share space get a dashed red outline and the footer counts them. Switch it off with one option. Coordinates, not a picture The layout is a JSON list with x, y, width, height and rotation from 0 to 1. The demo model counts its objects straight from it. A ref that stays put An object may carry a ref, for example a record id. The widget never changes it, so the plan can become a map of real things. Your own palette Replace the five default types with your own, each with a label, a colour and a default size. one attribute Add it to a field Put the widget on a text field and point it at a binary field that holds the plan image. floor_plan textjsonchar The layout is saved in the field as a JSON list. The plan image comes from a binary field, or from a URL. <field name="layout" widget="floor_plan" nolabel="1" options="{'background_field': 'background', 'grid': 0.005, 'height': 480}"/> Options: background_field (a binary field with the plan image), background (an image URL, used instead), shapes (your own object types), grid (snap step as a fraction of the plan; default 0.01), height (plan height in pixels; default 460), show_collisions (flag overlaps; default on). see it in action Real screens, real demo data Every picture below is a capture of the widget running in Odoo 19, with an extra sample record and a plan image added to the demo data. A plan with objects on it The picture in the Plan Image field is the background. The Objects count above the palette is worked out by the server from the saved layout. After some edits Objects moved, one table rotated, the supervisor desk renamed, two chairs and a table removed. After the save, the Objects count follows the layout. Select an object Click an object to select it. It gets a thicker outline and a handle at its corner, and the toolbar shows rotate, bring to front, send to back and delete. Drag to move The object follows the mouse and snaps to the grid. It stays inside the plan. Pull the corner to resize Drag the handle. The top-left corner stays put and the size snaps to the grid. Overlaps are flagged Two objects that share space get a dashed red outline, and the footer counts them. Move them apart and the warning goes away. Your own object types The shapes option replaces the palette: here Pallet and Rack, each with its own colour and size. This record also uses a 0.1 snap grid, a plan height of 300 and no overlap warning. Read-only When the field is read-only there is no palette, no tools and no handle. You can still click an object to select it. Broken data does not break the form If the field does not hold valid JSON, the plan is drawn without objects and a red message says what is wrong. how it works Three steps to a floor plan 1 Add the widget Put widget="floor_plan" on a text field in a form view and set background_field to a binary field. 2 Upload the plan Upload the plan image in the binary field. Any picture works: a drawing, a photo, a scan. 3 Place and save Add objects from the palette, drag them into place and save the form. setup Configure in two minutes Use it on your own model ✓Add a Text field for the layout and a Binary field for the plan image ✓Edit the form view and set widget="floor_plan" on the layout field ✓Add options such as background_field, grid and height ✓Optionally use shapes to define your own object types ✓Upgrade your module and open a record Try the demo first ✓Turn on developer mode ✓Open Settings → Technical → Floor Plan Demo ✓Open the Main warehouse record and upload a plan image ✓Add an object, drag it, rotate it, then save the form good to know Questions Which Odoo versions and editions? Odoo 19.0, Community and Enterprise. It depends only on the Web module. What is stored in the field? A JSON list, for example {"id": "d1", "type": "desk", "label": "Scanner 1", "x": 0.1, "y": 0.62, "w": 0.12, "h": 0.07, "rotation": 90}. Positions and sizes are fractions of the plan, rounded to four decimals. What happens when the form is narrower? The plan scales with the form and each object keeps its place on the picture, because positions are fractions and not pixels. Do I need a plan image? No. Without one the plan is an empty box with a note, and objects can still be placed. Can I use my own object types? Yes. Give the shapes option a list of types with a label, a colour, a default width and height, and a shape. The palette shows exactly those types. What is the ref for? An object can carry a ref of your choice, such as a record id. The widget keeps it as it is when you move, resize or rotate the object. Does it load anything from the internet? No. There is no CDN and no external script, and the widget makes no network calls of its own. 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
11 images availableExpand 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.