跳至內容
選單
此問題已被標幟
1 回覆
3419 瀏覽次數

As I have created a Many2many field,


project_stage_ids = fields.Many2many("project.stage.line", string="Project Stage Lines")

And added view like,



    


But, I'm not getting the status bar in form view, If I have used the many2many_checkboxes then showing the other all records of stage_lines record!!!
Do you have any ideas?

Thanks



頭像
捨棄
作者

View:

<xpath expr="//header" position="inside">

<field name="project_stage_ids" widget="statusbar" options="{'clickable': '1'}"/>

</xpath>

最佳答案

Hi,

The statusbar widget is not supported for the many2many field. It is only supported with Selection and Many2one fields. 

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
9月 22
2870
0
12月 24
1080
4
7月 25
24032
2
1月 23
4745
1
6月 22
5728