Hi
I am no expert on odoo, just had an install on Vps V10 and tried to install warehouse_stock_restrictions
but I am getting server error, does anybody know how to resolve it, I am running version 10 on ubuntu 16
the error is as follows
(Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 638, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 675, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 866, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-server/addons/web/controllers/main.py", line 854, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 681, in call_kw return call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 672, in call_kw_multi result = method(recs, *args, **kwargs) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 410, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 484, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 78, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 339, in load_modules loaded_modules, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 237, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/odoo/odoo-server/odoo/modules/loading.py", line 156, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/odoo/odoo-server/odoo/modules/loading.py", line 95, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/odoo/odoo-server/odoo/tools/convert.py", line 848, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/odoo/odoo-server/odoo/tools/convert.py", line 918, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/odoo/odoo-server/odoo/tools/convert.py", line 799, in parse self.parse(rec, mode) File "/odoo/odoo-server/odoo/tools/convert.py", line 802, in parse self._tags[rec.tag](rec, de, mode=mode) File "/odoo/odoo-server/odoo/tools/convert.py", line 710, in _tag_record id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode) File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1192, in _update record = record.create(values) File "/odoo/odoo-server/odoo/addons/base/ir/ir_actions.py", line 340, in create return super(IrActionsActWindow, self).create(vals) File "/odoo/odoo-server/odoo/addons/base/ir/ir_actions.py", line 40, in create res = super(IrActions, self).create(vals) File "/odoo/odoo-server/odoo/models.py", line 3810, in create record = self.browse(self._create(old_vals)) File "/odoo/odoo-server/odoo/models.py", line 3968, in _create self._validate_fields(vals) File "/odoo/odoo-server/odoo/models.py", line 1069, in _validate_fields check(self) File "/odoo/odoo-server/odoo/addons/base/ir/ir_actions.py", line 248, in _check_model raise ValidationError(_('Invalid model name %r in action definition.') % action.res_model)ParseError: "Invalid model name u'vit.stock_card' in action definition.
None" while parsing /odoo/odoo-server/addons/vit_stock_card/menu.xml:4, near<record id="action_stock_card_list" model="ir.actions.act_window"> <field name="name">Stock Card List</field> <field name="res_model">vit.stock_card</field> <field name="view_mode">tree,form</field> </record>)
Many thanks