[IMP] account_bank_statement_chatter: pre-commit stuff

This commit is contained in:
Sergio Bustamante
2024-04-22 12:07:42 +02:00
parent d844cedb4e
commit 4a7b7c1a51
4 changed files with 25 additions and 19 deletions

View File

@@ -2,20 +2,19 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': 'Chatter on bank statements', "name": "Chatter on bank statements",
'version': '12.0.1.0.0', "version": "12.0.1.0.0",
'category': 'Invoices & Payments', "category": "Invoices & Payments",
'license': 'AGPL-3', "license": "AGPL-3",
'author': 'Trey, ' "author": "Trey, " "Odoo Community Association (OCA)",
'Odoo Community Association (OCA)', "website": "https://github.com/OCA/account-financial-tools",
'website': 'https://github.com/OCA/account-financial-tools', "depends": [
'depends': [ "account",
'account',
], ],
'data': [ "data": [
'views/account_bank_statement_views.xml', "views/account_bank_statement_views.xml",
], ],
'installable': True, "installable": True,
'development_status': 'Beta', "development_status": "Beta",
'maintainers': ['cubells'], "maintainers": ["cubells"],
} }

View File

@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8" ?>
<odoo> <odoo>
<record id="view_bank_statement_form" model="ir.ui.view"> <record id="view_bank_statement_form" model="ir.ui.view">
<field name="model">account.bank.statement</field> <field name="model">account.bank.statement</field>
<field name="inherit_id" ref="account.view_bank_statement_form"/> <field name="inherit_id" ref="account.view_bank_statement_form" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<sheet position="after"> <sheet position="after">
<div class="oe_chatter"> <div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/> <field name="message_follower_ids" widget="mail_followers" />
<field name="activity_ids" widget="mail_activity"/> <field name="activity_ids" widget="mail_activity" />
<field name="message_ids" widget="mail_thread"/> <field name="message_ids" widget="mail_thread" />
</div> </div>
</sheet> </sheet>
</field> </field>

View File

@@ -0,0 +1 @@
../../../../account_bank_statement_chatter

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)