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
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & 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
    Parcourir toutes les 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 pour partenaires
    • 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

Odoo 18 Project Sharing – OWL error when adding custom field to project_sharing_project_task_view_form

S'inscrire

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

Cette question a été signalée
configurationsystemprojecterror18.0
1 Répondre
154 Vues
Avatar
Sebastiano Gabriele Amodeo

Hello everyone,

I’m working on Odoo 18 (SaaS) and I’m trying to understand the limitations of Project Sharing when it comes to custom fields on tasks.




Context

  • Model: project.task

  • Environment: Odoo 18 SaaS

  • Feature: Project Sharing (shared project with portal users, “Edit” access)

  • Custom field created via Studio:


    • Name: x_studio_ding_dong

    • Type: Char

    • Stored

    • No groups restriction


I located the view used by Project Sharing:

project_sharing_project_task_view_form

When I add the custom field to this view, for example:

<field name="x_studio_ding_dong"/>

the task page in the shared project no longer opens.

The backend works fine; the issue happens only in Project Sharing.




Console error

In the browser console I get the following OWL error:

[Error] OwlError: An error occured in the owl lifecycle
Caused by: Error: "project.task"."x_studio_ding_dong" field is undefined.


From what I can see, OWL fails because the custom field is not present in the JS model used by Project Sharing, even though the field exists server-side.


I also confirmed that:

  • readonly="1" does not change the behavior

  • ACLs and groups do not change the behavior

  • QWeb directives (t-if, t-esc) are forbidden in this view (as expected)




Question

Is it by design that Project Sharing in Odoo 18 does not support custom fields (x_*) on project.task, even for read-only display?


If so:

  • Is this limitation documented anywhere?

  • Is there a supported way to expose additional task data to shared projects, or is the recommendation to use the classic Portal instead?


Thanks in advance for any clarification.

0
Avatar
Ignorer
Avatar
faOtools
Meilleure réponse
Hi,
To add task fields for sharing interfaces, the methods SELF_READABLE_FIELDS (and SELF_WRITABLE_FIELDS for editing mode) of the model "project.task" must be redefined. It is done by inheriting the Python model on the code level.
As far as we know, there is no way to do that from Odoo Studio.
Odoo Online (SaaS) does not allow installing custom or third-party modules.

In this way, unfortunately, there is currently no way to display custom fields in the sharing interfaces.

0
Avatar
Ignorer
Sebastiano Gabriele Amodeo
Auteur

Thank you so much for answer! :)

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é
How to automatically create only one project (from template) for a Sale Order, even if it has multiple service lines?
configuration project
Avatar
Avatar
1
nov. 25
744
[Odoo V12] How to use OpenAI with Odoo 12 (Python 3.6+ required)? Résolu
configuration project
Avatar
Avatar
Avatar
2
juin 25
2894
Custom field on contacts Résolu
configuration system
Avatar
Avatar
1
août 25
1948
Time zone issue in the migrated database
configuration system
Avatar
Avatar
1
févr. 25
2889
How to limit the state and country field in a web form
configuration 18.0
Avatar
Avatar
Avatar
Avatar
3
oct. 25
3078
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