# HG changeset patch # User Luis Falcon # Date 1470277449 0 # Node ID 6a3eebc5b348e95c494964519aefd0f7134d0e31 # Parent 4a4963951ba6af552b01f752dc13222db3199668 health: fix bug #48695: Error when adding attribute in existing person to health professional diff --git a/tryton/health/health.py b/tryton/health/health.py --- a/tryton/health/health.py +++ b/tryton/health/health.py @@ -520,8 +520,8 @@ actions = iter(args) args = [] for parties, vals in zip(actions, actions): + given_name=family_name='' vals = vals.copy() - person_id = parties[0].id # We use this method overwrite to make the fields that have a # unique constraint get the NULL value at PostgreSQL level, and not