Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profit organisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

ir_attachment.location for V8?

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
v8filestorereportsparameterlocal
9 Antwoorden
33793 Weergaven
Avatar
Hannes Hörting

Hello!

Are the Option ir_attachment.location available in V8? "https://accounts.openerp.com/forum/Help-1/question/529/"

I want to save my PDF´s on the local disc. Or is there another way to do this?

I put in Technical/Paramater/Systemparamter: "ir_attachment.location" with the value "file:///filestore"

Generate a folder with "filestore" in the root of openERP and set chmod 777 and chown openerp.

But no files are saved. Server restarted of course.

Thank you!

5
Avatar
Annuleer
Avatar
Bole
Beste antwoord

In V8 filestore is used by default.. no need for extra setup...

If user runnig odoo has home set to /opt/odoo , then default filestore location is:
/opt/odoo/.local/share/Odoo/filestore/database_name

it can be set in config file with new  config setting:

data_dir = /path/to/desired/Odoo

In that path, odoo will create folders: addons, filestore and session

in filestore odoo server will create a new folder for each database,  and in database, 
in table ir_attachment will be stored path relative to /path/to/desired/Odoo/filestore/db_name ... to actual file...


This folder will contain all attachments (from backend, and also all website materials like pictures etc...)

Hope this helps..

 

p.s.

odoo user should have rw acces to that folder, but under any cicrcumstances should it be 777 , never ever do that! 640 is quite good, and everything shlud work with that permissions !

7
Avatar
Annuleer
Tobias Frankl

Good Answer The filenames "asfdlhjasdfasdf6a7sdf67adsf7z" are not a great help if one wants to access files from outside odoo. Is there a workaround to have human readable filenames?

yuri

I'm interested on that too.

Avatar
Ashish Singh
Beste antwoord

Suppose we set data_dir = /path/to/desired/Odoo in odoo-server.conf file , Now i want to read data_dir path in my custome module , So how can i read data_dir in my module?                                                                            

 

 

 

2
Avatar
Annuleer
Avatar
George
Beste antwoord

Hi friends,

i am using windows server when i use data_dir = D:\Development\Workspace\odoo-8.0-20150317\doo_documents like this i get error while click on the page


Traceback (most recent call last):

File "D:\Development\Workspace\odoo-8.0-20150317\openerp\http.py", line 530, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "D:\Development\Workspace\odoo-8.0-20150317\openerp\http.py", line 1399, in _dispatch_nodb

func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()

File "C:\Python27\lib\site-packages\werkzeug-0.9.4-py2.7.egg\werkzeug\routing.py", line 1433, in match

raise NotFound()

NotFound: 404: Not Found


Please help me to solve this issue

1
Avatar
Annuleer
Avatar
Rafael
Beste antwoord

Hi! I have a problem with odoo 8. When i attach any file, this file is saved both filestore and bd. If i upload a file with 1200kb, making du to filestore I view that grown 1200kb, but when i backup my bd, it also has grown 1200kb! With openerp 7 did no happen this

0
Avatar
Annuleer
yuri

Is this still happening? Should I check my instalation to see if that is happening?

Avatar
Winyoo
Beste antwoord

For Odoo 8, you need only to change the location in "openerp-server.conf". 

There is a row with "data_dir = ...." You can change to the place that you want. 

For example, mine is "data_dir = C:\Odoo Attach"

 

You don't need to modify "System Parameters", because it is set to be "file" as a default.

0
Avatar
Annuleer
Avatar
wizardz
Beste antwoord

I have this problem with that :


Hi, When I'm trying to install Aeroolib I get error:

chown: cannot access ‘/var/lib/odoo’: No such file or directory

I think thats because I installed Odoo in an other directory.

Is there a way to clean this? I mean to install aeroolib aeroo-docs with odoo in the directory /opt/odoo?

Odoo is installed in /opt/odoo, not in /var/lib/odoo.

Thanks for all the help

0
Avatar
Annuleer
Avatar
Andreas Marpmann
Beste antwoord

Try it after move "filestore" into /opt/openerp/server/openerp/filestore

0
Avatar
Annuleer
Avatar
Mathias Colpaert
Beste antwoord

Has anybody succeeded in storing files on server, with Odoo v8?

 

@Andreas, Do you think it is possible?

0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
[V8] How to get DATA_DIR Opgelost
v8 filestore
Avatar
Avatar
Avatar
4
jul. 15
8475
Why won't the header appear in a PDF report? Opgelost
v8 reports wkhtmltopdf
Avatar
Avatar
Avatar
Avatar
Avatar
5
mei 23
20568
[SOLVED] how to add record number in reports ? Opgelost
v8 qweb reports
Avatar
Avatar
2
okt. 22
7196
Why is the wrong currency symbol displayed? Opgelost
v8 currency reports
Avatar
Avatar
1
mrt. 15
6845
Odoo v8 - Qweb Footer without horizontal line (top border) Opgelost
v8 qweb reports footer
Avatar
Avatar
2
jan. 25
10535
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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