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

<record id="route_form_view" model="ir.ui.view"> <field name="name">busticket.form</field> <field name="model">busticket.route</field> <field name="arch" type="xml"> <form string="Route" version="7.0"> <header> <button name="%(create_trip_wizard_action)d" string="Create Trip" type="action"/> </header> <group> <field name="name" placeholder="FromlocationTolocation"/> <field name="from_id"/> <field name="to_id"/> <field name="distance"/> <field name="path_ids" colspan="4" nolabel="1"> <tree editable="bottom"> <field name="name"/> <field name="loc_id"/> </tree> <form> <field name="name"/> <field name="loc_id"/> </form> </field> </form> </field> </record>

This is the form view. I want to align the button having action create_trip_wizard_action

形象
丢弃
编写者 最佳答案

image description

It solved the problem. I have aligned it to the right. Is there any method to align it to middle?

形象
丢弃
最佳答案

you have a missing tag: </group>

形象
丢弃
编写者

actually that tag was there. it was copy mistake.

相关帖文 回复 查看 活动
1
11月 16
5693
4
11月 24
13087
1
4月 24
4146
1
8月 20
5233
0
6月 16
3354