How to organize many2many checkboxes in lines (rows) rather than columns?
问题 I am creating one module where I have a Many2many field and I would like to convert it into a checkbox group. I have written this in my XML view to achieving it <field name="location_ids" widget="many2many_checkboxes"/> But the field is shown all the options in a long column. I would like to show the options in multiple rows as in the following image: 回答1: I think I have found a good approach for you. Research First I have search the original template which is rendered with the widget