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
    • Estate 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
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Adding Custom Label for Lot/Serial Numbers to Manufacturing Orders in Odoo

Subscribe

Get notified when there's activity on this post

This question has been flagged
printinglabelLots/SerialodooV17
1 Reply
3304 Views
Avatar
Nico

Hello Odoo Community,

I am working on adding a custom label for my products, specifically for lot/serial numbers, in Odoo. The goal is to have an individual label size and be able to print it as a ZPL format.

Here is the current setup I have:

  1. I created a new label under Settings → Technical → Reports with the model name stock.lot and the action type ir.actions.report.
  2. The name of my custom template is stock.custom_label_lot_template_view.

Now, I would like to add this custom label to the "Print Label - Lot/Serial Number" option under Manufacturing Orders so that I can print this label directly from the frontend.

My question is:

  • Is this the correct way to approach this, or is there a better method to achieve this integration?
  • How can I ensure that my custom label shows up in the "Print Label" dropdown in the manufacturing order view for lot/serial numbers?

The reason I am not using third-party apps for this is quite simple: none of them are able to generate the GS1 barcode, which is a critical requirement for my product labels.

I would appreciate any insights, suggestions, or guidance from the community on how to proceed.

Thank you in advance!odoo

0
Avatar
Discard
Nico
Author

Thanks for your Answer. But also if I change the model name to mrp.production there is no Field to select this custom Label in manufacturing orders.

Avatar
Lars Aam
Best Answer

To print a lot label from manufacturing order you need to set model = mrp.production.
To reference the lot information set fields like: mrp.production.lot_producing_id.name


Tips - perhaps you know already.

Two free tools to work on ZPL label layout:

Get the ZPL programming manual: https://www.zebra.com/gb/en/search.html#q=ZPL%20manual&t=All

Use Labelary viewer to work on changing layout after you have set up the report in Odoo: https://labelary.com/viewer.html

If you have a Zebra printer connected, you can also get the Zebra Essential Designer without a license.  There you can design labels really as wysiwig, and save it as ZPL file (use print to file).  Quick an easy to get the ZPL code correct.  

https://www.zebra.com/us/en/support-downloads/software/printer-software/zebra-designer-3-downloads.html?downloadId=81ad3292-7f21-4dca-bd86-2535cb5c066f

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Label printing is not showing the name of the product
printing label customization
Avatar
Avatar
1
Mar 15
5220
Odoo does not print GTIN (human readable UPC #) on label with lots selected.
upc label Lots/Serial gtin
Avatar
Avatar
2
Jan 24
2274
menu of printing lot/sn numbers on receipt step (odoo 15.sh)
inventory printing label Lot/SN
Avatar
Avatar
1
Jun 22
2972
How to accurately print a selection of product labels ?
product v7 printing label
Avatar
0
Mar 15
4978
Print button doesnt appear on products list view?
warehouse product printing label labels
Avatar
Avatar
Avatar
3
May 15
8412
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
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

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

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now