Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Can't upload images

Suscribirse

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

Se marcó esta pregunta
imageuploadv7
2 Respuestas
12349 Vistas
Avatar
Kalaivanan

We are using product_images_olbs module to add images from local repository in openERP 6.1. But in openERP 7.0, the function to choose a picture with your windows explorer seems to work, but as soon as you save the image is not uploaded. The binary field that holds the image looks like this:

'file':fields.function(_get_image, fnct_inv = _set_image, type = "binary", filters = '*.png,*.jpg,*.gif')

It specifies a function 'fnct_inv' to save the field to the database, which in turn calls _set_image, however neither of these functions are called.

Can you please help me on this issue?

2
Avatar
Descartar
Avatar
Kalaivanan
Autor Mejor respuesta

I have fixed this by using the version 7 module branch below:

https://code.launchpad.net/~camptocamp/openerp-product-attributes/7.0-product_images-migr/+merge/145630

3
Avatar
Descartar
Daniel Reis

Not an Answer. Please see What should I avoid in my questions?. I might want to replace this with a comment on the answer or editing your question.

Max

Yes, as per Daniels comment, please update your original question with this new information.

I think you'll hit a lot of problems trying to get this module working with an unsupported version - according to the links I posted, the module supports up to 6.1. Your best option now would be to get in contact with the author - maybe give them a link to this Question. Otherwise, I feel like it won't be worth your time trying to debug this (rather complex) module yourself..

Sorry I can't be of more help but I don't have the time - perhaps somebody else can pick up on this (the module author?)?

Max

Also try following this questin: http://help.openerp.com/question/379/what-changed-in-fieldsbinary-and-widget-image-from-61-to-7/ - it is about changes between 6.1 and 7 in terms of binary fields, and somebody wanting to update your module - you may find what you need

Kalaivanan
Autor

Thanks for your reply Max. I have fixed this by using below reference. https://code.launchpad.net/~camptocamp/openerp-product-attributes/7.0-product_images-migr/+merge/145630...Its Working fine :-)

Max

Great, glad its solved :) I have edited your original question and your answer to this question to organise the information so it makes more sense for future readers. Can you accept it as the solution?

Kalaivanan
Autor

sure.I'm accepting this :-) One more query is in product add-on product.product object have column like image, image_small and image_medium. In product_images_olbs add-on, I'm inherit this object and need to store binary values in image, image_small and image_medium column by calling resize image function like 'image_medium':fields.function(_get_image_medium, type = "binary", string = "Medium-sized image"),....While adding this columns in inherited object, I cant save image. Can you help on this?

Max

you should ask a new question for this new issue

Kalaivanan
Autor

Ok :-) I'm accepting this....Its resolved

Max

To accept an answer as the solution you have to click the Tick image to the left of the answer

Abigail111

I have tried the way of 10054.It's useful

Avatar
Max
Mejor respuesta

This looks like a bug with the product_images_olbs module. Since this module is not an official OpenERP module, bug reports should be sent to the author here. This Q&A forum is more a place for functional and specific technical questions than bug reports (See posting guidelines).

Also, by the looks of it, the module only supports version 6.1 and below.

If you could give us some more details about the issue, for example a specific line of code that you think is causing the problem, we might be able to help you. Otherwise, please get in contact with the author and I am sure they will be glad to help.

1
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Product image import Resuelto
image upload
Avatar
Avatar
Avatar
Avatar
3
ago 25
2326
How to fix error when saving image to Odoo 16
image upload
Avatar
Avatar
1
feb 23
5251
Uploading products with images with URL through Excel file
image upload
Avatar
Avatar
Avatar
3
nov 22
4979
How to remove pictures (from users or products)? Resuelto
image v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
mar 15
13882
URL of user image on the Web Site ODOO
image upload website_builder
Avatar
Avatar
1
sept 17
17641
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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