[FIX] account_voucher: fixed the yaml test that was wrongly raising error + fixed warning

bzr revid: qdp-launchpad@tinyerp.com-20110105151659-ncfgrpf8sd8qraxj
This commit is contained in:
qdp-launchpad@tinyerp.com 2011-01-05 16:16:59 +01:00
parent 6ecd1928ee
commit 6fe432d6e9
2 changed files with 2 additions and 3 deletions

View File

@ -686,7 +686,7 @@ class account_voucher(osv.osv):
'date': inv.date,
'date_maturity': inv.date_due
}
master_line = move_line_pool.create(cr, uid, move_line)
move_line_pool.create(cr, uid, move_line)
rec_list_ids = []
line_total = debit - credit
if inv.type == 'sale':

View File

@ -3,7 +3,7 @@
-
!record {model: account.voucher, id: account_voucher_seagate_0}:
account_id: account.a_recv
amount: 0.0
amount: 30000.0
company_id: base.main_company
currency_id: base.EUR
journal_id: account.sales_journal
@ -13,7 +13,6 @@
type: cr
partner_id: base.res_partner_seagate
period_id: account.period_9
tax_amount: 0.0
type: sale
-