[IMP] base_setup: add new fields

bzr revid: jap@tinyerp.com-20120402060418-hpdzd73eal67qtgs
This commit is contained in:
Jagdish Panchal (Open ERP) 2012-04-02 11:34:18 +05:30
parent 93cc3b43e6
commit 162092e8b0
2 changed files with 14 additions and 6 deletions

View 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()

View 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>