Since the create() function does call cr.commit(), the validity check for selection options shall happen before the call to orm._auto_init(). bzr revid: p_christ@hol.gr-20110107092655-kokkx3pz2ilawyc0