Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1753 Ansichten

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
    Verwerfen
    Beste Antwort

    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
    Verwerfen
    Verknüpfte Beiträge Antworten Ansichten Aktivität
    2
    März 23
    13330
    5
    Juni 20
    6036
    1
    Apr. 16
    4402
    2
    März 15
    5841
    1
    Mai 25
    2345