コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2123 ビュー

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

    アバター
    破棄
    最善の回答

    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

    アバター
    破棄
    関連投稿 返信 ビュー 活動
    2
    3月 23
    13953
    5
    6月 20
    6363
    1
    4月 16
    4631
    2
    3月 15
    6097
    1
    5月 25
    2642