[FIX] hr_payroll : Fixes the duplicate payslip problem
lp bug: https://launchpad.net/bugs/1029318 fixed bzr revid: amp@tinyerp.com-20120726111113-0jo81xcclbusdp8g
This commit is contained in:
parent
5e93bcd949
commit
ddc19ac369
|
@ -318,7 +318,9 @@ class hr_payslip(osv.osv):
|
|||
'company_id': company_id,
|
||||
'period_id': False,
|
||||
'basic_before_leaves': 0.0,
|
||||
'basic_amount': 0.0
|
||||
'basic_amount': 0.0,
|
||||
'number': '',
|
||||
'payslip_run_id': False,
|
||||
})
|
||||
return super(hr_payslip, self).copy(cr, uid, id, default, context=context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue