[FIX] improve test

This commit is contained in:
vrenaville
2014-10-10 14:42:22 +02:00
parent b7c37f8d7c
commit e8931ac9ae

View File

@@ -1,26 +1,10 @@
-
In order to test the bank statement date , I first need to
create a profile
-
!record {model: account.statement.profile, id: profile_test_date}:
name: Bank EUR Profile for check date
journal_id: account.bank_journal
commission_account_id: account.a_expense
company_id: base.main_company
balance_check: True
rule_ids:
- account_statement_base_completion.bank_statement_completion_rule_4
- account_statement_base_completion.bank_statement_completion_rule_5
- account_statement_base_completion.bank_statement_completion_rule_2
- account_statement_base_completion.bank_statement_completion_rule_3
- bank_statement_completion_rule_1
-
In order to test if the correct date is set in the bank statement
I create a bank statement
-
!record {model: account.bank.statement, id: statement_test_date1}:
name: Statement for Date
profile_id: profile_test_date
journal_id: account.bank_journal
company_id: base.main_company
balance_end_real : 1000.0
-