commit
e07a624e1a
|
@ -114,6 +114,9 @@ class account_config_settings(osv.osv_memory):
|
||||||
help="This purchase tax will be assigned by default on new products."),
|
help="This purchase tax will be assigned by default on new products."),
|
||||||
'decimal_precision': fields.integer('Decimal precision on journal entries',
|
'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."""),
|
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',
|
||||||
|
help="Allows you multi currency environment"),
|
||||||
}
|
}
|
||||||
|
|
||||||
def _default_company(self, cr, uid, context=None):
|
def _default_company(self, cr, uid, context=None):
|
||||||
|
|
|
@ -121,6 +121,10 @@
|
||||||
</div>
|
</div>
|
||||||
<label for="id" string="Features"/>
|
<label for="id" string="Features"/>
|
||||||
<div>
|
<div>
|
||||||
|
<div>
|
||||||
|
<field name="group_multi_currency" class="oe_inline"/>
|
||||||
|
<label for="group_multi_currency"/>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<field name="module_account_accountant" class="oe_inline"/>
|
<field name="module_account_accountant" class="oe_inline"/>
|
||||||
<label for="module_account_accountant"/>
|
<label for="module_account_accountant"/>
|
||||||
|
|
|
@ -2,13 +2,19 @@
|
||||||
<openerp>
|
<openerp>
|
||||||
<data noupdate="1">
|
<data noupdate="1">
|
||||||
|
|
||||||
|
<record model="res.groups" id="base.group_user">
|
||||||
|
<field name="comment">Employee: the user will be able to manage his own human resources stuff (leave request, timesheets, ...), if he is linked to an employee in the system.</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record id="base.group_hr_user" model="res.groups">
|
<record id="base.group_hr_user" model="res.groups">
|
||||||
<field name="name">Officer</field>
|
<field name="name">Officer</field>
|
||||||
<field name="category_id" ref="base.module_category_human_resources"/>
|
<field name="category_id" ref="base.module_category_human_resources"/>
|
||||||
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
|
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
|
||||||
|
<field name="comment">Officer: the user will be able to approve document created by employees</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="base.group_hr_manager" model="res.groups">
|
<record id="base.group_hr_manager" model="res.groups">
|
||||||
<field name="name">Manager</field>
|
<field name="name">Manager</field>
|
||||||
|
<field name="comment">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="category_id" ref="base.module_category_human_resources"/>
|
||||||
<field name="implied_ids" eval="[(4, ref('base.group_hr_user'))]"/>
|
<field name="implied_ids" eval="[(4, ref('base.group_hr_user'))]"/>
|
||||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||||
|
|
|
@ -5,16 +5,19 @@
|
||||||
<record id="base.group_sale_salesman" model="res.groups">
|
<record id="base.group_sale_salesman" model="res.groups">
|
||||||
<field name="name">User - Own Leads Only</field>
|
<field name="name">User - Own Leads Only</field>
|
||||||
<field name="category_id" ref="base.module_category_sales_management"/>
|
<field name="category_id" ref="base.module_category_sales_management"/>
|
||||||
|
<field name="comment">User - Own Leads Only: the user will have access to his own data in the sales application.</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="base.group_sale_salesman_all_leads" model="res.groups">
|
<record id="base.group_sale_salesman_all_leads" model="res.groups">
|
||||||
<field name="name">User - All Leads</field>
|
<field name="name">User - All Leads</field>
|
||||||
<field name="category_id" ref="base.module_category_sales_management"/>
|
<field name="category_id" ref="base.module_category_sales_management"/>
|
||||||
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman'))]"/>
|
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman'))]"/>
|
||||||
|
<field name="comment">User - All Leads: the user will have access to all records of everyone in the sales application.</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="base.group_sale_manager" model="res.groups">
|
<record id="base.group_sale_manager" model="res.groups">
|
||||||
<field name="name">Manager</field>
|
<field name="name">Manager</field>
|
||||||
|
<field name="comment">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="category_id" ref="base.module_category_sales_management"/>
|
||||||
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
|
<field name="implied_ids" eval="[(4, ref('base.group_sale_salesman_all_leads'))]"/>
|
||||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||||
|
|
Loading…
Reference in New Issue