[IMP]Add multi currency field and tooltip messages are add

bzr revid: hsa@tinyerp.com-20120831084455-fnugi1p4q6hwb5r3
This commit is contained in:
Hardik
2012-08-31 14:14:55 +05:30
parent 4639967d0c
commit b6eacb18e7
4 changed files with 13 additions and 0 deletions
+2
View File
@@ -114,6 +114,8 @@ class account_config_settings(osv.osv_memory):
help="This purchase tax will be assigned by default on new products."),
'decimal_precision': fields.integer('Decimal precision on journal entries',
help="""As an example, a decimal precision of 2 will allow journal entries like: 9.99 EUR, whereas a decimal precision of 4 will allow journal entries like: 0.0231 EUR."""),
'group_multi_currency': fields.boolean('allow multi currencies',
implied_group='base.group_multi_currency'),
}
def _default_company(self, cr, uid, context=None):
+4
View File
@@ -121,6 +121,10 @@
</div>
<label for="id" string="Features"/>
<div>
<div>
<field name="group_multi_currency" class="oe_inline"/>
<label for="group_multi_currency"/>
</div>
<div>
<field name="module_account_accountant" class="oe_inline"/>
<label for="module_account_accountant"/>
+3
View File
@@ -9,6 +9,9 @@
</record>
<record id="base.group_hr_manager" model="res.groups">
<field name="name">Manager</field>
<field name="comment">
Officer: the user will be able to approve document created by employees
Manager: the user will have an access to the human resources configuration as well as statistic reports</field>
<field name="category_id" ref="base.module_category_human_resources"/>
<field name="implied_ids" eval="[(4, ref('base.group_hr_user'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
+4
View File
@@ -15,6 +15,10 @@
<record id="base.group_sale_manager" model="res.groups">
<field name="name">Manager</field>
<field name="comment">
User - Own Leads Only: the user will have access to his own data in the sales application.
User - All Leads: the user will have access to all records of everyone in the sales application.
Manager: the user will have an access to the sales configuration as well as statistic reports.</field>
<field name="category_id" ref="base.module_category_sales_management"/>
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>