~odossmann/unifield-web/UF_2123

« back to all changes in this revision

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

  • Committer: jf
  • Date: 2013-09-10 08:03:59 UTC
  • mfrom: (4712.1.8 web-jfb-utp-732-727)
  • Revision ID: jfb@tempo-consulting.fr-20130910080359-qkk1bz9nnxwnsm90
UTP-732 [IMP] Entering cash register closing balance (cash count) is extremely slow
UTP-727 [IMP]Error message appears when trying to display 500 entries on the same page (change limit)
lp:~unifield-team/unifield-web/jfb-utp-732-727

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        
59
59
        self.m2m = kw.get('_m2m', 0)
60
60
        self.o2m = kw.get('_o2m', 0)
 
61
        self.get_source = kw.get('get_source', False)
 
62
 
61
63
        self.is_dashboard = False
62
64
        if self.model == 'board.board' and self.view_type == 'form':
63
65
            self.is_dashboard = True
86
88
                self.count = len(self.ids)
87
89
            else:
88
90
                self.count = rpc.RPCProxy(self.model).search_count(self.domain, self.context)
89
 
                
90
91
        self.prefix             = prefix
91
92
        self.views_preloaded    = views_preloaded or (params.views or {})
92
93