[IMP] base_setup: add new fields
authorJagdish Panchal (Open ERP) <jap@tinyerp.com>
Mon, 2 Apr 2012 06:04:18 +0000 (11:34 +0530)
committerJagdish Panchal (Open ERP) <jap@tinyerp.com>
Mon, 2 Apr 2012 06:04:18 +0000 (11:34 +0530)
bzr revid: jap@tinyerp.com-20120402060418-hpdzd73eal67qtgs

addons/base_setup/res_config.py
addons/base_setup/res_config_view.xml

index 8829d8e..a0396f3 100644 (file)
@@ -33,6 +33,12 @@ class general_configuration(osv.osv_memory):
                            help ="""It installs the portal module."""),
         'module_share': fields.boolean('Share',
                            help ="""It installs the share module."""),
+        'module_base_report_designer': fields.boolean('Customise your OpenERP Report with OpenOffice',
+                           help ="""It installs the base_report_designer module."""),
+        'module_report_webkit': fields.boolean('Design OpenERP report in HTML',
+                           help ="""It installs the report_webkit module."""),
+        'module_report_webkit_sample': fields.boolean('Samples of HTML report design',
+                           help ="""It installs the report_webkit_sample module."""),                
     }
 
 general_configuration()
index ede184b..7456b64 100644 (file)
@@ -8,16 +8,18 @@
             <field name="arch" type="xml">
                <form string ="General Application">
                    <separator string="General Setting" colspan="4"/>
-                   <group  colspan="2" col="4">
-                        <label string="Set Company Header and Footer" align="0.75" colspan="2"/>
+                   <group colspan="4" col="4">
+                        <label string="Set Company Header and Footer :"/>
                         <button name="%(action_base_setup_company)d" string="Header and Footer" type="action" icon="gtk-apply"/>
-                        <newline/>
                         <field name="group_multi_company"/>
-                        <newline/>
-                        <field name="module_portal"/>
-                        <newline/>
                         <field name="module_share"/>
                    </group>
+                   <separator string="Reports" colspan="4"/>
+                   <group  colspan="4" col="4">
+                        <field name="module_base_report_designer"/>
+                        <field name="module_report_webkit"/>
+                        <field name="module_report_webkit_sample"/>                                            
+                   </group>                               
                 </form>
             </field>
         </record>