| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 26 |
| Technical Name |
pos_product_image_cart |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/sadiqabishov96/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Discuss (mail) • Inventory (stock) • Invoicing (account) |
| Lines of code | 26 |
| Technical Name |
pos_product_image_cart |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/sadiqabishov96/ |
POS Product Image in Cart
Every order line in the POS cart shows the product’s photo on the left — automatically, the moment it is added. No configuration. No extra uploads. Just the image that is already on the product.
The Cart — Before & After
One module install. The rest is automatic.
Everything you need. Nothing you don’t.
No new models. No new fields. No Python. Just the image you already have.
Instant visual confirmation
A cashier scanning barcodes at speed can glance at the cart and immediately verify the correct item was added â no need to read the product name character by character. Fewer errors, faster service.
Zero configuration
Install the module and open POS. Images appear automatically for every product that already has a photo in Odoo. Nothing to enable, no settings to toggle, no per-product flag to set.
Safe for products without photos
Products that have no image_128 are detected
automatically. Their order lines render exactly as they did before
this module was installed â no blank box, no broken layout,
no visual regression.
Minimal footprint
The entire module is one JavaScript patch (~10 lines) and one SCSS file. No XML template copies, no Python models, no database migrations. Odoo upgrades are safe â there is nothing to merge or conflict.
How it works
One patch. One method. No surprises.
Odoo 18’s Orderline component already has
t-if="line.imageSrc" â the image slot
was present but never populated.
This module patches PosOrderline.getDisplayData()
to add imageSrc by calling the product’s own
getImageUrl() â always via super,
fully composable.
OWL’s reactivity picks up the new field immediately. The
thumbnail appears the moment a product is added, sized
48 × 48 px with
object-fit: cover.
Installation
Five steps. Under two minutes.
Place pos_product_image_cart/ inside your
custom addons directory on the Odoo server.
A full server restart is required so Odoo discovers the new add-on directory entry.
Go to Settings → General Settings → Developer Tools and activate developer mode.
Go to Settings → Apps → Update Apps List so Odoo registers the new module.
Search for POS Product Image in Cart and click Install. Open any POS session â product thumbnails appear in the cart automatically.
Technical specification
| Property | Value |
|---|---|
| Odoo version | 18.0 — Community & Enterprise |
| Module dependency | point_of_sale |
| Python / backend | None â no models, no fields, no migrations |
| JavaScript |
Patches PosOrderline.getDisplayData() via
@web/core/utils/patch â always calls
super
|
| XML / templates | None â uses the built-in t-if="line.imageSrc" slot |
| Image source |
product.product.image_128 via
getImageUrl() — cache-busting
/web/image URL
|
| Products without image |
Unaffected — imageSrc is not set,
t-if hides the slot, no blank space
|
| Thumbnail size | 48 × 48 px · object-fit: cover · rounded corners |
| License | OPL-1 |
| Module version | 18.0.1.1.0 |
Install. Open POS. Done.
No configuration, no extra uploads, no template hacking. If the product has a photo in Odoo, the cart will show it.
Developed by Sadiq Abışov · LinkedIn · sadiqabishov96@gmail.com
Licensed under OPL-1 · Odoo 18 · v18.0.1.1.0
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