Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2107 Widoki

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

    Awatar
    Odrzuć
    Najlepsza odpowiedź

    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

    Awatar
    Odrzuć
    Powiązane posty Odpowiedzi Widoki Czynność
    2
    mar 23
    13943
    5
    cze 20
    6358
    1
    kwi 16
    4628
    2
    mar 15
    6096
    1
    maj 25
    2631