[6.1] Payslip lines create accounting entry line only for line appearing on payslip
Bug #1085522 reported by
Maxime Chambreuil (http://www.savoirfairelinux.com)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
Using latest revisions of 6.1 server, web and addons :
- Install hr_payroll and hr_payroll_account
- create a salary structure with a line not displayed on payslip and having accounting information (like an employer contribution)
- create a contract using the previous structure
- Create an employee payslip for the employee having the previous contract
- Calculate, verify and approve sheet
The accounting entry generated have only lines for payslip lines appearing on payslip. If the payslip line does not appear, there is no accounting entry line:
It should be something like:
for line in slip.details_
Related branches
lp:~savoirfairelinux-openerp/openobject-addons/6.1-fix-1085522
Ready for review
for merging
into
lp:openobject-addons/6.1
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedhr_payroll_account/hr_payroll_account.py (+1/-1)
tags: | added: 6.1 |
tags: | added: payroll |
To post a comment you must log in.
Hello Maxime,
Thanks for the pointing out this.
Same issue was fixed on trunk ago and landed on 7.0, Would you please check the lp:942373 was fixed on 6 months ago.
But this is the blocking point for stable 6.1 and its major functional issue, So I am confirming this for 6.1 too and assign to OPW team. Also look at the code which seems good.
Thanks again!