[IMP] contracts
authorFabien Pinckaers <fp@tinyerp.com>
Mon, 10 Dec 2012 19:42:50 +0000 (20:42 +0100)
committerFabien Pinckaers <fp@tinyerp.com>
Mon, 10 Dec 2012 19:42:50 +0000 (20:42 +0100)
bzr revid: fp@tinyerp.com-20121210194250-ausp6zfxnu4ruq4q

addons/account_analytic_analysis/account_analytic_analysis_menu.xml
addons/account_analytic_analysis/account_analytic_analysis_view.xml

index db54417..447f7ce 100644 (file)
@@ -30,7 +30,6 @@
                     <field name="date"/>
                     <filter icon="terp-camera_test" name="open" string="Open" domain="[('state','in',('open','draft'))]" help="Contracts in progress"/>
                     <filter icon="terp-gtk-media-pause" name="pending" string="Pending" domain="[('state','=','pending')]" help="Pending contracts to renew with your customer"/>
-                    <separator/>
                     <filter icon="terp-go-today" string="To Renew" domain="['|', '&amp;', ('date', '!=', False), ('date', '&lt;=', time.strftime('%%Y-%%m-%%d')), ('is_overdue_quantity', '=', True)]" name="renew"
                         help="The contracts to be renewed because the deadline is passed or the working hours are higher than the allocated hours" />
                     <separator/>
@@ -57,7 +56,7 @@
             <field name="res_model">account.analytic.account</field>
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>
-            <field name="context">{'search_default_manager_id':uid, 'search_default_draft':1, 'search_default_pending':1, 'search_default_open':1, 'search_default_renew':1}</field>
+            <field name="context">{'search_default_manager_id':uid, 'search_default_pending':1, 'search_default_renew':1}</field>
             <field name="domain">[('type','=','contract')]</field>
             <field name="search_view_id" ref="view_account_analytic_account_overdue_search"/>
             <field name="help" type="html">
index 63e39c6..1f1117a 100644 (file)
             <field name="inherit_id" ref="account.view_account_analytic_account_list"/>
             <field name="arch" type="xml">
                 <field name="date" position="before">
-                    <field name="remaining_hours"/>
                     <field name="last_invoice_date"/>
                     <field name="toinvoice_total"/>
+                    <field name="remaining_hours"/>
                 </field>
             </field>
         </record>