[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:
parent
6ecd1928ee
commit
6fe432d6e9
|
@ -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':
|
||||
|
|
|
@ -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
|
||||
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue