[6.1] expense to payment order flow lose bank account

Bug #1082441 reported by Stéphane Bidoul (Acsone) on 2012-11-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


This applies to 6.1 and trunk.

When an expense is added to a payment order, the partner bank account is not set in the payment order.

How to reproduce:
1. select an employee and make sure at least one bank account is defined for the partner linked to the employee through its home address
2. create an expense, submit it, approve it
3. generate the invoice (6.1) or the accounting entry (trunk)
4. validate the invoice (6.1) or the accounting entry (trunk)
5. create a payment order
6. select "add invoices to pay" and select the entry corresponding to the expense
7. the payment order line does not show the partner bank account

In 6.1, this is due to the fact that the generated invoice does not have the partner_bank_id field initialized.
In trunk, I don't know the reason.

I link a branch with a fix for 6.1.


Amit Parik (amit-parik) wrote :

Hello Stephane,

I have faced the same issue on 6.1 as you reported, but on trunk this functionality is totally changed of hr_expense.

6.1 expense generated the supplier invoice from expense, but on trunk expense is directly generate the purchase receipt.

So your issue doesn't affect to trunk, and producible on 6.1 and also this is not a blocking point.

As per our bug management policy we have consider only blocking point. For these type of issues If you have a support&maintenance contract with us then you can contact our OPW team at <email address hidden>. They will defiantly helps you.

Thank you!

Changed in openobject-addons:
status: New → Invalid
summary: - [6.1 / trunk] expense to payment order flow lose bank account
+ [6.1] expense to payment order flow lose bank account
Stéphane Bidoul (Acsone) (sbi) wrote :

Hello Amit,

I've seen the difference in trunk indeed.

But, IMHO, the issue is present in trunk too as the bank account is not propagated to the payment order.

Best regards,


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers