~openerp-dev/openobject-client-web/6.0-opw-574673-msh

« back to all changes in this revision

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

  • Committer: Xavier ALT
  • Date: 2012-03-20 10:18:23 UTC
  • mfrom: (4741.3.1 client-web)
  • Revision ID: xal@openerp.com-20120320101823-g005274wzskefpw6
[MERGE] OPW 50931: fix paging issue when editing last record in list

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 or len(element) == 1:
 
63
            if element not in search_param:
64
64
                if not isinstance(element,tuple):
65
65
                    search_param.append(element)
66
66
                else: