mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
MIG hr_expense_lead to 12.0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user