Alexis de Lattre
5 years ago
11 changed files with 304 additions and 259 deletions
-
28account_bank_reconciliation_summary_xlsx/__manifest__.py
-
6account_bank_reconciliation_summary_xlsx/models/account_move_line.py
-
298account_bank_reconciliation_summary_xlsx/report/bank_reconciliation_xlsx.py
-
9account_bank_reconciliation_summary_xlsx/report/report.xml
-
21account_bank_reconciliation_summary_xlsx/views/account_bank_statement.xml
-
24account_bank_reconciliation_summary_xlsx/views/account_journal.xml
-
15account_bank_reconciliation_summary_xlsx/views/account_move_line.xml
-
29account_bank_reconciliation_summary_xlsx/wizard/bank_reconciliation_report_wizard.py
-
36account_bank_reconciliation_summary_xlsx/wizard/bank_reconciliation_report_wizard_view.xml
-
1setup/account_bank_reconciliation_summary_xlsx/odoo/addons/account_bank_reconciliation_summary_xlsx
-
6setup/account_bank_reconciliation_summary_xlsx/setup.py
@ -1,24 +1,23 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!-- |
|||
Copyright 2017-2020 Akretion France (http://www.akretion.com/) |
|||
@author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
|
|||
<odoo> |
|||
|
|||
|
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<record id="view_bank_statement_form" model="ir.ui.view"> |
|||
<field name="name">bank_rec_summary.account.bank.statement.form</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"> |
|||
<button name="check_confirm_bank" position="after"> |
|||
<button name="%(bank_reconciliation_report_wizard_action)d" type="action" |
|||
string="Bank Reconciliation Report" context="{'default_journal_ids': [journal_id]}"/> |
|||
<button |
|||
name="%(bank_reconciliation_report_wizard_action)d" |
|||
type="action" |
|||
string="Bank Reconciliation Report" |
|||
context="{'default_journal_ids': [journal_id]}" |
|||
/> |
|||
</button> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
</record> |
|||
</odoo> |
@ -1,23 +1,18 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!-- |
|||
Copyright 2017-2020 Akretion France (http://www.akretion.com/) |
|||
Alexis de Lattre <alexis.delattre@akretion.com> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
|
|||
<odoo> |
|||
|
|||
|
|||
<record id="view_move_line_form" model="ir.ui.view"> |
|||
<record id="view_move_line_form" model="ir.ui.view"> |
|||
<field name="name">bank_rec_summary.account_move_line_form</field> |
|||
<field name="model">account.move.line</field> |
|||
<field name="inherit_id" ref="account.view_move_line_form"/> |
|||
<field name="inherit_id" ref="account.view_move_line_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="statement_id" position="after"> |
|||
<field name="statement_line_date"/> |
|||
<field name="statement_line_date" /> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
</record> |
|||
</odoo> |
@ -1,42 +1,42 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<!-- |
|||
Copyright 2017-2020 Akretion France (http://www.akretion.com/) |
|||
@author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
|
|||
<odoo> |
|||
|
|||
|
|||
<record id="bank_reconciliation_report_wizard_form" model="ir.ui.view"> |
|||
<record id="bank_reconciliation_report_wizard_form" model="ir.ui.view"> |
|||
<field name="name">bank.reconciliation.report.wizard.form</field> |
|||
<field name="model">bank.reconciliation.report.wizard</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Bank Reconciliation Report"> |
|||
<group name="main"> |
|||
<field name="date"/> |
|||
<field name="journal_ids" widget="many2many_tags"/> |
|||
<field name="date" /> |
|||
<field name="journal_ids" widget="many2many_tags" /> |
|||
</group> |
|||
<footer> |
|||
<button name="open_xlsx" string="Export XLSX" type="object" class="btn-primary"/> |
|||
<button special="cancel" string="Cancel"/> |
|||
<button |
|||
name="open_xlsx" |
|||
string="Export XLSX" |
|||
type="object" |
|||
class="btn-primary" |
|||
/> |
|||
<button special="cancel" string="Cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="bank_reconciliation_report_wizard_action" model="ir.actions.act_window"> |
|||
</record> |
|||
<record id="bank_reconciliation_report_wizard_action" model="ir.actions.act_window"> |
|||
<field name="name">Bank Reconciliation</field> |
|||
<field name="res_model">bank.reconciliation.report.wizard</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="bank_reconciliation_report_wizard_menu" |
|||
</record> |
|||
<menuitem |
|||
id="bank_reconciliation_report_wizard_menu" |
|||
action="bank_reconciliation_report_wizard_action" |
|||
parent="account_financial_report.menu_oca_reports" |
|||
groups="account.group_account_manager,account.group_account_user" |
|||
sequence="100"/> |
|||
|
|||
|
|||
sequence="100" |
|||
/> |
|||
</odoo> |
@ -0,0 +1 @@ |
|||
../../../../account_bank_reconciliation_summary_xlsx |
@ -0,0 +1,6 @@ |
|||
import setuptools |
|||
|
|||
setuptools.setup( |
|||
setup_requires=['setuptools-odoo'], |
|||
odoo_addon=True, |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue