set attrs in wizard:
authorApa (Open ERP) <apa@tinyerp.com>
Wed, 28 Jan 2009 06:10:27 +0000 (11:40 +0530)
committerApa (Open ERP) <apa@tinyerp.com>
Wed, 28 Jan 2009 06:10:27 +0000 (11:40 +0530)
  account/wizard/wizard_partner_balance_report.py
  account/wizard/wizard_third_party_ledger.py

bzr revid: apa@tinyerp.com-20090128061027-j2bo4h5qohrqpgm7

addons/account/wizard/wizard_partner_balance_report.py
addons/account/wizard/wizard_third_party_ledger.py

index c6b90c6..ee34ecb 100644 (file)
@@ -35,16 +35,16 @@ period_form = '''<?xml version="1.0"?>
     <separator string="Filters" colspan="4"/>
     <field name="state" required="True"/>
     <newline/>
-    
-    <group attrs="{'invisible':[('state','=','byperiod'),('state','=','none')]}" colspan="4">
-        <separator string="Date Filter" colspan="4"/>
-        <field name="date1"/>
-        <field name="date2"/>
-    </group>
-    <group attrs="{'invisible':[('state','=','bydate'),('state','=','none')]}" colspan="4">
-        <separator string="Filter on Periods" colspan="4"/>
-        <field name="periods" colspan="4" nolabel="1"/>
-   
+    <group attrs="{'invisible':[('state','=','none')]}" colspan="4">
+        <group attrs="{'invisible':[('state','=','byperiod')]}" colspan="4">
+            <separator string="Date Filter" colspan="4"/>
+            <field name="date1"/>
+            <field name="date2"/>
+        </group>
+        <group attrs="{'invisible':[('state','=','bydate')]}" colspan="4">
+            <separator string="Filter on Periods" colspan="4"/>
+            <field name="periods" colspan="4" nolabel="1"/>
+        </group>
     </group>
 </form>'''
 
index 0d5f68b..0382cb0 100755 (executable)
@@ -41,15 +41,16 @@ period_form = '''<?xml version="1.0"?>
     <separator string="Filters" colspan="4"/>
     <field name="state" required="True"/>
     <newline/>
-    
-    <group attrs="{'invisible':[('state','=','byperiod'),('state','=','none')]}" colspan="4">
-        <separator string="Date Filter" colspan="4"/>
-        <field name="date1"/>
-        <field name="date2"/>
-    </group>
-    <group attrs="{'invisible':[('state','=','bydate'),('state','=','none')]}" colspan="4">
-        <separator string="Filter on Periods" colspan="4"/>
-        <field name="periods" colspan="4" nolabel="1"/>
+    <group attrs="{'invisible':[('state','=','none')]}" colspan="4">
+        <group attrs="{'invisible':[('state','=','byperiod')]}" colspan="4">
+            <separator string="Date Filter" colspan="4"/>
+            <field name="date1"/>
+            <field name="date2"/>
+        </group>
+        <group attrs="{'invisible':[('state','=','bydate')]}" colspan="4">
+            <separator string="Filter on Periods" colspan="4"/>
+            <field name="periods" colspan="4" nolabel="1"/>
+        </group>
     </group>
    
 </form>'''