Payslip report uses otherid in place of bank account

Bug #1225862 reported by Laura
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

When on employee payslip press print -> Employee PaySlip the printed report uses Employee's otherid in place of bank acccount.

The reason is following line in report_payslip.rml (see: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/hr_payroll/report/report_payslip.rml)

<para style="P4">[[ o.employee_id.otherid or '' ]]</para>

it should be:
<para style="P4">[[ o.employee_id.bank_account_id.acc_number or '' ]]</para>

Related branches

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello laura,

Thanks for providing fix, its working fine for me.

Thank you.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Amit Vora(OpenERP) (amit.vora-openerp) wrote :

Hello,
              I have fixed inhttps://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1225862-avo.
              Revision ID: <email address hidden>
              Revision No:8902

Thanks,
Amit.

Changed in openobject-addons:
status: Confirmed → Fix Committed
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.