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

access_token suddenly being appended to images, web users can't see them

Subscribe

Get notified when there's activity on this post

This question has been flagged
attachimageswebsite
2575 Views
Avatar
Scott Ford

Odoo Enterprise v16

Today I was making a routine blog post and I embedded two images into the text and used one of those also as the header image. The first image uploaded appears fine but the second shows up as a gray camera icon. I tried many things to try to sort this out, including using different images, making a new blog post (in which case any new images failed to show), even rolling back the entire database to last night's backup. As soon as I reconstructed the blog post, the same thing happened. There are no errors pertaining to it in the log (odoo-server.log). All old images continue to be accessed fine and I can even reuse these in further posts and they are fine. The one difference we notice on the embedded images is that all new ones have "?access_token=85e41dae-1847-4302-af4e-65201ac28d31" (or similar number) appended to the end of the file name. It's behaving as though a setting was changed requiring all new images to be accessible only to portal or internal users. As such, they appear fine in the editor, but can't be seen when logged off (gray camera instead). Weird thing is, it only occurs after that "one too many" attachments in the database, right in the middle of a blog edit, so I know that I didn't change any settings.


We verified that the server has plenty of space. I don't know the precise size of ir.attachment, but I can say that I don't have that much stuff in there and none of the files are huge (e.g., most are a few MB, maybe a couple that are 50 MB), maybe a few hundred attachments total.


We noticed in ir.attachment that the new files have "Is public document" turned off, but I have no idea why, nor how to ensure that doesn't keep happening with new uploads.


Does anyone know what this is? Any setting or permission I need to review? Thank you for your time.


Disclaimer: I am not a power user. I understand databases, sql, and I'm fairly experienced with odoo use, but I'm not a python programmer.

0
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
images in website
images website
Avatar
Avatar
2
Jul 25
1289
ir.attachment stopped working for website images
images ir.attachment website
Avatar
2
Nov 15
6378
Website: Images uploaded no more showing in media select wizard
enterprise images website v14
Avatar
0
Feb 22
3009
Where the images are stored of website?
filestore images website_builder website
Avatar
Avatar
Avatar
5
Jan 18
12688
{(+56)Call center chile} ¿Cómo hablar con una persona en LATAM Airlines Chile?
attach
Avatar
0
Nov 25
7
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