← Back to team overview

openerp-india team mailing list archive

[Bug 1085522] [NEW] [6.1] Payslip lines create accounting entry line only for line appearing on payslip

 

Public bug reported:

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:

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.1 payroll

** Tags added: 6.1

** Tags added: payroll

-- 
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):
  New

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


Follow ups

References