~viktor-nagy/openobject-client-web/treegrid-buttons

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/form_view.py

  • Committer: Viktor Nagy
  • Date: 2011-07-12 05:03:07 UTC
  • mfrom: (4529.1.136 6.0)
  • Revision ID: viktor.nagy@toolpart.hu-20110712050307-evyo7xzx8o7x10kk
mergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        search_param = params.search_domain or []
61
61
        params_domain = params.domain or []
62
62
        for element in params_domain:
63
 
            if element not in search_param:
 
63
            if element not in search_param or len(element) == 1:
64
64
                if not isinstance(element,tuple):
65
65
                    search_param.append(element)
66
66
                else: