← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 685314] Re: [V6-RC1] HR - Expenses: invoice to pay employee does not point to the "employee" partner

 

Hello Bernard,

Fixed problem in Addons3 branch.

revision-id: mra@mra-laptop-20101207110835-m1cd14rhxup1rbrz

Thanks
mra


** Changed in: openobject-addons
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/685314

Title:
  [V6-RC1] HR - Expenses: invoice to pay employee does not point to the "employee" partner

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  The expense module allows to generate automatically a purchase invoice after the approval of the expense sheet, in order to create accounting entries for paying the employee (purchase).

When the "invoice" button is used on the expense sheet, the invoice screen shows the EMPLOYER as partner to be payed, instead of the EMPLOYEE partner.

Actually, the program reads the employee data in hr.employee but reads the wrong field:
Currently it reads the professional address (which make the links to the employer partner) instead of reading the personal  address field that makes the link to the employee partner that must be used on the invoice.





References