[FIX] YAML test on account voucher : Create a second USD account for testing, avoidin...
authorJoel Grand-Guillaume <joel.grandguillaume@camptocamp.com>
Mon, 26 Nov 2012 09:58:34 +0000 (10:58 +0100)
committerJoel Grand-Guillaume <joel.grandguillaume@camptocamp.com>
Mon, 26 Nov 2012 09:58:34 +0000 (10:58 +0100)
bzr revid: joel.grandguillaume@camptocamp.com-20121126095834-o29f5cwoffu2t0ic

addons/account_voucher/test/case5_suppl_usd_usd.yml

index 3cae966..2829c9e 100644 (file)
@@ -4,7 +4,7 @@
 -
   I create a cash account with currency USD
 -
-  !record {model: account.account, id: account_cash_usd_id}:
+  !record {model: account.account, id: account_cash_usd_id2}:
     currency_id: base.USD
     name: "cash account in usd"
     code: "Xcash usd"
@@ -56,8 +56,8 @@
     type: bank
     analytic_journal_id: account.sit
     sequence_id: account.sequence_bank_journal
-    default_debit_account_id: account_cash_usd_id
-    default_credit_account_id: account_cash_usd_id
+    default_debit_account_id: account_cash_usd_id2
+    default_credit_account_id: account_cash_usd_id2
     currency: base.USD
     company_id: base.main_company
     view_id: account.account_journal_bank_view