>
> Why are you overriding search? 
>
> > I get the error: 
> > 
> >  File "............../trytond-3.2.2/trytond/model/fields/one2many.py", 
> line 
> > 98, in get 
> >     targets = list(chain(*targets)) 
> > TypeError: 'NoneType' object is not iterable 
>
> It is the wrong signature for search: 
>
> http://doc.tryton.org/3.2/trytond/doc/ref/models/models.html?highlight=search#trytond.model.ModelStorage.search
>  
>
>



Im so sorry. again in one of my edits I must deleted one of TeamDoctor 
inheritances and was asking the search method.Which wasn't necessary to 
override at all. I finally solved it adding the Many2Many on the opposite 
side of the relation. (which in turn I had to change later because I needed 
extra fields on the linking table which ended like a regular model with its 
views and all)

Again sorry for the confusion. I'll be more careful next time when pasting 
a different version of my actual code.

Thanks for the prompt help, it's greatly appreciated.

Mariano


Reply via email to