Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3382 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Tác giả

View:

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

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

</xpath>

Câu trả lời hay nhất

Hi,

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

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 22
2844
0
thg 12 24
1046
4
thg 7 25
24001
2
thg 1 23
4721
1
thg 6 22
5700