This question has been flagged
2256 Views

i have successfully install and run odoo v 10 but when i'm try to install project module  , i get this error:

Traceback (most recent call last): File "/home/ces/odoo-10.0/odoo/http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/ces/odoo-10.0/odoo/http.py", line 684, in dispatch result = self._call_function(**self.params) File "/home/ces/odoo-10.0/odoo/http.py", line 334, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/ces/odoo-10.0/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/home/ces/odoo-10.0/odoo/http.py", line 327, in checked_call result = self.endpoint(*a, **kw) File "/home/ces/odoo-10.0/odoo/http.py", line 942, in __call__ return self.method(*args, **kw) File "/home/ces/odoo-10.0/odoo/http.py", line 507, in response_wrap response = f(*args, **kw) File "/home/ces/odoo-10.0/addons/web/controllers/main.py", line 899, in call_button action = self._call_kw(model, method, args, {}) File "/home/ces/odoo-10.0/addons/web/controllers/main.py", line 887, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/ces/odoo-10.0/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/home/ces/odoo-10.0/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/home/ces/odoo-10.0/odoo/addons/base/module/module.py", line 412, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/home/ces/odoo-10.0/odoo/addons/base/module/module.py", line 486, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/home/ces/odoo-10.0/odoo/modules/registry.py", line 83, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/ces/odoo-10.0/odoo/modules/loading.py", line 377, in load_modules loaded_modules, update_module, models_to_check) File "/home/ces/odoo-10.0/odoo/modules/loading.py", line 270, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/home/ces/odoo-10.0/odoo/modules/loading.py", line 182, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/home/ces/odoo-10.0/odoo/modules/loading.py", line 96, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 845, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 915, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 799, in parse self._tags[rec.tag](rec, de, mode=mode) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 697, in _tag_record f_val = _eval_xml(self, field, self.env) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 138, in _eval_xml +_process("".join([etree.tostring(n, encoding='utf-8') for n in node])) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 130, in _process self.idref[id] = self.id_get(id) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 782, in id_get res = self.model_id_get(id_str, raise_if_not_found) File "/home/ces/odoo-10.0/odoo/tools/convert.py", line 788, in model_id_get return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found) File "/home/ces/odoo-10.0/odoo/addons/base/ir/ir_model.py", line 1085, in xmlid_to_res_model_res_id return self.xmlid_lookup(xmlid)[1:3] File "<decorator-gen-5>", line 2, in xmlid_lookup File "/home/ces/odoo-10.0/odoo/tools/cache.py", line 87, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/ces/odoo-10.0/odoo/addons/base/ir/ir_model.py", line 1074, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ParseError: "External ID not found in the system: product.uom_categ_wtime" while parsing /home/ces/odoo-10.0/addons/project/views/res_config_views.xml:3, near <record id="view_config_settings" model="ir.ui.view"> <field name="name">project settings</field> <field name="model">project.config.settings</field> <field name="priority" eval="20"/> <field name="arch" type="xml"> <form class="oe_form_configuration"> <header> <button string="Apply" type="object" name="execute" class="oe_highlight"/> <button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/> </header> <group string="Project Management" name="project_management"> <field name="company_id" invisible="1"/> <label for="project_time_mode_id" groups="base.group_no_one"/> <div groups="base.group_no_one"> <field name="project_time_mode_id" domain="[('category_id','=', %(product.uom_categ_wtime)d)]" class="oe_inline"/> </div> <field name="module_pad" widget="radio"/> <label for="id" string="Forecasts"/> <div> <div> <field name="module_project_forecast" widget="upgrade_boolean"/> <label for="module_project_forecast"/> <a href="https://www.youtube.com/watch?v=PWKez0gn6Ts" target="_blank"> More Info </a> </div> </div> <field name="module_rating_project" widget="radio"/> </group> <group name="timesheets"/> <div> <span>(*) This configuration is related to the company you're logged into.</span> </div> </form> </field> </record>

Avatar
Discard