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
    • Devenir 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

Hyperlinks on issues

S'inscrire

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

Cette question a été signalée
issueshyperlink
1 Répondre
8481 Vues
Avatar
Mark Lewis

Hello

In my bespoke system, I like to have a hyperlink on issues to a forum question if applicable. Open ERP does not seem to provide the field or link function.

1
Avatar
Ignorer
Avatar
Daniel Reis
Meilleure réponse

You need to add a Custom Field to Project Issues.

First, log in as Administrator and make sure the Technical Features are enabled. In the Settings menu:

  • Go to Users, find and open "Administrator", and in the Access Rightstab checkTechnical Features`.

Second, create the custom field in the database:

  • Go to Technical -> Database Structure, find and edit the "Project Issue" model
  • At the bottom of the Fields tab, "Add an Item"
  • Create the new field:
    • Name: x_url
    • Field Label: Hyperlink
    • Field Type: char
    • Size 200
    • Save & Close the "Create Fields" dialog
  • "Save" the Project Issue changes

Finally, add the field to the form:

  • Go to Technical -> User Interface, find and edit the "Project Issue Tracker Form"
  • In the Architecture text, find and replace:

                    <group groups="base.group_user">
                        <field name="user_id"/>
    

with

                    <group groups="base.group_user">
                        <field name="x_url" widget="url"/>
                        <field name="user_id"/>

And it's done. Now go to Project Issues and you'll see the new field available.

For fields that are not URLs just remove the "widget=...". Just write: <field name="my_field_name"/>. See all attributes a field can have inn the official docs.

5
Avatar
Ignorer
Mark Lewis
Auteur

Fantastic, thanks a lot. That showed me a little that its nice and open and can be changed.

Mark Lewis
Auteur

How do I add fields that are not url fields and have them appear with a larger box (like description). Set type to char size 400 or text. But what should the widget be in xml architecture for this type of field? <field name="x_url" widget="url"/>

Daniel Reis

For fields that are not URLs just remove the "widget=...". Just write: &lt;field name="my_field_name"/&gt;. - just added this to the answer.

Mark Lewis
Auteur

Daniel, thanks. How can I however increase the size of the data entry field?

Daniel Reis

Changing the field's size in the Database Structure should be enough. I chose 200, but you can change that to whatever size.

Mark Lewis
Auteur

Sorry I meant on the form view rather than in the database structure

Daniel Reis

In the form you only need to tell where you want to place the field, and optionally add some display attributes, such as the widget to use. The size and type is defined in the database structure. If for some reason the size change isn't taking effect, try restarting the OpenERP server.

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é
White screen appers
issues
Avatar
Avatar
Avatar
2
oct. 23
2392
How to make forecast depends on project material request
issues
Avatar
0
oct. 21
2573
Hello I need create server action to asign contact by email in a issue I have an action server
issues
Avatar
0
août 15
3787
Issues reply-to email address
issues
Avatar
3
juin 15
8942
Where is a code for button create and edit in module project issue?
issues
Avatar
Avatar
1
mars 15
7346
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
  • Devenir 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