Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Can't attach an attachment in Helpdesk Form

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
attachmenthelpdeskwebsiteEnterpriseOdoo13.0
1 Répondre
4287 Vues
Avatar
Knuckles

Hi, I'm Using Odoo 13 Enterprise


When i create a ticket through Helpdesk module without an attachment, it's working fine

But if i attach an attachment this error will pop up




The log:

Traceback (most recent call last):
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
    result = request.dispatch()
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 809, in dispatch
    r = self._call_function(**self.params)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 915, in __call__
    return self.method(*args, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/addons_enterprise/website_helpdesk_form/controller/main.py", line 27, in website_form
    return super(WebsiteForm, self).website_form(model_name, **kwargs)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/addons/crm_iap_lead_website/controllers/main.py", line 19, in website_form
    return super(ContactController, self).website_form(model_name, **kwargs)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/addons/website_crm/controllers/main.py", line 49, in website_form
    return super(WebsiteForm, self).website_form(model_name, **kwargs)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/addons/website_form/controllers/main.py", line 38, in website_form
    self.insert_attachment(model_record, id_record, data['attachments'])
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/addons/website_form/controllers/main.py", line 233, in insert_attachment
    record.sudo()[file.field_name] = [(4, attachment_id.id)]
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/models.py", line 5626, in __setitem__
    return self._fields[key].__set__(self, value)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/fields.py", line 1086, in __set__
    write_value = self.convert_to_write(value, records)
  File "/home/bekacitizen5/odoo/server/odoo-13.0/odoo/odoo/fields.py", line 2520, in convert_to_write
    raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for helpdesk.ticket.message_main_attachment_id: [(4, 14743)]


I think this is a bug, similar to this https://github.com/odoo/odoo/issues/38559
But since there is still no answer i had to ask here.


Thanks

0
Avatar
Ignorer
Sudhir Arya (ERP Harbor Consulting Services)

Did you develop/create this form or it is from the website_helpdesk_form module?

Because the form in the screenshot is way different than the helpdesk module.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Attachment from website v9c
attachment helpdesk website
Avatar
0
juil. 17
2992
How to Configure Websitw to Use Our Own Domain/Sub-domain for ? Résolu
helpdesk website
Avatar
Avatar
Avatar
Avatar
3
août 25
1294
Many forms to one helpdesk
helpdesk website
Avatar
Avatar
1
oct. 22
2281
Add Attachement From website. Résolu
attachment website
Avatar
Avatar
2
févr. 24
26444
Redirect Odoo Website traffic to New website without impacting Odoo Backend
website Enterprise sh
Avatar
Avatar
1
août 22
3281
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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