[FIX] YAML test on account voucher : Create a second USD account for testing, avoiding one of the account constraint to raise.
bzr revid: joel.grandguillaume@camptocamp.com-20121126095834-o29f5cwoffu2t0ic
This commit is contained in:
parent
c5a9314a0f
commit
59bbb02064
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue