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

Can't upload images

Subscribe

Get notified when there's activity on this post

This question has been flagged
imageuploadv7
2 Replies
12345 Views
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
Discard
Avatar
Kalaivanan
Author Best Answer

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
Discard
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
Author

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
Author

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
Author

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
Best Answer

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
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
Product image import Solved
image upload
Avatar
Avatar
Avatar
Avatar
3
Aug 25
2325
How to fix error when saving image to Odoo 16
image upload
Avatar
Avatar
1
Feb 23
5250
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)? Solved
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
Sep 17
17640
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