[FIX] l10n_in_hr_payroll: Fix payment advice report if the employee is not present
bzr revid: mra@tinyerp.com-20120726074034-w9sryg62d4x0no2k
This commit is contained in:
parent
533e5d8bdc
commit
806ddaec0f
|
@ -75,6 +75,8 @@ class payment_advice_report(osv.osv):
|
|||
from
|
||||
hr_payroll_advice as p
|
||||
left join hr_payroll_advice_line as l on (p.id=l.advice_id)
|
||||
where
|
||||
l.employee_id IS NOT NULL
|
||||
group by
|
||||
p.number,p.name,p.date,p.state,p.company_id,p.bank_id,p.chaque_nos,p.neft,
|
||||
l.employee_id,l.advice_id,l.bysal,l.ifsc_code, l.name
|
||||
|
|
Loading…
Reference in New Issue