oidualc/eden — pull request #3 by nursix (2014-02-26 22:09:53+00:00)
Title: Evass

Fixed the duplication issue (at both end, create+select).

The onaccept is not needed if we have fiscal_code inline, because that will always generate an evr_case record (whether you enter a code or not) - which is precisely what we desire here.

Furthermore, the filter for case.id != None (in evr/person controller) required a 3-table-join, namely:

case -> person <- identity

Which consequently lead to a duplication of the identity record in the form (identity was joined twice, once for each "case"). I /think/ I resolved this too.