Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Point Of Sale
  3. Sunmi Direct Print for Odoo POS v 19.0
  4. Sales Conditions FAQ

Sunmi Direct Print for Odoo POS

by Grevlin Global Corp https://grevlin.com
Odoo

$ 229.35

In-App Purchases
v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
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 346
Technical Name grev_od_sunmi_direct_print
LicenseOPL-1
Websitehttps://grevlin.com
You bought this module and need support? Click here!
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 346
Technical Name grev_od_sunmi_direct_print
LicenseOPL-1
Websitehttps://grevlin.com
  • Description
  • Documentation
  • License
🖨 SUNMI • ODOO POS • NO IoT BOX

Sunmi Direct Print for Odoo POS

Print receipts, kitchen tickets and open the cash drawer on any Sunmi Android POS device — directly from Odoo POS, with zero extra hardware.

✓ Odoo 19.0 ✓ Sunmi JS SDK ✓ 58mm & 80mm

Sunmi Direct Print turns your Sunmi V2, V2 Pro, V2s, P2, T2, T3, D2 or D3 terminal into a fully integrated Odoo POS printer — no IoT Box, no USB cables, no cloud roundtrip. Receipts are printed the moment the cashier validates the order using the on-device thermal printer.

Core Features

🖨

Zero Hardware Setup

Install the module, enable the Sunmi printer in the POS configuration, and print. No IoT Box, no ESC/POS drivers, no network printer pairing.

⚡

Instant Local Printing

The POS talks directly to the device through the official Sunmi JS SDK on an on-device WebSocket. Prints happen in milliseconds, even offline.

🍴

Kitchen & Bar Tickets

Route kitchen and bar tickets to the built-in printer by selecting the Sunmi Printer type on any pos.printer record. Great for food trucks and small restaurants with a single Sunmi terminal.

📐

58mm & 80mm Paper

Choose your paper width at the POS level or per printer. Layout, margins and font sizing adapt automatically so receipts stay clean and readable.

💰

Cash Drawer Support

Opens the cash drawer on cash payments through the Sunmi SDK, just like a classic ESC/POS printer — no extra configuration needed.

🎯

Native Odoo Integration

Extends the standard pos.config and pos.printer models. No custom hierarchy, no hacks — upgrade-safe and compatible with every Odoo 19 POS theme and localization.

Why Sunmi Direct Print

No IoT Box

Save the hardware cost and the maintenance headache. Your Sunmi terminal is both the POS and the printer.

Works Offline

Since printing happens on the device itself, receipts keep coming even when the internet drops.

Upgrade Safe

Pure extension of standard Odoo models. Follows Odoo architecture guidelines — no monkey-patching.

Compatible Sunmi Devices

Works with every Sunmi Android POS terminal that exposes the Sunmi Inner Printer service, including:

Sunmi V2 & V2 Pro Sunmi V2s Sunmi P2 / P2 Lite Sunmi T2 / T2s / T3 Sunmi D2 / D3

How It Works

1

Install the module

Install Sunmi Direct Print for Odoo POS from the Apps menu. Depends only on point_of_sale.

2

Enable Sunmi on the POS

Open the POS configuration, tick Sunmi Printer, pick 58mm or 80mm paper width, and save.

3

Open the POS on the Sunmi

Launch Odoo POS on the Sunmi terminal. Receipts, kitchen tickets and the cash drawer just work.

Changelog

Version 19.0.1.0.0 — Initial Release

  • Direct printing to Sunmi built-in thermal printer via the Sunmi JS SDK
  • New Sunmi Printer type on pos.printer for kitchen and bar tickets
  • 58mm and 80mm paper width selection at POS and printer level
  • Cash drawer open command on cash payments
  • Native extension of pos.config, pos.printer and res.config.settings
  • Tested on Odoo 19.0 with Sunmi V2, P2 and T2 terminals

Need Help?

Questions, feedback or a specific Sunmi device to support?
Reach out at odoo@grevlin.com

Follow us on X: @GrevlinGlobal

✨ 30 days free support included

Sunmi Direct Print for Odoo POS - Documentation

This module enables Odoo Point of Sale to print receipts, kitchen tickets and open the cash drawer directly on Sunmi Android POS terminals, using the built-in thermal printer, without an IoT Box.

Overview

Sunmi Direct Print is a thin, upgrade-safe extension of the standard Odoo POS that delegates printing to the new Sunmi `JS SDK`_ running on the device itself. The POS front-end sends a print job through an on-device WebSocket that is handled by the Sunmi Inner Printer service, so receipts are produced locally in milliseconds.

Key Features

  1. Direct printing to the Sunmi built-in thermal printer
  2. Works on Sunmi V2, V2 Pro, V2s, P2, T2, T3, D2, D3 and compatible terminals
  3. Supports both 58mm and 80mm paper widths
  4. Prints POS receipts and order kitchen / bar tickets
  5. Opens the cash drawer on cash payments
  6. No IoT Box, no network printer, no extra hardware
  7. Keeps working even when the internet connection drops

Requirements

  • Odoo 19.0 (Community or Enterprise)
  • A Sunmi Android POS terminal running the Sunmi Inner Printer service
  • The Odoo POS is opened directly on the Sunmi device in its Chrome / WebView

Note

The Sunmi JS SDK only exposes its on-device WebSocket to applications running on the Sunmi terminal itself. Opening the POS from a desktop browser pointing to the same device is not supported.

Installation

  1. Copy the grev_od_sunmi_direct_print folder into your Odoo addons path
  2. Restart the Odoo server
  3. Go to :menuselection:`Apps` and click :guilabel:`Update Apps List`
  4. Search for Sunmi Direct Print for Odoo POS
  5. Click :guilabel:`Install`

Important

The module depends only on point_of_sale. No additional Python packages or system libraries are required.

Configuration

Enable Sunmi printing on a POS

  1. Go to :menuselection:`Point of Sale --> Configuration --> Point of Sale`
  2. Open the POS configuration used on the Sunmi terminal
  3. In the :guilabel:`Printers` section, tick :guilabel:`Sunmi Printer`
  4. Select the :guilabel:`Paper Width` (58mm or 80mm) matching the paper roll loaded in the terminal
  5. Click :guilabel:`Save`

Tip

Most Sunmi V2 / P2 / T2 models ship with 58mm paper. The larger T2s and T3 typically use 80mm. Check the physical paper roll before selecting a width.

Configure a kitchen or bar printer

To route order tickets to the on-device printer:

  1. Go to :menuselection:`Point of Sale --> Configuration --> Order Printers`
  2. Create or open a printer record
  3. Set :guilabel:`Printer Type` to :guilabel:`Sunmi Printer`
  4. Select the :guilabel:`Paper Width`
  5. Assign the printer to one or more categories on the POS configuration
  6. Save

Usage

Print a receipt

  1. Open Odoo POS on the Sunmi terminal
  2. Add products to the order
  3. Click :guilabel:`Payment`, select the payment method and click :guilabel:`Validate`
  4. The receipt is printed on the built-in thermal printer
  5. On cash payments, the cash drawer opens automatically

Print a kitchen ticket

  1. Add one or more products belonging to a category assigned to the Sunmi kitchen printer
  2. Click :guilabel:`Order`
  3. The kitchen ticket is printed immediately on the Sunmi terminal

Reprint a receipt

Reprinting a receipt from the POS order history goes through the same Sunmi printer path, so the behavior is identical to the original print.

Technical Details

Architecture

The module extends three standard Odoo models:

  • pos.config — adds the sunmi_printer_enabled and sunmi_paper_width fields
  • pos.printer — adds a sunmi_local printer type and its own paper width
  • res.config.settings — exposes the fields above in the POS settings page

The POS front-end loads the Sunmi JS SDK from grev_od_sunmi_direct_print/static/lib/sunmi_sdk.js inside the point_of_sale._assets_pos bundle and connects to the on-device WebSocket exposed by the Sunmi Inner Printer service.

Note

The module does not define any new model. All behavior lives on existing Odoo POS entities, which keeps it upgrade-safe and compatible with other POS customizations.

Limitations

  • Printing requires the POS to run on the Sunmi terminal itself
  • Only the built-in Sunmi thermal printer is targeted — external USB or network printers are not handled by this module
  • Non-Sunmi Android devices are not supported; use grev_od_universal_android_pos_print for multi-brand support

See also

  • Grevlin website
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

  • 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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with