mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
minor fix
This commit is contained in:
parent
b9b717fd52
commit
ae1f32322f
|
@ -711,10 +711,10 @@ class LiquidationGroup(Wizard):
|
|||
], fields_names=['contract'])
|
||||
contract_ids = [i['contract'] for i in contracts]
|
||||
for employee in employees:
|
||||
|
||||
# if employee.contract in contract_ids or not employee.contract:
|
||||
# continue
|
||||
contracts = Contract.search([('employee', '=', employee.id)])
|
||||
contracts = Contract.search([
|
||||
('employee', '=', employee.id),
|
||||
('id', 'not in', contract_ids),
|
||||
])
|
||||
for contract in contracts:
|
||||
lqt_create = {
|
||||
'start_period': start_period,
|
||||
|
|
Loading…
Reference in a new issue