Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Product Labels Configuration

Subscriure's

Get notified when there's activity on this post

This question has been flagged
printing
4 Respostes
7198 Vistes
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
Descartar
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
Descartar
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
Descartar
Avatar
Janeks Kamerovskis
Autor 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
Descartar
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
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
Odoo For Printing Industry
printing
Avatar
Avatar
1
d’abr. 23
2976
Howto setup a label/barcode printer?
printing
Avatar
0
de juny 25
8508
Cloud printing After clicking "Pay Now" button
printing
Avatar
Avatar
2
de maig 20
3258
Error printing invoices
printing
Avatar
0
d’abr. 19
5012
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
de març 17
3920
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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