Add account balance REPP

This commit is contained in:
Martin Lensment 2015-04-16 11:46:18 +03:00
parent 35513b83bf
commit 4a6c1f4166
17 changed files with 111 additions and 27 deletions

View file

@ -101,7 +101,7 @@ namespace :import do
Registrar.all.each do |x|
next if x.cash_account
x.accounts.create(account_type: Account::CASH)
x.accounts.create(account_type: Account::CASH, currency: 'EUR')
x.save(validate: false)
end