Remove create access to default user
issue2067 review48002
This commit is contained in:
+5
-5
@@ -506,9 +506,9 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<record model="ir.model.access" id="access_invoice">
|
||||
<field name="model" search="[('model', '=', 'account.invoice')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_invoice_account">
|
||||
@@ -694,9 +694,9 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_invoice_line">
|
||||
<field name="model" search="[('model', '=', 'account.invoice.line')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_invoice_line_account">
|
||||
@@ -764,7 +764,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model" search="[('model', '=', 'account.invoice.tax')]"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_invoice_tax_account">
|
||||
|
||||
@@ -65,6 +65,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="model">party.party,-1</field>
|
||||
<field name="action" ref="act_invoice_form2"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="act_invoice_form2-group_sale">
|
||||
<field name="action" ref="act_invoice_form2"/>
|
||||
<field name="group" ref="account.group_account"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
Reference in New Issue
Block a user