[IMP] crm : Added a new 'crm.group_fund_raising' group and added that group to Sales Configuration Wizard to visible a new tab 'Fund Raising' in 'Opportunity' form view.

bzr revid: mdi@tinyerp.com-20120731111645-glk765809s1gj8as
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-07-31 16:46:45 +05:30
parent fd0e40eb67
commit 7e6b21c4ec
4 changed files with 11 additions and 1 deletions

View File

@ -558,7 +558,7 @@
</group>
</group>
</page>
<page string="Fund Raising">
<page string="Fund Raising" groups="crm.group_fund_raising">
<group>
<field name="payment_mode" widget="selection"/>
<field name="planned_cost"/>

View File

@ -44,6 +44,9 @@ class crm_configuration(osv.osv_memory):
'module_google_map': fields.boolean("Google Maps on Customer",
help="""Locate customers on Google Map.
This installs the module google_map."""),
'group_fund_raising': fields.boolean("Manage Fund Raising",
implied_group='crm.group_fund_raising',
help="""Allows you to trace and manage your activities for fund raising."""),
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -27,6 +27,8 @@
<group name="config_sale" position="inside">
<separator string="Documents and Wiki" colspan="2"/>
<field name="module_wiki_sale_faq"/>
<separator string="Fund Raising" colspan="2"/>
<field name="group_fund_raising"/>
</group>
</field>
</record>

View File

@ -19,6 +19,11 @@
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_fund_raising" model="res.groups">
<field name="name">Manage Fund Raising</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record model="res.users" id="base.user_root">
<field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/>