|
|
@ -52,15 +52,14 @@ class TestAEP(common.TransactionCase): |
|
|
|
'journal_id': self.journal.id, |
|
|
|
'date': fields.Date.to_string(date), |
|
|
|
'line_ids': [(0, 0, { |
|
|
|
'name': '/', |
|
|
|
'debit': amount, |
|
|
|
'account_id': debit_acc.id, |
|
|
|
}), (0, 0, { |
|
|
|
'name': '/', |
|
|
|
'credit': amount, |
|
|
|
'account_id': credit_acc.id, |
|
|
|
}) |
|
|
|
]}) |
|
|
|
'name': '/', |
|
|
|
'debit': amount, |
|
|
|
'account_id': debit_acc.id, |
|
|
|
}), (0, 0, { |
|
|
|
'name': '/', |
|
|
|
'credit': amount, |
|
|
|
'account_id': credit_acc.id, |
|
|
|
})]}) |
|
|
|
move.post() |
|
|
|
return move |
|
|
|
|
|
|
|