openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21989
[Bug 1085522] Re: [6.1] Payslip lines create accounting entry line only for line appearing on payslip
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!
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1085522
Title:
[6.1] Payslip lines create accounting entry line only for line
appearing on payslip
Status in OpenERP Addons (modules):
Confirmed
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:
http://bazaar.launchpad.net/~openerp/openobject-
addons/6.1/view/head:/hr_payroll_account/hr_payroll_account.py#L110
It should be something like:
for line in slip.details_by_salary_rule_category:
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1085522/+subscriptions
References