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

Product Labels Configuration

Subscribe

Get notified when there's activity on this post

This question has been flagged
printing
4 Replies
7169 Views
Avatar
Janeks Kamerovskis

Hi,


Odoo: v17

View(menu path): Inventory / Products / Products 

a product form view:

Button: "Print Labels"

Then in print options window/form there is Format option:

Model: product.label.layout

Field: print_format


Where could I configure/set Format options?


I found these, but I am stuck on these as none seems to do what I want:


Menu: Settings / Technical / Reporting / Paper Format

Here I added new paper format needed for my label printer, but no changes on product label print options view.


Menu: Settings / Technical / Reporting / Reports

Here I can find Product labels, but then there is templates. I guess that this could be somehow connected. But if yes, then how?


brgds & looking forward



0
Avatar
Discard
Avatar
Yurii Razumovskyi
Best Answer

Hi Janeks,

If your goal is to design your own product labels, you can achieve it by coding or with third-party apps.


By coding, you can create the own labels or modify the existing ones, that are placed in the "product" module by the path addons/product/report/product_product_templates.xml.

The standard Odoo label includes several elements:

  • specific paper format (samples are located by the path - addons/product/report/product_reports.xml)
  • action record of the "ir.actions.report" (samples are located by the path - addons/product/report/product_reports.xml)
  • label templates (samples are located by the path - addons/product/report/product_template_templates.xml and addons/product/report/product_product_templates.xml)

The practical approach, do not change the standard Odoo modules, you need to create your custom module and make all changes in it.


The third-party app to create product labels with your design without coding, that I can suggest, is Odoo Product Label Builder. This app allows you to create product labels with different size and place them as on a single label layout, as on multi-label layout (A4, US Letter sheets). It's distributed with the custom print wizard and the direct print feature to avoid downloading the PDF file before printing.

 

Best regards, Yurii Razumovskyi.

Company Garazd Creation — Odoo solutions for e-Commerce, SEO, Data Feeds, Website Tracking, Marketing, Analytics, and Marketplace integrations, Product Label designing and printing.

https://garazd.biz  |  Our solutions on Odoo Apps

2
Avatar
Discard
Avatar
Kat
Best Answer

These are still to hard, so tired of having to hire someone i'm tired of odoo.  Just want labels, just need that and all you  want someone to do is pay money to use your site.  sick of it.

0
Avatar
Discard
Avatar
Janeks Kamerovskis
Author Best Answer

Thanks for your answers!

I managed to find out one step further, but I still have unclear links, that I'll try to describe bellow:


Now I can find the Format options in the field (print_format) of product.label.layout as Selection options


Value​


Name​


dymo Dymo

2x7xprice 2 x 7 with price

4x7xprice 4 x 7 with price

4x12 4 x 12

4x12xprice 4 x 12 with price

zpl ZPL Labels

zplxprice ZPL Labels with price

Add a line


, but still unclear where exactly to put the (XML?) definitions of these values.


Do I really need custom module to define just an option for specific printer (custom) size printout?


brgds & looking forward:

Janeks

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

print_format is a selection field in the model product.label.layout. If you need to add a new format in an existing one.Try the below code.


Python:

class ProductLabelLayout(models.TransientModel):

    _inherit = 'product.label.layout'


    print_format = fields.Selection(selection_add=[

        ('new', 'New Labels'),

    ], ondelete={'new': 'set default'})


     def _prepare_report_data(self):

        xml_id, data = super()._prepare_report_data()

        if 'new' in self.print_format:

            xml_id = 'module_name.label_product_product'

        return xml_id,data

xml

<record id="label_product_product" model="ir.actions.report">

            <field name="name">Product Label (New)</field>

            <field name="model">product.product</field>

            <field name="report_type">qweb-text</field>

            <field name="report_name">module_name.label_product_product_view</field>

            <field name="report_file">module_name.label_product_product_view</field>

            <field name="binding_model_id" eval="False"/>

            <field name="binding_type">report</field>

</record>

<?xml version="1.0" encoding="UTF-8"?>

<odoo>

    <data>

        <template id="label_product_product_view">

           //Add you template

        </template>

     </data>

<odoo>


Hope it helps

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
Odoo For Printing Industry
printing
Avatar
Avatar
1
Apr 23
2962
Howto setup a label/barcode printer?
printing
Avatar
0
Jun 25
8491
Cloud printing After clicking "Pay Now" button
printing
Avatar
Avatar
2
May 20
3248
Error printing invoices
printing
Avatar
0
Apr 19
5000
How do I troubleshoot printing between POS and POSBOX? I used a docker image. Printers are recognized. No errors, nothing in the logs.
printing
Avatar
0
Mar 17
3908
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