Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • 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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and 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
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Website - contact form - file upload field

Odoberať

Get notified when there's activity on this post

This question has been flagged
formuploadfilestorewebsiteuploadfile
1 Odpoveď
8531 Zobrazenia
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
Zrušiť
Avatar
David BECHAUD
Best Answer

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
Zrušiť
Adam Moonen
Autor

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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
OdooV13 Where uploaded files go using html form? Solved
form upload file path website
Avatar
1
jan 21
3995
website form
form website
Avatar
Avatar
Avatar
2
máj 25
10544
Portal Users Requesting Time Off via Website
form website
Avatar
Avatar
Avatar
Avatar
3
mar 24
6266
Website form field conditions Solved
form website
Avatar
Avatar
1
jan 21
4128
Error when I load an image
upload uploadfile
Avatar
0
júl 15
4593
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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