Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
18706 มุมมอง

<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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 16
5869
4
พ.ย. 24
13582
1
เม.ย. 24
4301
1
ส.ค. 20
5373
0
มิ.ย. 16
3477