Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3386 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 22
2845
0
груд. 24
1046
4
лип. 25
24002
2
січ. 23
4722
1
черв. 22
5702