134
135
if third and third[0] and third[0] != '':
140
if not self.pool.get('account.account').search(cr, uid, ACCOUNT_RESTRICTED_AREA['payroll_lines'] + [('id', '=', account.id)]):
136
143
# If account is analytic-a-holic, fetch employee ID
137
144
if account.is_analytic_addicted:
138
145
# Add default destination from account