summaryrefslogtreecommitdiff
path: root/addons/l10n_generic_coa
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2018-02-26 10:14:00 +0100
committerChristophe Matthieu <chm@odoo.com>2018-02-27 15:35:23 +0100
commitbdfd1ebf0cd1bb391044602664aec80c6dbc116a (patch)
tree48c5779b1907d409edc3142f5a99432fe4eed877 /addons/l10n_generic_coa
parent39780b503744197fc86d14a40126d0dd144f42b1 (diff)
[REF] account: create 'account.reconciliation.widget' model
Contains widget reconciliation methods. This refactoring does not modify the feature, some errors have been notified in the code but not modified.
Diffstat (limited to 'addons/l10n_generic_coa')
-rw-r--r--addons/l10n_generic_coa/data/account_bank_statement_demo.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/l10n_generic_coa/data/account_bank_statement_demo.xml b/addons/l10n_generic_coa/data/account_bank_statement_demo.xml
index d0e5c675279..ea43faa6f5c 100644
--- a/addons/l10n_generic_coa/data/account_bank_statement_demo.xml
+++ b/addons/l10n_generic_coa/data/account_bank_statement_demo.xml
@@ -73,5 +73,18 @@
<field name="amount">102.78</field>
<field name="date" eval="time.strftime('%Y')+'-01-01'"/>
</record>
+
+ <record id="demo_bank_statement_line_6" model="account.bank.statement.line">
+ <field name="ref">''</field>
+ <field name="statement_id" ref="l10n_generic_coa.demo_bank_statement_1"/>
+ <field name="sequence">1</field>
+ <field name="name" eval="'SAJ/'+time.strftime('%Y')+'/002'"/>
+ <field name="journal_id" model="account.journal" search="[
+ ('type', '=', 'bank'),
+ ('company_id', '=', obj().env['res.company']._company_default_get('account.journal').id)]"/>
+ <field name="amount">750.0</field>
+ <field name="date" eval="time.strftime('%Y')+'-01-01'"/>
+ </record>
+
</data>
</odoo>