works in client gtk
french language
sales->configuration->sales->leads and oppportunities->steps
d:\OpenERP AllInOne\Web\python25\lib\site-packages\openobject_web-5.2dev-py2.5.egg\addons\openerp\widgets\form_view.py in __init__(self=ViewForm, params={'_terp_view_type': u'tree', '_terp_offset': 0, ...active_id': 270}, '_terp_view_ids': [488, False]}, **kw={'action': '/openerp/form/save', 'name': 'view_form'})
89 if params.view_type in ('tree', 'graph'):
90 self.search = Search(model=params.model, domain=search_param, context=params.context, values=params.search_data or {},
91 filter_domain=params.filter_domain or [], search_view=params.search_view, group_by_ctx=params.group_by_ctx or [])
92
93 cherrypy.request.custom_search_domain = self.search.listof_domain or []
filter_domain undefined, params = {'_terp_view_type': u'tree', '_terp_offset': 0, ...active_id': 270}, '_terp_view_ids': [488, False]}, params.filter_domain = None, search_view undefined, params.search_view = {'arch': u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u"Nom de l'\xe9tape", 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'on_change': {'help': 'Change Probability on next and previous stages.', 'selectable': True, 'string': 'Change Probability Automatically', 'type': 'boolean'}, 'probability': {'required': True, 'selectable': True, 'string': 'Probability (%)', 'type': 'float'}, 'requirements': {'selectable': True, 'string': 'Requirements', 'type': 'text'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}, 'sequence': {'help': 'Gives the sequence order when displaying a list of case stages.', 'selectable': True, 'string': u'S\xe9quence', 'type': 'integer'}}, 'model': 'crm.case.stage', 'name': u'crm.case.stage.form', 'type': u'form', 'view_id': 489}, group_by_ctx undefined, params.group_by_ctx = None
d:\OpenERP AllInOne\Web\python25\lib\site-packages\openobject_web-5.2dev-py2.5.egg\openobject\widgets\_meta.py in wrapper(self=Search, *args=(), **kw={'context': {'_terp_view_name': u'Stages', 'active_id': 270, 'active_ids': [270], 'active_model': 'ir.ui.menu', 'client': 'web', 'department_id': False, 'lang': u'fr_FR', 'object_id': 'crm.lead', 'project_id': False, 'section_id': False, ...}, 'domain': [], 'filter_domain': [], 'group_by_ctx': [], 'model': u'crm.case.stage', 'search_view': {'arch': u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u"Nom de l'\xe9tape", 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'on_change': {'help': 'Change Probability on next and previous stages.', 'selectable': True, 'string': 'Change Probability Automatically', 'type': 'boolean'}, 'probability': {'required': True, 'selectable': True, 'string': 'Probability (%)', 'type': 'float'}, 'requirements': {'selectable': True, 'string': 'Requirements', 'type': 'text'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}, 'sequence': {'help': 'Gives the sequence order when displaying a list of case stages.', 'selectable': True, 'string': u'S\xe9quence', 'type': 'integer'}}, 'model': 'crm.case.stage', 'name': u'crm.case.stage.form', 'type': u'form', 'view_id': 489}, 'values': {}})
38 self.__initstack.append(1)
39
40 res = func(self, *args, **kw)
41 try:
42 self.__initstack.pop()
res undefined, func = <function __init__ at 0x01C25430>, self = Search, args = (), kw = {'context': {'_terp_view_name': u'Stages', 'active_id': 270, 'active_ids': [270], 'active_model': 'ir.ui.menu', 'client': 'web', 'department_id': False, 'lang': u'fr_FR', 'object_id': 'crm.lead', 'project_id': False, 'section_id': False, ...}, 'domain': [], 'filter_domain': [], 'group_by_ctx': [], 'model': u'crm.case.stage', 'search_view': {'arch': u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u"Nom de l'\xe9tape", 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'on_change': {'help': 'Change Probability on next and previous stages.', 'selectable': True, 'string': 'Change Probability Automatically', 'type': 'boolean'}, 'probability': {'required': True, 'selectable': True, 'string': 'Probability (%)', 'type': 'float'}, 'requirements': {'selectable': True, 'string': 'Requirements', 'type': 'text'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}, 'sequence': {'help': 'Gives the sequence order when displaying a list of case stages.', 'selectable': True, 'string': u'S\xe9quence', 'type': 'integer'}}, 'model': 'crm.case.stage', 'name': u'crm.case.stage.form', 'type': u'form', 'view_id': 489}, 'values': {}}
d:\OpenERP AllInOne\Web\python25\lib\site-packages\openobject_web-5.2dev-py2.5.egg\addons\openerp\widgets\search.py in __init__(self=Search, model=u'crm.case.stage', domain=[], context={'_terp_view_name': u'Stages', 'active_id': 270, 'active_ids': [270], 'active_model': 'ir.ui.menu', 'client': 'web', 'department_id': False, 'lang': u'fr_FR', 'object_id': 'crm.lead', 'project_id': False, 'section_id': False, ...}, values={}, filter_domain=[], search_view={'arch': u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u"Nom de l'\xe9tape", 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'on_change': {'help': 'Change Probability on next and previous stages.', 'selectable': True, 'string': 'Change Probability Automatically', 'type': 'boolean'}, 'probability': {'required': True, 'selectable': True, 'string': 'Probability (%)', 'type': 'float'}, 'requirements': {'selectable': True, 'string': 'Requirements', 'type': 'text'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}, 'sequence': {'help': 'Gives the sequence order when displaying a list of case stages.', 'selectable': True, 'string': u'S\xe9quence', 'type': 'integer'}}, 'model': 'crm.case.stage', 'name': u'crm.case.stage.form', 'type': u'form', 'view_id': 489}, group_by_ctx=[])
272 self.fields_list.sort(lambda x, y: cmp(x[1], y[1]))
273
274 dom = xml.dom.minidom.parseString(self.search_view['arch'])
275 self.view_type = dom.firstChild.localName
276 self.string = dom.documentElement.getAttribute('string')
dom undefined, global xml = <module 'xml' from 'd:\OpenERP AllInOne\Web\python25\lib\xml\__init__.py'>, xml.dom = <module 'xml.dom' from 'd:\OpenERP AllInOne\Web\python25\lib\xml\dom\__init__.py'>, xml.dom.minidom = <module 'xml.dom.minidom' from 'd:\OpenERP AllInOne\Web\python25\lib\xml\dom\minidom.py'>, xml.dom.minidom.parseString = <function parseString at 0x01A40670>, self = Search, self.search_view = {'arch': u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u"Nom de l'\xe9tape", 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'on_change': {'help': 'Change Probability on next and previous stages.', 'selectable': True, 'string': 'Change Probability Automatically', 'type': 'boolean'}, 'probability': {'required': True, 'selectable': True, 'string': 'Probability (%)', 'type': 'float'}, 'requirements': {'selectable': True, 'string': 'Requirements', 'type': 'text'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}, 'sequence': {'help': 'Gives the sequence order when displaying a list of case stages.', 'selectable': True, 'string': u'S\xe9quence', 'type': 'integer'}}, 'model': 'crm.case.stage', 'name': u'crm.case.stage.form', 'type': u'form', 'view_id': 489}
d:\OpenERP AllInOne\Web\python25\lib\xml\dom\minidom.py in parseString(string=u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', parser=None)
1923 if parser is None:
1924 from xml.dom import expatbuilder
1925 return expatbuilder.parseString(string)
1926 else:
1927 from xml.dom import pulldom
expatbuilder = <module 'xml.dom.expatbuilder' from 'd:\OpenERP AllInOne\Web\python25\lib\xml\dom\expatbuilder.py'>, expatbuilder.parseString = <function parseString at 0x03D72430>, string = u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>'
d:\OpenERP AllInOne\Web\python25\lib\xml\dom\expatbuilder.py in parseString(string=u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', namespaces=True)
938 else:
939 builder = ExpatBuilder()
940 return builder.parseString(string)
941
942
builder = <xml.dom.expatbuilder.ExpatBuilderNS instance at 0x03D01738>, builder.parseString = <bound method ExpatBuilderNS.parseString of <xml...atbuilder.ExpatBuilderNS instance at 0x03D01738>>, string = u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>'
d:\OpenERP AllInOne\Web\python25\lib\xml\dom\expatbuilder.py in parseString(self=<xml.dom.expatbuilder.ExpatBuilderNS instance at 0x03D01738>, string=u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>')
221 parser = self.getParser()
222 try:
223 parser.Parse(string, True)
224 self._setup_subset(string)
225 except ParseEscape:
parser = <pyexpat.xmlparser object at 0x0420D6F0>, parser.Parse = <built-in method Parse of pyexpat.xmlparser object at 0x0420D6F0>, string = u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', builtin True = True
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xc9' in position 37: ordinal not in range(128)
args = ('ascii', u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>', 37, 38, 'ordinal not in range(128)')
encoding = 'ascii'
end = 38
message = ''
object = u'<?xml version="1.0" ?>\n<form string="\xc9tape">\n ...ection_id" select="1" widget="selection"/></form>'
reason = 'ordinal not in range(128)'
start = 37
same path->categories too the same error unicode
d:\OpenERP AllInOne\ Web\python25\ lib\site- packages\ openobject_ web-5.2dev- py2.5.egg\ addons\ openerp\ widgets\ form_view. py in __init_ _(self= ViewForm, params= {'_terp_ view_type' : u'tree', '_terp_offset': 0, ...ment_id': False}, '_terp_view_ids': [491, False]}, **kw={'action': '/openerp/ form/save' , 'name': 'view_form'}) model=params. model, domain= search_ param, context= params. context, values= params. search_ data or {}, domain= params. filter_ domain or [], search_ view=params. search_ view, group_by_ ctx=params. group_by_ ctx or []) request. custom_ search_ domain = self.search. listof_ domain or [] filter_ domain = None, search_view undefined, params.search_view = {'arch': u'<?xml version="1.0" ?>\n<form string= "Cat\xe9gorie d...ection_id" select="1" widget= "selection" /></form> ', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u'Nom de la cat\xe9gorie du cas', 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}}, 'model': 'crm.case.categ', 'name': u'crm.case. categ.form' , 'type': u'form', 'view_id': 490}, group_by_ctx undefined, params.group_by_ctx = None Web\python25\ lib\site- packages\ openobject_ web-5.2dev- py2.5.egg\ openobject\ widgets\ _meta.py in wrapper( self=Search, *args=(), **kw={'context': {'_terp_view_name': u'Cat\xe9gories', 'active_id': 268, 'active_ids': [268], 'active_model': 'ir.ui.menu', 'client': 'web', 'department_id': False, 'lang': u'fr_FR', 'project_id': False, 'section_id': False, 'tz': False}, 'domain': [], 'filter_domain': [], 'group_by_ctx': [], 'model': u'crm.case.categ', 'search_view': {'arch': u'<?xml version="1.0" ?>\n<form string= "Cat\xe9gorie d...ection_id" select="1" widget= "selection" /></form> ', 'field_parent': False, 'fields': {'name': {'required': True, 'selectable': True, 'size': 64, 'string': u'Nom de la cat\xe9gorie du cas', 'translate': True, 'type': 'char'}, 'object_id': {'context': {}, 'domain': [], 'relation': 'ir.model', 'selectable': True, 'string': 'Object Name', 'type': 'many2one'}, 'section_id': {'context': {}, 'domain': [], 'relation': 'crm.case.section', 'selectable': True, 'string': 'Sales Team', 'type': 'many2one'}}, 'model': 'crm.case.categ', 'name': u'crm.case. categ.form' , 'type': u'form', 'view_id': 490}, 'values': {}}) initstack. append( 1) initstack. pop()
89 if params.view_type in ('tree', 'graph'):
90 self.search = Search(
91 filter_
92
93 cherrypy.
filter_domain undefined, params = {'_terp_view_type': u'tree', '_terp_offset': 0, ...ment_id': False}, '_terp_view_ids': [491, False]}, params.
d:\OpenERP AllInOne\
38 self.__
39
40 res = func(self, *args, **kw)
41 try:
42 self.__
res undefined, func = <function __init__ at 0x01C25430>, self = Search, args = (), kw = {'context': {'_terp_view_name': u'Cat\xe9gories', 'active_i...