Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3312 Представления

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
2793
0
дек. 24
1015
4
июл. 25
23940
2
янв. 23
4652
1
июн. 22
5635