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

How to have a add stage column in Kanban?

S'inscrire

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

Cette question a été signalée
columnkanbanadd
4 Réponses
12988 Vues
Avatar
Gavin Yap

I refer to Kanban views whereby I has 2 models

- Stage

- Registration

Stages has One2Many Registrations. 

Registration has Many2One Stage .


and in my kanban view, I can only add Registration, but I cannot add a column (a new Stage)


        <!-- Kanban View -->
<record model="ir.ui.view" id="warranty_registration_kanban_view">
<field name="name">warranty.registration.kanban</field>
<field name="model">warranty.registration</field>
<field name="arch" type="xml">
<kanban default_group_by="stage_id">
<field name="color"/>
<templates>
<t t-name="kanban-box">
<div
t-attf-class="oe_kanban_color_{{kanban_getcolor(record.color.raw_value)}}
oe_semantic_html_override
oe_kanban_card {{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}}">
<div class="oe_dropdown_kanban">
<!-- dropdown menu -->
<div class="oe_dropdown_toggle">
<span class="oe_e">#</span>
<ul class="oe_dropdown_menu">
<li>
<a type="delete">Delete</a>
</li>
<li>
<ul class="oe_kanban_colorpicker"
data-field="color"/>
</li>
</ul>
</div>
<div class="oe_clear"></div>
</div>
<div t-attf-class="oe_kanban_content">
<!-- title -->
Start date:
<field name="start_date"/>
<br/>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>


What I want to achieve is like the hr_recruitment  or Notes module,  where I can create stage in the kanban view using the column option

0
Avatar
Ignorer
Avatar
Gavin Yap
Auteur Meilleure réponse

The answer is so simple, which I would never thought  of.

In the Kanban view xml, the field used in  'default_group_by', need to be defined within the kanban.

<kanban default_group_by="stage_id">
<field name="stage_id"/>
<field name="project">
    <field name="project_client"/>
    <field name="project_mode"/> 
    <field name="credit"/>
    <field name="state"/>
    <templates>




-2
Avatar
Ignorer
Avatar
Rihene
Meilleure réponse

Here is an example, you can learn from it .


<record id="test_kanban_view" model="ir.ui.view">

<field name="name">Test Kanban</field>

<field name="model">test.project</field>

<field name="arch" type="xml">

<kanban>

<field name="project"/>

<field name="project_client"/>

<field name="project_mode"/> 

<field name="credit"/>

<field name="state"/>

<templates>

<t t-name="kanban-box">

<div class="oe_kanban_vignette oe_semantic_html_override">

<a type="open"><img t-att-src="kanban_image('product.product', 'image_small', record.id.value)" class="oe_kanban_image"/></a>

<div class="oe_kanban_details">

<h4>

<a type="open">

<field name="project"/>

</a>

<div name="client"/>

<ul>

<li>Project Owner:<field name="project_client"></field></li>

</ul>

</h4>

<div name="services"/>

<ul>

<li>Services:<field name="service_ids"></field></li>

</ul>

<div name="credits"/>

<ul>

<li>Credits:<field name="credit_ids"></field></li>

</ul>

</div>

</div>

</t>

</templates>

</kanban>

</field>

</record>

It works in my session perfectly.

Here is a usefull link for you:

https://www.odoo.com/fr_FR/forum/help-1/question/can-we-create-a-kunban-view-for-a-custom-module-17393


-1
Avatar
Ignorer
Rihene

Note that service_ids and credit_ids are one2many fields :)

Gavin Yap
Auteur

I think u mis read my question. If you ever install the notes module. in the kanban view of your notes, you can add a column group , or stages. My kanban view works except, I'm not seeing the column option to add a stage.

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é
add standard_price in tree view in inventory report Odoo14 CE
treeview column add
Avatar
Avatar
Avatar
2
avr. 21
4652
Adding a field to project kanban view - Field does not exist error - field from additional model Résolu
fields kanban add
Avatar
Avatar
3
juil. 20
4108
[ODOO v11] Add button next to Create, Import buttons on a List View/KanbanView
listview buttons kanban add
Avatar
1
oct. 22
15175
Hide 'Add' option from widget="many2many" kanban in odoo 14
kanban add v14 Many2many
Avatar
0
juin 21
4477
How to make the order of "default_group_by" in kanban view?
kanban
Avatar
Avatar
1
janv. 25
2625
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