[trunk] hr_payroll_account: Domain mismatch between Employee Account in the employee record and payable account in partner record

Bug #761456 reported by Michael Telahun Makonnen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

When recording the transactions for an employee pay slip there are two important fields:
    1. Employee Account in the employee record
    2. Payable Account in the partner record for the employee
In most cases these two fields should point to the same account. Currently, in the partner record the Account Payable field expects a 'payable' account and will not let you choose a different type of account; whereas, the field in the employee record expects a 'regular' account type and will not let you choose any other type of account.

This is a bug. The two fields should expect the same type of account.

I propose that the domain of the Employee Account field in hr_payroll_account be changed from 'regular' to a 'payable' type. Especially since it says right there in the help string: "Employee Payable Account".

Related branches

Revision history for this message
Michael Telahun Makonnen (mmakonnen) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Meera Trambadia (OpenERP) (mtr-openerp) wrote :

Hello Michael Telahun Makonnen,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-payroll-account-mtr
Revision ID: mtr@mtr-20110421113925-r6j0cxhdxrcaqqyg
Revision no: 4480

Thanks,
mtr

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Michael,

Thanks for your contribution with the patch.

trunk-payroll-account-mtr branch will be merge soon with payroll project branch as we are working with improvements in hr payroll and hr payroll account.

Regards,
mra

summary: - Domain mismatch between Employee Account in the employee record and
- payable account in partner record
+ [trunk] hr_payroll_account: Domain mismatch between Employee Account in
+ the employee record and payable account in partner record
Revision history for this message
Michael Telahun Makonnen (mmakonnen) wrote : Re: [Bug 761456] Re: [trunk] hr_payroll_account: Domain mismatch between Employee Account in the employee record and payable account in partner record

Great!
One less patch to maintain locally.

Thanks.

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Hello @Mustafa, where is the hr payroll project branch.

Regards,

Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.1
Revision history for this message
OBaeko (oystein-u) wrote :

A workaround if you are wating for the next version to be realsed is to temorarly change the accounttype of the payable account that you intend to use. Change it from Payalbe to regular, select the account in "Employee payable account" and then changee it back to payable..

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.