跳至内容
菜单
此问题已终结
1 回复
3298 查看

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
2774
0
12月 24
990
4
7月 25
23930
2
1月 23
4641
1
6月 22
5612