Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

how does kanban work in the project app?

Naroči se

Get notified when there's activity on this post

This question has been flagged
projectmaintenancekanbancolumnsv15
2 Odgovori
3793 Prikazi
Avatar
Wald Sin

in project app i can manage stages and select, for what projects will be generated stages columns in kanban


i want do the same in maintenance module by selecting teams in stages, but when i try use in maintenence kanban attribute "default_group_by" it uses all available values from field "stage_id". I try to use domain, rules, but it didnt help. How this mechanism works?


Please help, a try to solve this problem for 2 days.

0
Avatar
Opusti
Wald Sin
Avtor

@m-azzain
i just found solution. In app maintance in field 'stage_id' there was a parameter:
group_expand='_read_group_stage_ids'

and in this function programm chooses all stages.

At start i think, that it is default and try to fix this and do it like in project app. I feel so dumb now)

Now my problem i think is solved, thank you for trying to help.

Wald Sin
Avtor

@odoo, @odoo_team
i cant delete my own mistake comment and answer to other reply, because CarmaError.
Can it be available for default?

Avatar
Wald Sin
Avtor Best Answer

@m-azzain
i think its not that i need, i want to add in 'maintenance.team'  a field (many2many - available stages), and when i chooce for example columns "new", "in work", "ended", i want, that kanban show me just this columns for team, where i choose it. But problem is that kanban shows all available stages from that many2many field and i dont know, how to hide it.

in app "project" its already realized, for each project you can choose used stages, but i cant find it in code. Maybe this is some of js script there, i dont know.

0
Avatar
Opusti
m-azzain

I think you are talking about fold
It is actually quite simple, you just need to have a fold field in the group_by model.

In the case of project module there is a fold field in 'project.project.stage' when you set it to true you will get the corresponding column folded.

but in your case, Many2many field, or even if it is One2Many, this can't be achieved

Wald Sin
Avtor

@m-azzain
i just found solution. In app maintance in field 'stage_id' there was a parameter:
group_expand='_read_group_stage_ids'

and in this function programm chooses all stages.

At start i think, that it is default and try to fix this and do it like in project app. I feel so dumb now)

Now my problem i think is solved, thank you for trying to help.

m-azzain

You are welcome

m-azzain

@Wald Sin, You mentioning group_expand='_read_group_stage_ids' let me give it a review and found that it is the conditional to activate the fold field, so folding is actually works even with Many2many and One2Many.

Avatar
m-azzain
Best Answer

If I am correct the stage_id is in 'maintenance.request' and 'maintenance.request' is in 'maintenance.team'
If that the case, I think the problem is about how are you grouping your data
That is when you try to group the teams by stages you will end up with same team appear in many stages, because it has different requests in these stages.

but if you still want to group your team by this way, you need to have a stages field in the team model so that you used it for grouping

stages = fields.Many2many('practice.maintenance.stage', compute='_compute_team_stages', store=True)

@api.depends('request_ids.stage_id')
def _compute_team_stages(self):
for team in self:
team.stages = team.request_ids.stage_id

With regard to the kanban view you can use the above defined field(stages) as a value for default_group_by so that kanban will use it for grouping by default. or you can put it in the search view as a filter in the group tag.

kanban will display whatever grouping you provide, so if you have multiple groups you can define all of them in the search view

0
Avatar
Opusti
m-azzain

<record id="maintenance_team_view_search" model="ir.ui.view">
<field name="name">practice.maintenance.team.search</field>
<field name="model">practice.maintenance.team</field>
<field name="arch" type="xml">
<search string="Search">
<field name="stages"/>
<group string='Group by...'>
<filter string='Stages' name="stages" domain="[]" context="{'group_by': 'stages'}"/>
</group>
</search>
</field>
</record>

m-azzain

you can also have a look on the documentation:
https://www.odoo.com/documentation/15.0/developer/reference/backend/views.html#kanban

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How to increase column name to 2 lines (Project, kanban view)
project kanban size v14 v15
Avatar
0
jun. 22
2447
Add new column o kanban view not displaying
kanban columns
Avatar
0
avg. 22
11
Is it possible to change the name of the tasks in order to better fit the business requirements ? Solved
project v15
Avatar
1
jul. 22
97
what is the visual impact of clicking on one of the colored bars at the top of a kanban stage ?
project v15
Avatar
1
maj 24
1237
Kanban and calendar views disappeared from Project.task
project kanban
Avatar
0
mar. 22
3779
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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