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. Inventory
  3. ZPL Lot Label v 18.0
  4. Sales Conditions FAQ

ZPL Lot Label

by Bitquanta https://sebenz.co.za
Odoo

$ 11.64

v 18.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 • Inventory (stock)
• Discuss (mail)
Lines of code 21
Technical Name zpl_lot_label
LicenseLGPL-3
Websitehttps://sebenz.co.za
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Discuss (mail)
Lines of code 21
Technical Name zpl_lot_label
LicenseLGPL-3
Websitehttps://sebenz.co.za
  • Description
  • Documentation

ZPL Lot Label

Print Zebra barcode labels for stock lots directly from Odoo

Adds a Print → ZPL Lot Label action to stock lot records. Outputs raw ZPL (Zebra Printer Language) commands for direct printing on any Zebra-compatible label printer — no PDF, no driver required.

Label layout

Barcode 1 — Lot number

Code 128 barcode of the lot name, printed at the top of the label.

Human-readable text

Lot display name printed alongside the barcode for easy visual identification.

Barcode 2 — Internal reference

Second Code 128 barcode using the lot's internal reference, or the lot name if no reference is set.

How it works

The report type is qweb-text — Odoo renders the template as plain text (raw ZPL commands) and serves it directly. No PDF conversion. Works with:

  • Browser-based ZPL print utilities (send raw output to printer port)
  • Direct IP printing to Zebra printers on your network
  • Any print service that accepts raw ZPL over TCP/IP (port 9100)

Test without a physical printer: Open Odoo, print a label, copy the ZPL output and paste it into labelary.com/viewer.html for an instant browser preview.

Customisation

The label template uses standard ZPL commands. To adjust the layout for your label size or printer DPI, edit reports/label_template.xml and modify the ^FO coordinate values.

If you use a custom barcode field on stock.lot, change the barcode_value line in the template to reference your field.

ZPL coordinates are calculated at 203 dpi (standard Zebra printer resolution). Scale ^FO values by 1.48 for 300 dpi printers.

ZPL Lot Label

Adds a Print → ZPL Lot Label action to stock lot records. Outputs raw ZPL (Zebra Printer Language) commands for direct printing on any Zebra-compatible label printer — no PDF conversion, no driver required.

Features

  • One-click label printing from any stock.lot record.
  • qweb-text report type — plain ZPL sent directly to the printer.
  • Two Code 128 barcodes per label: lot number (top) and internal reference (bottom).
  • Human-readable lot display name printed between the barcodes.
  • Works with browser-based ZPL utilities, direct IP printing (port 9100), and any ZPL-capable print service.
  • Test without a printer: paste the output into https://labelary.com/viewer.html

Requirements

  • stock (standard Odoo Inventory module)
  • Odoo 18.0
  • Any Zebra-compatible label printer (template coordinates calculated at 203 dpi)

Installation

  1. Copy the zpl_lot_label folder into your Odoo addons path.
  2. Restart the Odoo server.
  3. Go to Apps → Update Apps List.
  4. Search for ZPL Lot Label and click Install.

Usage

  1. Open Inventory → Products → Lots/Serial Numbers.
  2. Select one or more lot records.
  3. Click Print → ZPL Lot Label.
  4. Send the plain-text output to your Zebra printer.

Label layout

The default label contains:

  • Barcode 1 (top, Code 128) — the lot name (stock.lot.name).
  • Human-readable text — the lot display name.
  • Barcode 2 (bottom, Code 128) — the internal reference (stock.lot.ref), falling back to the lot name if no reference is set.

Customisation

The label template is defined in reports/label_template.xml using standard ZPL commands.

Adjusting for label size or printer DPI

Modify the ^FO coordinate values in the template. Default coordinates are calculated at 203 dpi. For a 300 dpi printer, scale all ^FO values by approximately 1.48 (300 / 203).

Using a custom barcode field

If your stock.lot records have a custom barcode field (e.g. added via Odoo Studio), change the barcode_value line in reports/label_template.xml to reference your field instead of the default lot.ref / lot.name fallback.

License

LGPL-3

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