Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2127 Tampilan

Am building a custom module to help manage internal tender projects. So, I want to divide my kanban view into different stages, like "New", "Submitted", "In review" etc. you get it right. I have setup a basic kanban view where I can see details about a tender eg validity window, submission deadline etc. But i want to group them into different columns for different stages like i mentioned before. Here is my current view



name ="name" > tender.kanban
name ="model" > tender.initial
name ="arch" type ="xml" >

name ="name" />
name ="validity_period" />
name ="submission_deadline" />
name ="opening_date" />

t-name ="kanban-box" >

t-attf-class ="oe_kanban_global_click o_kanban_record_has_image_fill" >
class ="oe_kanban_details" >
class ="o_kanban_record_title" >
name ="name" />

class ="o_kanban_tags_section" />

  • Validity Period:
  • Submission Deadline:
  • Opening Date:










  • Thanks

    Avatar
    Buang
    Jawaban Terbai

    Hi,


    In Odoo, the 'default_group_by' attribute is used to set the default grouping of records in a Kanban view. It allows you to define how records should be grouped when the Kanban view is initially loaded. This can be particularly useful for organizing and visualizing data based on a specific field or criterion.  


    <kanban default_group_by="state">



    group_create="false" for preventing the creation of a new stage, default value is True

    default_group_by ->used for grouping the kanban cards.group_delete-> attribute is used for deleting a kanban groupgroup_edit-> used for editing purposeson_create="quick_create" ->This option is used for creating records quickly from the kanban view itself.quick_create_view-> Enter the view id



    For more details, refer to the blog:

    https://www.cybrosys.com/blog/how-to-configure-the-advanced-kanban-view-in-odoo-15




    Hope it helps

    Avatar
    Buang
    Post Terkait Replies Tampilan Aktivitas
    2
    Mar 23
    13958
    5
    Jun 20
    6363
    1
    Apr 16
    4632
    2
    Mar 15
    6097
    1
    Mei 25
    2643