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

Can't upload images

Suscribirse

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

Se marcó esta pregunta
imageuploadv7
2 Respuestas
12347 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.

Registrarse
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
4978
How to remove pictures (from users or products)? Resuelto
image v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
mar 15
13881
URL of user image on the Web Site ODOO
image upload website_builder
Avatar
Avatar
1
sept 17
17640
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