2983
2983
third_type = [('hr.employee', 'Employee')]
2985
2985
third_selection = 'hr.employee,0'
2987
2987
third_type = [('res.partner', 'Partner')]
2989
2989
third_selection = 'res.partner,0'
2991
third_type = [('res.partner', 'Partner'), ('hr.employee', 'Employee')]
2990
2994
return {'value': {'partner_type_mandatory': third_required, 'partner_type': {'options': third_type, 'selection': third_selection}}}
2992
2996
def onchange_partner_type(self, cr, uid, ids, partner_type=None, amount_in=None, amount_out=None, context=None):