Hello Selami, As I said on my comment #4 this issue are already fixed on 6.1 as well as trunk
Please see following detalis http://bazaar.launchpad.net/~openerp/openobject-server/6.1/revision/4066.1.1 (Fixed on 6.1) merged with 4155 rev no. Revision ID: [email protected] Hope this will help for you! Thanks! ** Project changed: openerp-web => openobject-server -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/976685 Title: Wrong XML generation break the code on res_user.py when duplicating/creating new group Status in OpenERP Server: Fix Released Bug description: Hi, When I try to duplicate Accounting & Finance / Invoicing and Payments group I see following error. But when I duplicate other groups no error I see. Openerp version 6.1 and OS is Ubuntu 11.10 32 bits. thanks OpenERP Server Error Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch response["result"] = method(controller, self, **self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 996, in call return self.call_common(req, model, method, args, domain_id, context_id) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 948, in call_common return self._call_kw(req, model, method, args, {}) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 962, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy args, kw) File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy result = self.connector.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 611, in send raise fault Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 592, in send result = openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 572, in dispatch res = fn(db, uid, *params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_users.py", line 83, in copy return super(groups, self).copy(cr, uid, id, default, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4732, in copy new_id = self.create(cr, uid, data, context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_users.py", line 727, in create res = super(groups_view, self).create(cr, uid, values, context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_users.py", line 637, in create self.write(cr, uid, [gid], {'users': users}, context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_users.py", line 733, in write self.update_user_groups_view(cr, uid, context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_users.py", line 768, in update_user_groups_view view.write({'arch': xml % ('\n'.join(xml1), '\n'.join(xml2))}) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 368, in function_proxy return attr(self._cr, self._uid, [self._id], *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 117, in write result = super(view, self).write(cr, uid, ids, vals, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3943, in write self._validate(cr, user, ids, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1448, in _validate if not fun(self, cr, uid, ids): File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 78, in _check_xml eview = etree.fromstring(view.arch.encode('utf8')) File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665) File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932) File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774) File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389) File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739) File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614) File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955) XMLSyntaxError: xmlParseEntityRef: no name, line 18, column 31 To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/976685/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

