|
|
@ -3,13 +3,12 @@ |
|
|
|
Asterisk Click2dial module for OpenERP |
|
|
|
Copyright (C) 2010 Alexis de Lattre <alexis@via.ecp.fr> |
|
|
|
The licence is in the file __terp__.py |
|
|
|
|
|
|
|
Default access rules for the new asterisk.server object |
|
|
|
--> |
|
|
|
|
|
|
|
<openerp> |
|
|
|
<data noupdate="1"> |
|
|
|
|
|
|
|
<!-- Default access rules for the new asterisk.server object --> |
|
|
|
<record id="ir_model_access_asterisk_server_user" model="ir.model.access"> |
|
|
|
<field name="model_id" ref="asterisk_click2dial.model_asterisk_server"/> |
|
|
|
<field name="name" eval=""""asterisk.server_user"""" /> |
|
|
@ -18,7 +17,6 @@ |
|
|
|
<field name="perm_write" eval="0"/> |
|
|
|
<field name="perm_unlink" eval="0"/> |
|
|
|
<field name="perm_create" eval="0"/> |
|
|
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="ir_model_access_asterisk_server_system" model="ir.model.access"> |
|
|
@ -31,6 +29,21 @@ |
|
|
|
<field name="perm_create" eval="1"/> |
|
|
|
</record> |
|
|
|
|
|
|
|
<!-- New group dedicated to the "Get CallerID name from OpenERP" feature --> |
|
|
|
<record id="group_asterisk_cid" model="res.groups"> |
|
|
|
<field name="name">Asterisk CallerID</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<!-- Only add the minimum rights to the "Asterisk CallerID" group --> |
|
|
|
<record id="ir_model_access_asterisk_cid" model="ir.model.access"> |
|
|
|
<field name="model_id" ref="base.model_res_partner_address"/> |
|
|
|
<field name="name" eval=""""res.partner.address_read""""/> |
|
|
|
<field name="group_id" ref="asterisk_click2dial.group_asterisk_cid"/> |
|
|
|
<field name="perm_read" eval="1"/> |
|
|
|
<field name="perm_write" eval="0"/> |
|
|
|
<field name="perm_unlink" eval="0"/> |
|
|
|
<field name="perm_create" eval="0"/> |
|
|
|
</record> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |