Skip to content

Commit

Permalink
add model access to partner_primeship
Browse files Browse the repository at this point in the history
  • Loading branch information
Kev-Roche committed Oct 27, 2022
1 parent e70035e commit 66f4b19
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions sale_partner_primeship/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"views/sale_primeship_views.xml",
"views/res_partner_views.xml",
"security/ir.model.access.csv",
"security/sale_partner_primeship.xml",
],
"license": "LGPL-3",
}
14 changes: 14 additions & 0 deletions sale_partner_primeship/security/sale_partner_primeship.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record model="ir.model.access" id="access_sale_partner_primeship_salesman">
<field name="name">nks_access_sale_partner_primeship_salesman</field>
<field name="model_id" ref="sale_partner_primeship.model_sale_primeship" />
<field name="group_id" ref="sales_team.group_sale_salesman" />
<field name="perm_read" eval="1" />
<field name="perm_create" eval="0" />
<field name="perm_write" eval="0" />
<field name="perm_unlink" eval="0" />
</record>

</odoo>

0 comments on commit 66f4b19

Please sign in to comment.