From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../data/accounting_assert_test_data.xml | 140 +++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 addons/account_test/data/accounting_assert_test_data.xml (limited to 'addons/account_test/data/accounting_assert_test_data.xml') diff --git a/addons/account_test/data/accounting_assert_test_data.xml b/addons/account_test/data/accounting_assert_test_data.xml new file mode 100644 index 00000000..a0cfbf17 --- /dev/null +++ b/addons/account_test/data/accounting_assert_test_data.xml @@ -0,0 +1,140 @@ + + + + + 1 + Test 1: General balance + Check the balance: Debit sum = Credit sum + + + + + 3 + Test 3: Movement lines + Check if movement lines are balanced and have the same date and period + 0 or am.date!=ml.date or (am.date!=ml.date) +""" +cr.execute(sql) +res = cr.dictfetchall() +if res: + res.insert(0,_('* The test failed for these movement lines:')) +result = res + +]]> + + + + + + + 5 + Test 5.1 : Payable and Receivable accountant lines of reconciled invoices + Check that reconciled invoice for Sales/Purchases has reconciled entries for Payable and Receivable Accounts + + + + + 6 + Test 5.2 : Reconcilied invoices and Payable/Receivable accounts + Check that reconciled account moves, that define Payable and Receivable accounts, are belonging to reconciled invoices + + + + + 7 + Test 6 : Invoices status + Check that paid/reconciled invoices are not in 'Open' state + + + + + 8 + Test 7 : Closing balance on bank statements + Check on bank statement that the Closing Balance = Starting Balance + sum of statement lines + 0.000000001;") +result = cr.dictfetchall() +if result: + result.insert(0,_('* Unbalanced bank statement that need to be checked: ')) +]]> + + + + -- cgit v1.2.3