Skip to Content
Menu
This question has been flagged
3913 Views

Traceback (most recent call last):

  File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 543, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 580, in dispatch result = self._call_function(**self.params) File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 313, in checked_call return self.endpoint(*a, **kw) File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 809, in __call__ return self.method(*args, **kw) File "/home/sbacchewar/workspace/dex/dex/core/openerp/http.py", line 409, in response_wrap response = f(*args, **kw) File "/home/sbacchewar/workspace/dex/dex/core/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/sbacchewar/workspace/dex/dex/core/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/models.py", line 3144, in read result = BaseModel.read(records, fields, load=load) File "/home/sbacchewar/workspace/dex/dex/core/openerp/api.py", line 266, in wrapper return new_api(self, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/models.py", line 3179, in read self._read_from_database(stored, inherited) File "/home/sbacchewar/workspace/dex/dex/core/openerp/api.py", line 266, in wrapper return new_api(self, *args, **kwargs) File "/home/sbacchewar/workspace/dex/dex/core/openerp/models.py", line 3366, in _read_from_database res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result) File "/home/sbacchewar/workspace/dex/dex/core/openerp/osv/fields.py", line 1460, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/sbacchewar/workspace/dex/dex/core/openerp/addons/base/module/module.py", line 175, in _get_desc html = lxml.html.document_fromstring(doc) File "/usr/lib/python2.7/dist-packages/lxml/html/__init__.py", line 600, in document_fromstring value = etree.fromstring(html, parser, **kw) File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68106) File "parser.pxi", line 1785, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102455) File "parser.pxi", line 1673, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101284) File "parser.pxi", line 1074, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:96466) File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275) File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461) File "parser.pxi", line 633, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91924)XMLSyntaxError: None



Uncaught Error: < undefined as prefix

http://localhost:9067/web/static/lib/py.js/lib/py.js:19


<?xml version="1.0" encoding="utf-8"?>

<openerp> <data> <!--Form View-->

<record id="view_empl_form8" model="ir.ui.view">

<field name="name">view.empl.form.8</field>

<field name="model">employee.employee.8</field>

<field name="arch" type="xml">

<form string="Employee" version="8.0">

<sheet> <header>

<button name="set_emp_sequence" type="object" string="Generate sequence" class="oe_highlight oe_inline"/> </header> <group> <div> <field name="image" widget="image" class="oe_avatar"/> </div> <h1> <field name="name" help="You can specify help her" required="1" placeholder="Enter Name"/> </h1> <!--<h3> <field name="emp_ID"/> </h3>--> </group> <group colspan="4" col="4"> <field name="id"/> <field name="create_date"/> <field name="age"/> <field name="active"/> <field name="bdate"/> <field name="jdate"/> <field name="basic" widget="float_time"/> <field name="gender" widget="radio"/> <field name="department_id" widget="selection"/> <field name="responsible_id"/> <field name="email" widget="email"/> <field name="phone"/> <field name="ref_link" widget="email"/> <field name="emp_type"/> <field name="ref"/> </group> <notebook> <page string="Reference Detail"> <field name="ref_ids"> <tree editable="top"> <field name="name"/> <field name="email"/> <field name="contact"/> </tree> <form> <group> <field name="name"/> <field name="email"/> <field name="contact"/> </group> </form> </field> </page> <page string="Personal Info"> <separator string="Hobbies Detail" colspan="4"/> <field name="hobbies_ids" widget="many2many_tags"/> </page> </notebook> <separator string="Template" colspan="4"/> <field name="template" nolabel="1"/> <separator string="Notes" colspan="4"/> <field name="notes" nolabel="1"/> <separator string="Data" colspan="4"/> <field name="data" nolabel="1"/> </sheet> </form> </field> </record> <!--Tree View--> <record id="view_empl_tree8" model="ir.ui.view"> <field name="name">view.empl.tree.8</field> <field name="model">employee.employee.8</field> <field name="arch" type="xml"> <tree string="Employee tree view"> <field name="id"/> <field name="create_date"/> <field name="age"/> <field name="active"/> <field name="bdate"/> <field name="jdate"/> <field name="basic" sum="Tot"/> <field name="gender"/> <field name="department_id"/> <field name="ref_link"/> <field name="emp_type"/> <field name="ref"/> </tree> </field> </record> <!--Graph view--> <record id="view_empl_graph8" model="ir.ui.view"> <field name="name">view.empl.graph.8</field> <field name="model">employee.employee.8</field> <field name="arch" type="xml"> <graph string="Employee Graph view" type="pie"> <field name="name" type="row"/> <field name="department_id" type="column"/> <field name="basic" type="measure"/> </graph> </field> </record> <!--Search view--> <record id="view_empl_search_8" model="ir.ui.view"> <field name="name">view.empl.search</field> <field name="model">employee.employee.8</field> <field name="arch" type="xml"> <search string="Employee"> <field name="name"/> <field name="department_id"/> <group string="Filter By"> <filter name="by_gender_male" string="Male" domain="[('gender','=','male')]"/> <filter name="by_gender_female" string="Female" domain="[('gender','=','female')]"/> </group> <group string="Group By"> <filter name="by_gender_m_f" string="Gender" domain="[]" context="{'group_by':'gender'}"/> <filter name="by_employee_type" string="Employee Type" context="{'group_by':'type'}"/> </group> </search> </field> </record> <!-- calendar view--> <record id="view_employee_calendar1" model="ir.ui.view"> <field name="name">view.employee.calendar</field> <field name="model">employee.employee.8</field> <field name="arch" type="xml"> <calendar string="Employee" display="[name]" date_start="jdate" date_stop="ldate" color="name" date_delay="basic"> <field name="name"/> <field name="age"/> </calendar> </field> </record> <!--Gantt View--> <record id="view_employee_gantt" model="ir.ui.view"> <field name="name">view.employee.gantt</field> <field name="model">employee.employee.8</field> <field name="arch" type="xml"> <gantt string="Employee" date_start="jdate" date_stop="ldate" progress="basic"> <field name="name"/> </gantt> </field> </record> <record id="action_employee_employee_8" model="ir.actions.act_window"> <field name="name">Employee </field> <field name="res_model">employee.employee.8</field> <field name="view_type">form</field> <field name="view_mode">tree,form,calendar,graph,gantt,kanban</field> </record> <menuitem id="action_menu_1" name="DataFiles"/> <menuitem id="action_menu_2" name="Employee1" parent="action_menu_1"/> <menuitem action="action_employee_employee_8" id="action_menu_3" name="Employee Details" parent="action_menu_2" /> </data></openerp>

Avatar
Discard