[trunk] hr_payroll_account: Domain mismatch between Employee Account in the employee record and payable account in partner record
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
- Mustufa Rangwala (Open ERP): Approve
- qdp (OpenERP): Pending requested
-
Diff: 1269 lines (+448/-373)5 files modifiedhr_payroll/hr_payroll.py (+3/-1)
hr_payroll_account/__openerp__.py (+1/-1)
hr_payroll_account/hr_payroll_account.py (+312/-226)
hr_payroll_account/hr_payroll_account_demo.xml (+50/-25)
hr_payroll_account/hr_payroll_account_view.xml (+82/-120)
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 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
milestone: | none → 6.1 |
Hello Michael Telahun Makonnen,
Its fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-payroll- account- mtr 20110421113925- r6j0cxhdxrcaqqy g
Revision ID: mtr@mtr-
Revision no: 4480
Thanks,
mtr