Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Website - contact form - file upload field

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
formuploadfilestorewebsiteuploadfile
1 Svar
8548 Visninger
Avatar
Adam Moonen

 I thought the documents/knowledge app would sort this out but alas, it does not.

This request is really just to add file upload capability to an odoo web form.
My page: http://portal.ssworx.com.au/page/website-test-form

I am after the code to put in the html of the page if it is that easy. something like this https://script.google.com/macros/s/AKfycbzer6qfJNu3DDHdAuWFMOAIfJvfjX0d-Tw6rdNmeTk/dev

What I am after is a field that I can put on the webform (such as contact us) that enables a potential customer (anonymous lead) to upload a file (drawing, picture, spreadsheet, doc) etc, that will then be associated with the lead once the submit button is pressed. Could I allow more than one upload? say 5, in case of many drawings or example photos?

N.B. When the documents app is installed, a new button appears above every record that says "Attachments", with a drop down which says "Add...". That is exactly the type of thing I am after for a contact form.

That way, when a lead comes in, I can see the attachments the source has attached, and when I convert to an opportunity or further, the attachments follow the lead. I have a work around using a custom form on google docs page with an anonymous upload type, but this will just get hard to manage. also, there is no way to tie the google drive upload form into the odoo website. (or is there??).

Some thoughts I have had about for this process...

- I am no postgresql guru, and when I upload files manually within a record, a search using locate does not find the files within the linux file structure, so I am guessing they are stored in the database, but I have no idea where. (I have read a few pgsql posts that say it is best to store file in the database rather than the linux file structure, but I am not sure about that!)
- I imagine if I did know where they were stored within the db, I would add a field that points to the document repository so the document could be stored there?
- I would like to limit the size of the documents individually to around 2Mb, and only accept a few formats (pdf, jpg, doc etc..)
- As I have portal access for our clients, and I have the shop exclusively for them, I would like to have a similar form page that only portal users can see, that allows them to put in details about an upcoming project such as name, location, and a drawing etc. Same request really, but just another view on it.

Big thanks in advance.

0
Avatar
Kassér
Avatar
David BECHAUD
Bedste svar

Hi Adam, did you find any solution to solve your problem ? I'm very interested in your answer : could you share ? Thanks a lot.  

0
Avatar
Kassér
Adam Moonen
Forfatter

Hi David,

no luck with any responses. I tried one solution using Google drive but it was very cumbersome but had to drop it to get on with the rest of the project. I have not tried Odoo 9.0 yet and am hopeful there is something there that can help.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
OdooV13 Where uploaded files go using html form? Løst
form upload file path website
Avatar
1
jan. 21
4011
website form
form website
Avatar
Avatar
Avatar
2
maj 25
10564
Portal Users Requesting Time Off via Website
form website
Avatar
Avatar
Avatar
Avatar
3
mar. 24
6280
Website form field conditions Løst
form website
Avatar
Avatar
1
jan. 21
4143
Error when I load an image
upload uploadfile
Avatar
0
jul. 15
4609
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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