MIG hr_expense_lead to 12.0

This commit is contained in:
Jared Kipe
2019-05-20 12:38:32 -07:00
parent e4fa4432fc
commit a644f3a9d4
3 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ class TestCheckVendor(common.TransactionCase):
expense = self.env['hr.expense'].create({
'name': 'Test Expense',
'product_id': self.env['product.product'].search([('can_be_expensed', '=', True)], limit=1).id,
'employee_id': self.env['hr.employee'].search([], limit=1).id,
'unit_amount': 34.0,
})
self.assertFalse(lead.expense_ids)