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

Is it Possible that we can restrict attachments storing in db?

Subscribe

Get notified when there's activity on this post

This question has been flagged
shopopenerp
2 Replies
4873 Views
Avatar
vadivel

Hi All,

In openerp V 7 is it possible that we can store attachmetns only in Filesystem instead of storing in both FTP and Database.Please reply me soon ASAP Thanks in Advance.

1
Avatar
Discard
Juan José Scarafía

one more doubt is that can we store those files in anywhere in our localhost like can we define path ourself for storing? like C://Desktop

Avatar
Emipro Technologies Pvt. Ltd.
Best Answer

Hello Vadivel,

If I get your thoughts correctly, then it seems that you want to store attachments in fiel system, means, where OpenERP is located i.e besides "addons" folders where OpenERP is installed. In OpenERP V 7, you can achieve this by configuring System Parameters (Menu : Settings >> Technical >> Parameters >> System Parameters). Here, you need to create one System Parameter.

Following are details of that:

Key : ir_attachment.location

Value : file:///attachments

Here, in value, you can replace "attachments" with your desired folder name. What OpenERP does, that, it will create folder with database name, and all attachments will be stored into that folder.

Also, if you look into that folder, name of attachment are scrambled, but OpenERP can read those name, and when you download that from OpenERP, you will exact that name from which you have stored that. Make sure you give appropriate access rights to that folder where you are going to store the attachments.

Hope, this will help you

 

Regards

1
Avatar
Discard
vadivel
Author

Yeah its ok But even attachments stored in db also right?

Avatar
vadivel
Author Best Answer

@vadivel - In database, what OpenERP does, that it only stores record of that attachment, and does not store content of that attachment. And while downloading attachment from OpenERP, it uses that attachment record to decode that particular attachment, stored into that folder, and allow user to download. In short, OpenERP only stores attachment record, and not it's content. So that will not increase the size of database.

1
Avatar
Discard
vadivel
Author

thank you for your reply it helped me lot thank u so much

Emipro Technologies Pvt. Ltd.

@vadivel - Upto v6.1 such functionality does existed, but since the release of v7.0, they have removed such feature which allows you to configure you desired path for storing the attachments.

vadivel
Author

thank you So it is not possible in V 7 thanks u lot

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
OpenERP Shop Images....
shop openerp
Avatar
0
Mar 15
3328
Create selection type field using functional field?
shop openerp
Avatar
0
Mar 15
110
e-Commerce <-> OpenERP integration?
shop integration openerp
Avatar
0
Mar 15
3852
Did somebody develop a module to automatically send the amount of a pos transaction to the terminal payment unit?
shop
Avatar
0
Nov 25
273
Knowledge multilingual
shop
Avatar
Avatar
1
Oct 25
668
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