c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23778
[Bug 780155] Re: error in web client in mrp->planning->workcenter
** Attachment added: "mrp_workcenter.ogv"
https://bugs.launchpad.net/openobject-client-web/+bug/780155/+attachment/2122126/+files/mrp_workcenter.ogv
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/780155
Title:
error in web client in mrp->planning->workcenter
Status in OpenERP Web Client:
Confirmed
Bug description:
Steps:
Goto:
Manufacturing->Planning->Work centers
Press list view
Press group by Workcenter
This error happens
If I press first other button in group by, then the workcenter button,
then the workcenter is written like this:
(1, u'Assembly workshop')
OpenERP
OpenERP S.A. (test602) Demo User
Skip to navigation [n]
Skip to content [c]
Skip to footer [f]
Acasă
1
Preferințe
Despre
Asistență
Ieşire
Întâlniri
Vânzări
Achiziții
Depozit
Producție
Contabilitate
Administrare
Fabricație
Planificare
Ordine de fabricaţie
Ordine de lucru
Work Centers
Date principale
Raportare
Configurație
tree
form
graph
calendar
gantt
diagram
Caută: Work Centers Help
Ordinul de lucru :
Centru de lucru :
Ordin de producţie :
Caută
State ? :
Dată planificată :
Selectaţi - Selectaţi
Group By...
Ordine de lucru
[loading...]
<<Prima < Înapoi 1 - 10 de 10 Înainte > Ultima >>
Ordin de producţie Dată planificată Produs Cant. UM Ordinul de lucru Centru de lucru Nr de cicluri Nr de ore State
edit record MO/00001 [PC1] PC de baza 1,00 Buc Short time assembly - Basic PC Assembly workshop 1,00 2,00 Ciornă [Şterge]
edit record MO/00003 [PC1] PC de baza 3,00 Buc Short time assembly - Basic PC Assembly workshop 3,00 6,00 Ciornă [Şterge]
edit record MO/00004 [CPU_GEN] Regular processor config 1,00 Buc assembly main + processor + fan - Regular processor config Assembly workshop 0,50 3,00 Ciornă [Şterge]
edit record MO/00005 [PC2] Basic+ PC (assembly on order) 3,00 Buc Short time assembly - Basic+ PC (assembly on order) Assembly workshop 3,00 6,00 Ciornă [Şterge]
edit record MO/00006 [PC1] PC de baza 2,00 Buc Short time assembly - Basic PC Assembly workshop 2,00 4,00 Ciornă [Şterge]
edit record MO/00007 [PC2] Basic+ PC (assembly on order) 4,00 Buc Short time assembly - Basic+ PC (assembly on order) Assembly workshop 4,00 8,00 Ciornă [Şterge]
edit record MO/00008 [CPU_GEN] Regular processor config 3,00 Buc assembly main + processor + fan - Regular processor config Assembly workshop 1,50 9,00 Ciornă [Şterge]
edit record MO/00009 [CPU_GEN] Regular processor config 3,00 Buc assembly main + processor + fan - Regular processor config Assembly workshop 1,50 9,00 Ciornă [Şterge]
edit record MO/00010 [CPU_GEN] Regular processor config 2,00 Buc assembly main + processor + fan - Regular processor config Assembly workshop 1,00 6,00 Ciornă [Şterge]
edit record MO/00011 [CPU_GEN] Regular processor config 4,00 Buc assembly main + processor + fan - Regular processor config Assembly workshop 2,00 12,00 Ciornă [Şterge]
<<Prima < Înapoi 1 - 10 de 10 Înainte > Ultima >>
Toggle
socket://demo@localhost:8070 ro_RO
Powered by openerp.com
<type 'exceptions.IndexError'> Python 2.6.5: /usr/bin/python
Mon May 9 23:23:23 2011
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/openerp-web-6.0.1/lib/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object>, path_info='/openerp/listgrid/get')
604 if self.handler:
605 self.stage = 'handler'
606 cherrypy.response.body = self.handler()
607
608 self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/lib/openerp-web-6.0.1/lib/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
/usr/lib/openerp-web-6.0.1/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
23 def __call__(self):
24 try:
25 return self.callable(*self.args, **self.kwargs)
26 except TypeError, x:
27 test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <bound method Root.default of <openobject.controllers._root.Root object>>, self.args = ('openerp', 'listgrid', 'get'), self.kwargs = {'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...}
/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object>, 'openerp', 'listgrid', 'get'), **kw={'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...})
180 raise cherrypy.HTTPError(405)
181
182 res = func(*args, **kw)
183 if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
184 cherrypy.response.headers['Content-Type'] = 'text/javascript'
global res = '/usr/lib/openerp-web-6.0.1/openobject/controllers/templates/base.mako', func = <function default>, args = (<openobject.controllers._root.Root object>, 'openerp', 'listgrid', 'get'), kw = {'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...}
/usr/lib/openerp-web-6.0.1/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object>, *args=('openerp', 'listgrid', 'get'), **kw={'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...})
85 request.handler = cherrypy.NotFound()
86
87 return request.handler()
88
89 def find_handler(self):
request = <cherrypy._ThreadLocalProxy object>, request.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
/usr/lib/openerp-web-6.0.1/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
23 def __call__(self):
24 try:
25 return self.callable(*self.args, **self.kwargs)
26 except TypeError, x:
27 test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <function get>, self.args = (), self.kwargs = {'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...}
/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/utils.py in wrapper(*args=(), **kw={'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...})
110 # User is logged in; allow access
111 clear_login_fields(kw)
112 return fn(*args, **kw)
113 else:
114 action = kw.get('login_action', '')
fn = <bound method List.get of <openerp.controllers.listgrid.List object>>, args = (), kw = {'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...}
/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py in func_wrapper(*args=(<openerp.controllers.listgrid.List object>,), **kw={'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...})
180 raise cherrypy.HTTPError(405)
181
182 res = func(*args, **kw)
183 if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
184 cherrypy.response.headers['Content-Type'] = 'text/javascript'
global res = '/usr/lib/openerp-web-6.0.1/openobject/controllers/templates/base.mako', func = <function get>, args = (<openerp.controllers.listgrid.List object>,), kw = {'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...}
/usr/lib/openerp-web-6.0.1/addons/openerp/controllers/listgrid.py in get(self=<openerp.controllers.listgrid.List object>, **kw={'_terp_action_id': '417', '_terp_concurrency_info': "('mrp.production.workcenter.line,10', '2011-05-08 12:14:52.587102')", '_terp_context': "{'lang': u'ro_RO', 'tz': False, 'active_model': ... 2, 3, 4, 5, 6, 7, 8, 9, 10], 'active_id': False}", '_terp_count': '10', '_terp_domain': "[('production_state', 'in', ('ready', 'confirmed', 'in_production'))]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': "['group_workcenter_id']", '_terp_id': 'False', ...})
294 view=ustr(frm.render())
295 else:
296 view=ustr(wid.render())
297
298 server_logs = ''
view undefined, builtin ustr = <function ustr>, wid = ListGroup, wid.render = <bound method ListGroup.render of ListGroup>
/usr/lib/openerp-web-6.0.1/openobject/widgets/_base.py in render(self=ListGroup, value=None, **params={})
213
214 def render(self, value=None, **params):
215 return self.display(value, **params)
216
217 def retrieve_css(self):
self = ListGroup, self.display = <bound method ListGroup.display of ListGroup>, value = None, params = {}
/usr/lib/openerp-web-6.0.1/addons/openerp/widgets/listgrid.py in display(self=ListGroup, value=None, **params={})
268 # set editor values
269 if not (self.editors and self.edit_inline):
270 return super(List, self).display(value, **params)
271
272 ctx = dict(rpc.session.context,
builtin super = <type 'super'>, global List = <class 'openerp.widgets.listgrid.List'>, self = ListGroup, ).display = <bound method ListGroup.display of ListGroup>, value = None, params = {}
/usr/lib/openerp-web-6.0.1/openobject/widgets/_base.py in display(self=ListGroup, value=None, **params={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
210 return tools.render_template(
211 tools.load_template(
212 self.template), params)
213
214 def render(self, value=None, **params):
self = ListGroup, self.template = '/openerp/widgets/templates/listgrid/listgroup.mako', params = {'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}
/usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py in render_template(template=<mako.template.Template object>, kw={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
139 kw['ctx'] = kw.pop('context')
140
141 return utils.NoEscape(template.render_unicode(**kw))
142
143
global utils = <module 'openobject.tools._utils' from '/usr/lib/openerp-web-6.0.1/openobject/tools/_utils.py'>, utils.NoEscape = <class 'openobject.tools._utils.NoEscape'>, template = <mako.template.Template object>, template.render_unicode = <bound method Template.render_unicode of <mako.template.Template object>>, kw = {'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}
/usr/lib/openerp-web-6.0.1/lib/mako/template.py in render_unicode(self=<mako.template.Template object>, *args=(), **data={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
303 args,
304 data,
305 as_unicode=True)
306
307 def render_context(self, context, *args, **kwargs):
as_unicode undefined, builtin True = True
/usr/lib/openerp-web-6.0.1/lib/mako/runtime.py in _render(template=<mako.template.Template object>, callable_=<function render_body>, args=(), data={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}, as_unicode=True)
658
659 _render_context(template, callable_, context, *args,
660 **_kwargs_for_callable(callable_, data))
661 return context._pop_buffer().getvalue()
662
global _kwargs_for_callable = <function _kwargs_for_callable>, callable_ = <function render_body>, data = {'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}
/usr/lib/openerp-web-6.0.1/lib/mako/runtime.py in _render_context(tmpl=<mako.template.Template object>, callable_=<function render_body>, context=<mako.runtime.Context object>, *args=(), **kwargs={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
690 # if main render method, call from the base of the inheritance stack
691 (inherit, lclcontext) = _populate_self_namespace(context, tmpl)
692 _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
693 else:
694 # otherwise, call the actual rendering method specified
global _exec_template = <function _exec_template>, inherit = <function render_body>, lclcontext = <mako.runtime.Context object>, args = (), kwargs = {'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}
/usr/lib/openerp-web-6.0.1/lib/mako/runtime.py in _exec_template(callable_=<function render_body>, context=<mako.runtime.Context object>, args=(), kwargs={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
716 _render_error(template, context, e)
717 else:
718 callable_(context, *args, **kwargs)
719
720 def _render_error(template, context, error):
callable_ = <function render_body>, context = <mako.runtime.Context object>, args = (), kwargs = {'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...}
/_openerp_widgets_templates_listgrid_listgroup_mako in render_body(context=<mako.runtime.Context object>, **pageargs={'buttons': [Button, Button, Button, Button, Button, Button], 'checkbox_name': True, 'colspan': 1, 'columns': 20, 'concurrency_info': ConcurrencyInfo, 'cp': {'locale': <function get_locale at 0x9f48844>, '...08ecc>, 'config': <function config at 0x9fa4ae4>}, 'css_class': 'listgroup', 'css_classes': [], 'dashboard': 0, 'data': [{'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 1, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 2, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 3, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 4, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 5, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 6, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 7, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 8, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 9, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}, {'cycle': Float, 'date_planned': DateTime, 'hour': Float, 'id': 10, 'name': Char, 'product': M2O, 'production_id': M2O, 'qty': Float, 'state': Selection, 'uom': M2O, ...}], ...})
<type 'exceptions.IndexError'>: list index out of range
args = ('list index out of range',)
message = 'list index out of range'
Loading.
References