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

Bug #685314 reported by Bernard Renier - ADN
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

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.

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have checked this issue. It is taking a "Partner" for invoice from hr.employee's working address that means it is taking a Employee's company address which is wrong . It should be an Employee's Home address.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.