刚下载安装OpenERP绿色版,前面设置没什么问题,但安装了模块后,准备试用,时发现,刚安装好的模块不见了,然后重启一次电脑再试,结果显示模真正在安装,取消了安排再重新安装就提示以下内容,好多模块都是装好了之后又不见了,请指点是什么问题,
附上代码:
Odoo
OpenERP Server Error
Traceback (most recent call last):
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\service\model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 280, in checked_call
return self.endpoint(*a, **kw)
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 733, in call
return self.method(*args, **kw)
File "E:\GreenOdoo-8.0-win32\source\openerp\http.py", line 376, in response_wrap
response = f(*args, **kw)
File "E:\GreenOdoo-8.0-win32\source\addons\web\controllers\main.py", line 952, in call_button
action = self._call_kw(model, method, args, {})
File "E:\GreenOdoo-8.0-win32\source\addons\web\controllers\main.py", line 940, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\addons\base\module\module.py", line 450, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\addons\base\module\module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "E:\GreenOdoo-8.0-win32\source\openerp\modules\registry.py", line 324, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "E:\GreenOdoo-8.0-win32\source\openerp\modules\loading.py", line 358, in load_modules
loaded_modules, update_module)
File "E:\GreenOdoo-8.0-win32\source\openerp\modules\loading.py", line 263, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "E:\GreenOdoo-8.0-win32\source\openerp\modules\loading.py", line 182, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "E:\GreenOdoo-8.0-win32\source\openerp\modules\loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "E:\GreenOdoo-8.0-win32\source\openerp\tools\convert.py", line 899, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "E:\GreenOdoo-8.0-win32\source\openerp\tools\convert.py", line 985, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "E:\GreenOdoo-8.0-win32\source\openerp\tools\convert.py", line 851, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "E:\GreenOdoo-8.0-win32\source\openerp\tools\convert.py", line 765, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\addons\base\ir\ir_model.py", line 1052, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\addons\decimal_precision\decimal_precision.py", line 59, in create
res = super(decimal_precision, self).create(cr, uid, data, context=context)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\models.py", line 3965, in create
record = self.browse(self._create(old_vals))
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\models.py", line 4156, in _create
recs._validate_fields(vals)
File "E:\GreenOdoo-8.0-win32\source\openerp\api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "E:\GreenOdoo-8.0-win32\source\openerp\models.py", line 1300, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) digits
failed against a constraint: Error! You cannot define the decimal precision of 'Account' as greater than the rounding factor of the company's main currency" while parsing file:///E:/GreenOdoo-8.0-win32/source/addons/product/product_data.xml:43, near
<record forcecreate="True" id="decimal_account" model="decimal.precision">
<field name="name">Account</field>
<field name="digits">2</field>
</record>
M
ming99man
@ming99man
-
安装OpenERP绿色版试用时提示错误