diff -r 3876c894e018 -r f4a52abb6f4f web/views/editviews.py --- a/web/views/editviews.py Tue Dec 08 16:46:56 2009 +0100 +++ b/web/views/editviews.py Tue Dec 08 16:50:36 2009 +0100 @@ -80,7 +80,7 @@ def cell_call(self, row, col): entity = self.cw_rset.get_entity(row, col) relname, target = self._cw.form.get('relation').rsplit('_', 1) - rschema = self._cw.schema.rschema(relname) + rschema = self._cw.vreg.schema.rschema(relname) hidden = 'hidden' in self._cw.form is_cell = 'is_cell' in self._cw.form self.w(self.build_unrelated_select_div(entity, rschema, target, @@ -101,7 +101,7 @@ options.append('' % (self._cw._('select a'), etypes)) options += self._get_select_options(entity, rschema, target) options += self._get_search_options(entity, rschema, target, targettypes) - if 'Basket' in self._cw.schema: # XXX + if 'Basket' in self._cw.vreg.schema: # XXX options += self._get_basket_options(entity, rschema, target, targettypes) relname, target = self._cw.form.get('relation').rsplit('_', 1) return u"""\