George Daramouskas
6 years ago
committed by
Holger Brunn
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
20 changed files with 212 additions and 209 deletions
-
1account_bank_statement_import_auto_reconcile/README.rst
-
3account_bank_statement_import_auto_reconcile/__init__.py
-
7account_bank_statement_import_auto_reconcile/__manifest__.py
-
26account_bank_statement_import_auto_reconcile/demo/account_bank_statement_import_auto_reconcile_rule.xml
-
3account_bank_statement_import_auto_reconcile/models/__init__.py
-
69account_bank_statement_import_auto_reconcile/models/account_bank_statement_import.py
-
38account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile.py
-
11account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py
-
14account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_odoo.py
-
8account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_rule.py
-
8account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_reapply_rules.py
-
6account_bank_statement_import_auto_reconcile/models/account_journal.py
-
3account_bank_statement_import_auto_reconcile/tests/__init__.py
-
25account_bank_statement_import_auto_reconcile/tests/test_account_bank_statement_import_auto_reconcile.py
-
22account_bank_statement_import_auto_reconcile/views/account_bank_statement.xml
-
24account_bank_statement_import_auto_reconcile/views/account_bank_statement_import.xml
-
48account_bank_statement_import_auto_reconcile/views/account_bank_statement_import_auto_reconcile_exact_amount.xml
-
44account_bank_statement_import_auto_reconcile/views/account_bank_statement_import_auto_reconcile_rule.xml
-
39account_bank_statement_import_auto_reconcile/views/account_bank_statement_import_reapply_rules.xml
-
22account_bank_statement_import_auto_reconcile/views/account_journal.xml
@ -1,4 +1,3 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# © 2017 Therp BV <http://therp.nl> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
|||
from . import models |
@ -1,15 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="rule_amount_exact" model="account.bank.statement.import.auto.reconcile.rule"> |
|||
<field name="journal_id" ref="account.bank_journal" /> |
|||
<field name="rule_type">account.bank.statement.import.auto.reconcile.exact.amount</field> |
|||
<field name="match_st_name" eval="True" /> |
|||
<field name="match_st_ref" eval="True" /> |
|||
<field name="match_move_name" eval="True" /> |
|||
<field name="match_move_ref" eval="True" /> |
|||
<field name="match_line_name" eval="True" /> |
|||
<field name="match_line_ref" eval="True" /> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<record id="rule_amount_exact" model="account.bank.statement.import.auto.reconcile.rule"> |
|||
<field name="journal_id" ref="account.bank_journal" /> |
|||
<field name="rule_type">account.bank.statement.import.auto.reconcile.exact.amount</field> |
|||
<field name="match_st_name" eval="True" /> |
|||
<field name="match_st_ref" eval="True" /> |
|||
<field name="match_move_name" eval="True" /> |
|||
<field name="match_move_ref" eval="True" /> |
|||
<field name="match_line_name" eval="True" /> |
|||
<field name="match_line_ref" eval="True" /> |
|||
</record> |
|||
</odoo> |
@ -1,4 +1,3 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# © 2017 Therp BV <http://therp.nl> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). |
|||
from . import test_account_bank_statement_import_auto_reconcile |
@ -1,13 +1,11 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<act_window |
|||
id="action_reapply_rules" |
|||
src_model="account.bank.statement" |
|||
res_model="account.bank.statement.import.reapply.rules" |
|||
name="Reapply matching rules" |
|||
target="new" |
|||
view_id="account_bank_statement_import_reapply_rules_form" |
|||
/> |
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<act_window |
|||
id="action_reapply_rules" |
|||
src_model="account.bank.statement" |
|||
res_model="account.bank.statement.import.reapply.rules" |
|||
name="Reapply matching rules" |
|||
target="new" |
|||
view_id="account_bank_statement_import_reapply_rules_form" |
|||
/> |
|||
</odoo> |
@ -1,15 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="account_bank_statement_import_view" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import</field> |
|||
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="journal_id" position="after"> |
|||
<field name="auto_reconcile" attrs="{'invisible': [('hide_journal_field', '=', True)]}" class="oe_inline" /> |
|||
<label for="auto_reconcile" /> |
|||
</field> |
|||
<odoo> |
|||
<record id="account_bank_statement_import_view" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import</field> |
|||
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="data_file" position="after"> |
|||
<field name="auto_reconcile" class="oe_inline" /> |
|||
<label for="auto_reconcile" /> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,26 +1,24 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="account_bank_statement_import_auto_reconcile_exact_amount_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.exact.amount</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="statement_fields" string="On the statement, match..."> |
|||
<field name="match_st_ref" /> |
|||
<field name="match_st_name" /> |
|||
</group> |
|||
<group name="move_line_fields" string="... with the following fields"> |
|||
<field name="match_move_ref" /> |
|||
<field name="match_move_name" /> |
|||
<field name="match_line_ref" /> |
|||
<field name="match_line_name" /> |
|||
</group> |
|||
<group name="options" string="Options"> |
|||
<field name="substring_match" /> |
|||
<field name="case_sensitive" /> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<record id="account_bank_statement_import_auto_reconcile_exact_amount_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.exact.amount</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group name="statement_fields" string="On the statement, match..."> |
|||
<field name="match_st_ref" /> |
|||
<field name="match_st_name" /> |
|||
</group> |
|||
<group name="move_line_fields" string="... with the following fields"> |
|||
<field name="match_move_ref" /> |
|||
<field name="match_move_name" /> |
|||
<field name="match_line_ref" /> |
|||
<field name="match_line_name" /> |
|||
</group> |
|||
<group name="options" string="Options"> |
|||
<field name="substring_match" /> |
|||
<field name="case_sensitive" /> |
|||
</group> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,24 +1,22 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="account_bank_statement_import_auto_reconcile_rule_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.rule</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group> |
|||
<field name="rule_type" /> |
|||
</group> |
|||
<div name="rule_options" attrs="{'invisible': [('rule_type', '=', False)]}" /> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="account_bank_statement_import_auto_reconcile_rule_tree" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.rule</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="display_name" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<record id="account_bank_statement_import_auto_reconcile_rule_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.rule</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<group> |
|||
<field name="rule_type" /> |
|||
</group> |
|||
<div name="rule_options" attrs="{'invisible': [('rule_type', '=', False)]}" /> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<record id="account_bank_statement_import_auto_reconcile_rule_tree" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.auto.reconcile.rule</field> |
|||
<field name="arch" type="xml"> |
|||
<tree> |
|||
<field name="display_name" /> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,18 +1,23 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="account_bank_statement_import_reapply_rules_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.reapply.rules</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<div>This wizard will reapply the journal's matching rules on the selected bank statement(s)</div> |
|||
<footer> |
|||
<button name="action_reapply_rules" string="Reapply rules" type="object" class="oe_highlight" /> |
|||
or |
|||
<button special="cancel" string="Cancel" class="oe_link" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
<odoo> |
|||
<record id="account_bank_statement_import_reapply_rules_form" model="ir.ui.view"> |
|||
<field name="model">account.bank.statement.import.reapply.rules</field> |
|||
<field name="arch" type="xml"> |
|||
<form> |
|||
<div> |
|||
This wizard will reapply the journal's matching |
|||
rules on the selected bank statement(s) |
|||
</div> |
|||
<footer> |
|||
<button |
|||
name="action_reapply_rules" |
|||
string="Reapply rules" |
|||
type="object" |
|||
class="oe_highlight" /> |
|||
or |
|||
<button special="cancel" string="Cancel" class="oe_link" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
</odoo> |
@ -1,14 +1,12 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_account_journal_form" model="ir.ui.view"> |
|||
<field name="model">account.journal</field> |
|||
<field name="inherit_id" ref="account.view_account_journal_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="default_credit_account_id" position="after"> |
|||
<field name="statement_import_auto_reconcile_rule_ids" widget="one2many_tags" /> |
|||
</field> |
|||
<odoo> |
|||
<record id="view_account_journal_form" model="ir.ui.view"> |
|||
<field name="model">account.journal</field> |
|||
<field name="inherit_id" ref="account.view_account_journal_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="default_credit_account_id" position="after"> |
|||
<field name="statement_import_auto_reconcile_rule_ids"/> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue