Error:raise ValueError('External ID not found in the system: %s' % (xmlid))
Traceback (most recent call last): File "D:\HRManagement\odoo-8.0\openerp\http.py", line 546, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "D:\HRManagement\odoo-8.0\openerp\http.py", line 583, in dispatch result = self._call_function(**self.params) File "D:\HRManagement\odoo-8.0\openerp\http.py", line 319, in _call_function return checked_call(self.db, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\service\model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\http.py", line 316, in checked_call return self.endpoint(*a, **kw) File "D:\HRManagement\odoo-8.0\openerp\http.py", line 812, in __call__ return self.method(*args, **kw) File "D:\HRManagement\odoo-8.0\openerp\http.py", line 412, in response_wrap response = f(*args, **kw) File "D:\HRManagement\odoo-8.0\addons\web\controllers\main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "D:\HRManagement\odoo-8.0\addons\web\controllers\main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\addons\base\module\module.py", line 447, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "D:\HRManagement\odoo-8.0\openerp\api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\addons\base\module\module.py", line 495, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "D:\HRManagement\odoo-8.0\openerp\modules\registry.py", line 370, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "D:\HRManagement\odoo-8.0\openerp\modules\loading.py", line 355, in load_modules loaded_modules, update_module) File "D:\HRManagement\odoo-8.0\openerp\modules\loading.py", line 255, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "D:\HRManagement\odoo-8.0\openerp\modules\loading.py", line 176, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "D:\HRManagement\odoo-8.0\openerp\modules\loading.py", line 118, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 897, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 983, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 849, in parse self._tags[rec.tag](self.cr, rec, n, mode=mode) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 753, in _tag_record f_val = _eval_xml(self,field, self.pool, cr, self.uid, self.idref) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 173, in _eval_xml for n in node]), idref) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 162, in _process idref[id] = self.id_get(cr, id) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 828, in id_get res = self.model_id_get(cr, id_str, raise_if_not_found) File "D:\HRManagement\odoo-8.0\openerp\tools\convert.py", line 839, in model_id_get raise_if_not_found=raise_if_not_found) File "D:\HRManagement\odoo-8.0\openerp\api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\addons\base\ir\ir_model.py", line 909, in xmlid_to_res_model_res_id return self.xmlid_lookup(cr, uid, xmlid)[1:3] File "D:\HRManagement\odoo-8.0\openerp\api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "<decorator-gen-3>", line 2, in xmlid_lookup File "D:\HRManagement\odoo-8.0\openerp\tools\cache.py", line 74, in lookup value = d[key] = self.method(*args, **kwargs) File "D:\HRManagement\odoo-8.0\openerp\addons\base\ir\ir_model.py", line 899, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % (xmlid)) ParseError: "External ID not found in the system: training_hr_v8.action_employee_tree_view" while parsing file:///d:/hrmanagement/odoo-8.0/addons/training_hr_v8/hr_view.xml:6, near <record id="view_empl_form_8" 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="interview" states="draft" string="Interview" class="oe_highlight"/> <button name="probation" states="interviewed" string="Recruit" class="oe_highlight"/> <button name="rejected" states="interviewed, draft" string="Reject" class="oe_highlight"/> <button name="pro-reject" states="recruited" string="Cancel" class="oe_highlight"/> <button name="hired" states="recruited" string="Hire" class="oe_highlight"/> <button name="out" states="hired" string="Set-Out" class="oe_highlight"/> <field name="state" widget="statusbar" statusbar_visible="draft,interviewed,recruited,rejected,hired,out"/> </header> <group> <div> <field name="image" widget="image"/> </div> <h1> <field name="name" required="1" placeholder="Enter Name"/> </h1> <br/> <h3> <field name="emp_ID" groups="training_hr_v8.group_emp_manager"/> </h3> </group> <group colspan="4" col="4"> <field name="age"/> <field name="active"/> <field name="bdate"/> <field name="jdate"/> <field name="basic"/> <field name="leaves"/><field name="testtotal" string="Wizard-Total"/> <field name="gender" widget="radio"/> <field name="department_id"/> <field name="responsible_id"/> <field name="email" widget="email"/> <field name="phone"/> <field name="ref"/> <field name="ref_link" widget="url"/> <field name="type"/> <button groups="training_hr_v8.group_emp_manager" name="set_emp_sequence" type="object" string="Generate Sequence" class="oe_highlight oe_inline"/> <button name="%(training_hr_v8.action_employee_tree_view)d" type="action" string="Leaves"/> <button type="action" name="%(training_hr_v8.action_view_form_workingdays)d" string="CalcSalary" icon="gtk-execute"/> </group> <notebook> <page string="Reference Detail"> <field name="ref_ids"> <tree editable="top"> <field name="name"/> <field name="contact"/> <field name="email"/> </tree> <form> <group> <field name="name"/> <field name="contact"/> <field name="email"/> </group> </form> </field> </page> <page string="Personal Info"> <separator string="Hobbies Detail" colspan="4"/> <field name="hobbies_ids" nolabel="1" 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"/> </sheet> </form> </field> </record>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
6811
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Sep 16
|
7148 | ||
|
1
May 15
|
4049 | ||
|
5
Oct 24
|
611 | ||
|
1
Aug 24
|
394 | ||
|
1
May 24
|
1332 |