Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Product Labels Configuration

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
printing
4 Respuestas
7247 Vistas
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
Mejor respuesta

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
Mejor respuesta

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 Mejor respuesta

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
Mejor respuesta

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
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Odoo For Printing Industry
printing
Avatar
Avatar
1
abr 23
2985
Howto setup a label/barcode printer?
printing
Avatar
0
jun 25
8531
Cloud printing After clicking "Pay Now" button
printing
Avatar
Avatar
2
may 20
3269
Error printing invoices
printing
Avatar
0
abr 19
5040
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
3939
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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