Skip to content

Commit

Permalink
[FIX] hr_expense: use correct partner_id in test
Browse files Browse the repository at this point in the history
closes odoo#162826

Signed-off-by: William André (wan) <wan@odoo.com>
  • Loading branch information
alialfie committed Apr 22, 2024
1 parent 83f2439 commit 16c67c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/hr_expense/tests/test_expenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def test_payment_register_bank_from_expense_reimbursed_to_employee(self):
# Set bank account in company.
self.env.company.partner_id.bank_ids = self.env['res.partner.bank'].create({
'acc_number': 'BE457268179587463',
'partner_id': self.env.company.id,
'partner_id': self.env.company.partner_id.id,
'acc_type': 'bank',
})
# Set commercial partner in employee's contact.
Expand Down

0 comments on commit 16c67c1

Please sign in to comment.