diff --git a/__manifest__.py b/__manifest__.py index 323070940c3d915ecb1cbe547b2bafea7c600e29..4ac1922e05910c44f6b28fef5e56542699fd0faa 100755 --- a/__manifest__.py +++ b/__manifest__.py @@ -17,7 +17,6 @@ "multi_company_menu", ], "data": [ - "security/security_rules.xml", "security/ir.model.access.csv", "views/account_invoice.xml", "views/account_move.xml", diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv index 731427df84b1438d79b90c8dc5c23e0953a861b1..4f2ff5dd90bf3a1ebd7707b57e11307d1ff9ddf7 100755 --- a/security/ir.model.access.csv +++ b/security/ir.model.access.csv @@ -1,4 +1,2 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_scop_cotisation_task,access_scop_cotisation_task,model_scop_cotisation_task,account.group_account_manager,1,1,1,0 -admin_access_scop_cotisation_task,admin_access_scop_cotisation_task,model_scop_cotisation_task,cgscop_partner.group_cg_administrator,1,1,1,1 access_scop_contribution_report_user,access_scop_contribution_report_user,model_scop_contribution_report,base.group_user,1,0,0,0 \ No newline at end of file diff --git a/security/security_rules.xml b/security/security_rules.xml deleted file mode 100644 index e4498049d5eb339c0203f2eceecbd4a5062e7e7c..0000000000000000000000000000000000000000 --- a/security/security_rules.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright 2020 Le Filament - License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> - -<odoo> - <data noupdate="0"> - - <record id="cg_cotisation_task_rule" model="ir.rule"> - <field name="name">Tâches créations cotisations consultables que pour sa société</field> - <field name="model_id" ref="cgscop_cotisation.model_scop_cotisation_task"/> - <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field> - <field name="perm_read" eval="True"/> - <field name="perm_write" eval="True"/> - <field name="perm_create" eval="True"/> - <field name="perm_unlink" eval="True"/> - </record> - - </data> -</odoo> \ No newline at end of file