← Back to team overview

openerp-india team mailing list archive

[Bug 1082441] Re: [6.1] expense to payment order flow lose bank account

 

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,

-sbi

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1082441

Title:
  [6.1] expense to payment order flow lose bank account

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Hello,

  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.

  -sbi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1082441/+subscriptions


References