Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa-subscription-mma 
into lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa.

Requested reviews:
  OpenERP R&D Team (openerp-dev)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-form-add-topbar-apa-subscription-mma/+merge/104720

Hello Sir

    subscription: I have add state and buttons on top bar

Thanks.
mma
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-form-add-topbar-apa-subscription-mma/+merge/104720
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa-subscription-mma 
into lp:~openerp-dev/openobject-addons/trunk-form-add-topbar-apa.
=== modified file 'subscription/subscription_view.xml'
--- subscription/subscription_view.xml	2012-04-25 14:35:28 +0000
+++ subscription/subscription_view.xml	2012-05-04 11:43:21 +0000
@@ -13,8 +13,17 @@
             <field name="model">subscription.subscription</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form string="Subscriptions">
-                    <group col="6" colspan="4">
+                <form layout="manual">
+                <div class="oe_form_topbar">
+                    <button name="set_process" states="draft" string="Process" type="object" icon="gtk-go-forward"/>
+                    <button name="set_done" states="running" string="Stop" type="object" icon="gtk-stop"/>
+                    <button name="set_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert"/>
+                <div class="oe_right">
+                    <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,running"/>
+                </div>
+                </div>
+                <sheet string="Subscriptions" layout="auto">
+                    <group col="6" colspan="4" class="oe_form_header">
                         <field name="name" select="1"/>
                         <field name="partner_id" select="1"/>
                         <field name="user_id" select="1"/>
@@ -32,12 +41,6 @@
                             <field colspan="4" name="notes" nolabel="1"/>
                             <separator colspan="4"/>
                             <field colspan="4" name="cron_id" readonly="1"/>
-                            <field name="state" readonly="1"/>
-                            <group col="3" colspan="2">
-                                <button name="set_process" states="draft" string="Process" type="object" icon="gtk-go-forward"/>
-                                <button name="set_done" states="running" string="Stop" type="object" icon="gtk-stop"/>
-                                <button name="set_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert"/>
-                            </group>
                         </page>
                         <page string="Documents created">
                             <field colspan="4" name="doc_lines" nolabel="1" widget="one2many_list"/>
@@ -47,6 +50,7 @@
                             <field name="note" colspan="4" nolabel="1"/>
                     </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

Reply via email to