تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
18638 أدوات العرض

<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
نوفمبر 16
5777
4
نوفمبر 24
13351
1
أبريل 24
4230
1
أغسطس 20
5311
0
يونيو 16
3409