Turkesh Patel (openERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-survey-topbar-tpa into
lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa.
Requested reviews:
Amit Patel (OpenERP) (apa-tiny)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-survey-topbar-tpa/+merge/103644
survey
==========================================
[IMP]: Move state and button in a top bar.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-survey-topbar-tpa/+merge/103644
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa.
=== modified file 'survey/survey_view.xml'
--- survey/survey_view.xml 2012-04-25 14:35:28 +0000
+++ survey/survey_view.xml 2012-04-26 09:46:38 +0000
@@ -18,7 +18,16 @@
<field name="model">survey</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Survey">
+ <form layout="manual">
+ <div class="oe_form_topbar">
+ <button name="survey_open" string="Open" states="cancel,close" type="object" icon="gtk-go-forward"/>
+ <button name="survey_close" string="Close" states="open" type="object" icon="gtk-close"/>
+ <button name="survey_cancel" string="Cancel" states="open" type="object" icon="gtk-cancel"/>
+ <div class="oe_right">
+ <field name="state" widget="statusbar" nolabel="1" statusbar_visible="open,close"/>
+ </div>
+ </div>
+ <sheet string="Survey" layout="auto">
<field name="title" select="1"/>
<group col="6" colspan="6">
<field name="responsible_id"/>
@@ -180,16 +189,6 @@
</field>
</form>
</field>
- <group col="9" colspan="4">
- <field name="state" widget="statusbar" statusbar_visible="open,close"/>
- <button name="survey_cancel"
- string="Cancel" states="open" type="object" icon="gtk-cancel"/>
- <button name="survey_open"
- string="Open" states="cancel,close" type="object"
- icon="gtk-go-forward"/>
- <button name="survey_close"
- string="Close" states="open" type="object" icon="gtk-close"/>
- </group>
</page>
<page string="Other">
<group colspan="6" col='4'>
@@ -223,6 +222,7 @@
</field>
</page>
</notebook>
+ </sheet>
</form>
</field>
</record>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp