[IMP]account_usability_misc and account_usability_point_of_sale: create a technical group with deleting rights on account bank statement and account ban statement line and remove same rights in pos groups
This commit is contained in:
@@ -17,6 +17,7 @@ Description
|
||||
- Changes some french translation
|
||||
- On reconcile view : filter account move lines by defaut with journal type
|
||||
- Hide Create button in Bank Statement tree view
|
||||
- Create a technical group with unlink righ on bank statements and bank statement lines
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
@@ -12,6 +12,7 @@
|
||||
'account_statement_base',
|
||||
],
|
||||
'data': [
|
||||
'security/res_groups.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'views/account_search.xml',
|
||||
'views/account_tree_view.xml',
|
||||
|
@@ -1,3 +1,5 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
account.access_account_bank_statement,account.bank.statement,account.model_account_bank_statement,account.group_account_user,1,1,1,0
|
||||
account.access_account_bank_statement_line,account.bank.statement.line,account.model_account_bank_statement_line,account.group_account_user,1,1,1,0
|
||||
access_account_bank_statement,account.bank.statement,account.model_account_bank_statement,group_account_super_user,1,1,1,1
|
||||
access_account_bank_statement_line,account.bank.statement.line,account.model_account_bank_statement_line,group_account_super_user,1,1,1,1
|
|
8
account_usability_misc/security/res_groups.xml
Normal file
8
account_usability_misc/security/res_groups.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="group_account_super_user" model="res.groups">
|
||||
<field name="name">Right to delete bank statement and bank statement lines
|
||||
</field>
|
||||
<field name="category_id" ref="base.module_category_hidden"/>
|
||||
</record>
|
||||
</odoo>
|
48
account_usability_misc_point_of_sale/README.rst
Normal file
48
account_usability_misc_point_of_sale/README.rst
Normal file
@@ -0,0 +1,48 @@
|
||||
====================================
|
||||
account_usability_misc_point_of_sale
|
||||
====================================
|
||||
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
``account_usability_misc_point_of_sale`` auto-installs when ``point_of_sale`` and ``account_usability_misc`` are installed
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
- Removes the right to unlink bank statements and bank statement lines for all pos users and managers
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
None yet.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `our issues website <https://github.com/elabore-coop/bank_statement_line_prevent_creating/issues>`_. In case of
|
||||
trouble, please check there if your issue has already been
|
||||
reported. If you spotted it first, help us smashing it by providing a
|
||||
detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Laetitia Da Costa
|
||||
|
||||
Funders
|
||||
-------
|
||||
|
||||
The development of this module has been financially supported by:
|
||||
* Elabore (https://elabore.coop)
|
||||
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
This module is maintained by Elabore.
|
20
account_usability_misc_point_of_sale/__manifest__.py
Normal file
20
account_usability_misc_point_of_sale/__manifest__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
'name': 'Account Usability Misc POS',
|
||||
'version': '16.0.2.0.0',
|
||||
'description': 'Prevent deleting account bank statement et account bank statement line throught POS',
|
||||
'summary': 'if Account Usability Misc and POS are installed, autoinstalle Account Usability Misc POS to prevent deleting account bank statement and account bank statement line throught POS manager rights',
|
||||
'author': 'Elabore',
|
||||
'website': 'https://elabore.coop/',
|
||||
'license': 'AGPL-3',
|
||||
'category': 'Accounting',
|
||||
'depends': [
|
||||
'account_usability_misc','point_of_sale'],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'application': False,
|
||||
'assets': {
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
point_of_sale.access_account_bank_statement_manager,account.bank.statement manager,account.model_account_bank_statement,point_of_sale.group_pos_manager,1,1,1,0
|
||||
point_of_sale.access_account_bank_statement_line_manager,account.bank.statement.line manager,account.model_account_bank_statement_line,point_of_sale.group_pos_manager,1,1,1,0
|
|
Reference in New Issue
Block a user