Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

How to have a add stage column in Kanban?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
columnkanbanadd
4 Răspunsuri
12990 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Gavin Yap
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Rihene
Cel mai bun răspuns

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
Imagine profil
Abandonează
Rihene

Note that service_ids and credit_ids are one2many fields :)

Gavin Yap
Autor

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
add standard_price in tree view in inventory report Odoo14 CE
treeview column add
Imagine profil
Imagine profil
Imagine profil
2
apr. 21
4652
Adding a field to project kanban view - Field does not exist error - field from additional model Rezolvat
fields kanban add
Imagine profil
Imagine profil
3
iul. 20
4108
[ODOO v11] Add button next to Create, Import buttons on a List View/KanbanView
listview buttons kanban add
Imagine profil
1
oct. 22
15176
Hide 'Add' option from widget="many2many" kanban in odoo 14
kanban add v14 Many2many
Imagine profil
0
iun. 21
4477
How to make the order of "default_group_by" in kanban view?
kanban
Imagine profil
Imagine profil
1
ian. 25
2625
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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