diff options
| author | Hardik <hsa@tinyerp.com> | 2012-08-31 14:14:55 +0530 |
|---|---|---|
| committer | Hardik <hsa@tinyerp.com> | 2012-08-31 14:14:55 +0530 |
| commit | b6eacb18e747f262b9ca0cd2db52b78f0d55e15c (patch) | |
| tree | cc95e377173082d87ae50c0f23888b91a1af053c | |
| parent | 4639967d0ceb5db0ba1a12d89c7c46d1db012f63 (diff) | |
[IMP]Add multi currency field and tooltip messages are add
bzr revid: hsa@tinyerp.com-20120831084455-fnugi1p4q6hwb5r3
| -rw-r--r-- | addons/account/res_config.py | 2 | ||||
| -rw-r--r-- | addons/account/res_config_view.xml | 4 | ||||
| -rw-r--r-- | addons/hr/security/hr_security.xml | 3 | ||||
| -rw-r--r-- | addons/sale/security/sale_security.xml | 4 |
4 files changed, 13 insertions, 0 deletions
diff --git a/addons/account/res_config.py b/addons/account/res_config.py index 658f87962ff..79ab16ac6be 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -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): diff --git a/addons/account/res_config_view.xml b/addons/account/res_config_view.xml index 79a65f70414..2ae5f8ed5ac 100644 --- a/addons/account/res_config_view.xml +++ b/addons/account/res_config_view.xml @@ -122,6 +122,10 @@ <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"/> </div> diff --git a/addons/hr/security/hr_security.xml b/addons/hr/security/hr_security.xml index 5e4c3052858..39dd096b129 100644 --- a/addons/hr/security/hr_security.xml +++ b/addons/hr/security/hr_security.xml @@ -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'))]"/> diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml index 47a577e77c3..a9735c61b88 100644 --- a/addons/sale/security/sale_security.xml +++ b/addons/sale/security/sale_security.xml @@ -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'))]"/> |
