[IMP]account_usability_misc:hide create button in bank statement line view
This commit is contained in:
@@ -13,10 +13,10 @@ Use Odoo normal module installation procedure to install
|
||||
Description
|
||||
===========
|
||||
|
||||
- Hide Create button in Bank Statement Line view without changing rights
|
||||
- Removes the right to unlink bank statements and bank statement lines for all users
|
||||
- Changes some french translation
|
||||
- On reconcile view : filter account move lines by defaut with journal type
|
||||
- Hide Create button in Bank Statement tree view
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
@@ -16,6 +16,7 @@
|
||||
'views/account_search.xml',
|
||||
'views/account_tree_view.xml',
|
||||
"views/bank_statement_line_views.xml",
|
||||
"views/bank_statement_views.xml",
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
|
13
account_usability_misc/views/bank_statement_views.xml
Normal file
13
account_usability_misc/views/bank_statement_views.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="view_bank_statement_tree" model="ir.ui.view">
|
||||
<field name="name">account.bank.statement.tree</field>
|
||||
<field name="model">account.bank.statement</field>
|
||||
<field name="inherit_id" ref="account.view_bank_statement_tree" />
|
||||
<field name="arch" type="xml">
|
||||
<tree position="attributes">
|
||||
<attribute name="create">false</attribute>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
Reference in New Issue
Block a user