diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
| commit | 1ca3b3df3421961caec3b747a364071c80f5c7da (patch) | |
| tree | 6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /ohrms_loan_accounting/security | |
| parent | b57188be371d36d96caac4b8d65a40745c0e972c (diff) | |
initial commit
Diffstat (limited to 'ohrms_loan_accounting/security')
| -rw-r--r-- | ohrms_loan_accounting/security/ir.model.access.csv | 13 | ||||
| -rw-r--r-- | ohrms_loan_accounting/security/security.xml | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/ohrms_loan_accounting/security/ir.model.access.csv b/ohrms_loan_accounting/security/ir.model.access.csv new file mode 100644 index 0000000..aa0ac8c --- /dev/null +++ b/ohrms_loan_accounting/security/ir.model.access.csv @@ -0,0 +1,13 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_move_uinvoice_officer,account.move.group_hr_user,account.model_account_move,hr.group_hr_user,1,1,1,1 +access_account_journal_uinvoice_officer,account.journal.group_hr_user,account.model_account_journal,hr.group_hr_user,1,1,1,1 +acces_account_move_line_officer,account.move.line.group_hr_user,account.model_account_move_line,hr.group_hr_user,1,1,1,1 +acces_ account_account_type_officer, account.account.type.group_hr_user,account.model_account_account_type,hr.group_hr_user,1,1,1,1 +access_hr_loan_manager,hr.loan,model_hr_loan,hr.group_hr_manager,1,1,1,1 +access_hr_loan_line_manager,hr.loan.line,model_hr_loan_line,hr.group_hr_manager,1,1,1,1 +access_account_move_uinvoice_manager,account.move,account.model_account_move,hr.group_hr_manager,1,1,1,1 +access_account_journal_uinvoice_manager,account.journal,account.model_account_journal,hr.group_hr_manager,1,1,1,1 +acces_account_move_line_manager,account.move.line,account.model_account_move_line,hr.group_hr_manager,1,1,1,1 +acces_ account_account_type_manager, account.account.type,account.model_account_account_type,hr.group_hr_manager,1,1,1,1 +access_hr_loan_accountant,hr.loan,model_hr_loan,account.group_account_user,1,1,1,0 +access_hr_loan_line_accountant,hr.loan.line,model_hr_loan_line,account.group_account_user,1,1,1,0
\ No newline at end of file diff --git a/ohrms_loan_accounting/security/security.xml b/ohrms_loan_accounting/security/security.xml new file mode 100644 index 0000000..7c2692f --- /dev/null +++ b/ohrms_loan_accounting/security/security.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data noupdate="1"> + + + <record id="hr_loan_manager_account_rule" model="ir.rule"> + <field name="name">Loan Forms Modification Accounts</field> + <field name="model_id" ref="model_hr_loan"/> + <field name="groups" eval="[(4, ref('account.group_account_user'))]"/> + <field name="perm_write" eval="1"/> + <field name="perm_read" eval="1"/> + <field name="perm_create" eval="1"/> + <field name="perm_unlink" eval="1"/> + </record> + + + </data> +</odoo>
\ No newline at end of file |
