Oodo Modules install error

OpenERP package allows users to host a comprehensive suite of business applications including Sales, CRM, Project management, Warehouse management, Manufacturing, Financial management, Human Resources and many other applications on their Synology machines.
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
viscoelastic
I'm New!
I'm New!
Posts: 1
Joined: Wed Apr 20, 2016 2:12 am

Oodo Modules install error

Unread post by viscoelastic » Wed Apr 20, 2016 2:21 am

I have tried to install a couple modules and I get like errors. Below is the error when I tried to install the expense tracker module. I am hoping someone could shed light on what I am doing wrong. I have python 3 installed

Odoo
OpenERP Server Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 499, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 516, in dispatch
result = self._call_function(**self.params)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 282, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 279, in checked_call
return self.endpoint(*a, **kw)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 732, in __call__
return self.method(*args, **kw)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 375, in response_wrap
response = f(*args, **kw)
File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/addons/base/module/module.py", line 497, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 324, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 358, in load_modules
loaded_modules, update_module)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 185, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 899, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 985, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 851, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/addons/base/ir/ir_model.py", line 1047, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/addons/base/res/res_partner.py", line 560, in create
partner = super(res_partner, self).create(vals)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/var/packages/Odoo8/target/addons/mail/mail_thread.py", line 377, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3970, in create
record = self.browse(self._create(old_vals))
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 4108, in _create
tuple([u[2] for u in updates if len(u) > 2])
File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 158, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ParseError: "null value in column "name" violates not-null constraint
DETAIL: Failing row contains (74, null, 1, null, null, 2016-04-20 01:05:55.125418, 0, null, f, t, null, f, null, null, null, null, null, null, null, f, contact, null, null, null, null, null, 1, null, null, null, 2016-04-20 01:05:55.125418, null, null, 1, null, t, null, null, null, null, null, f, null, null, always, null, f, null, null, null, null, null, null, null, f).
" while parsing /var/packages/Odoo8/target/addons/account/demo/account_demo.xml:164, near
<record id="base.res_partner_2" model="res.partner">
<field name="property_payment_term" ref="account_payment_term_net"/>
</record>

WIMMINT
I'm New!
I'm New!
Posts: 1
Joined: Mon May 11, 2015 7:55 pm

Re: Oodo Modules install error

Unread post by WIMMINT » Mon Mar 06, 2017 12:13 pm

I've a similar/same error when installing Sales Management or Accounting and Finance

OpenERP Server Error

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 499, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 516, in dispatch
result = self._call_function(**self.params)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 282, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 279, in checked_call
return self.endpoint(*a, **kw)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 732, in __call__
return self.method(*args, **kw)
File "/usr/local/lib/python2.7/site-packages/openerp/http.py", line 375, in response_wrap
response = f(*args, **kw)
File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/var/packages/Odoo8/target/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/addons/base/module/module.py", line 497, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/registry.py", line 324, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 358, in load_modules
loaded_modules, update_module)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 185, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='demo')
File "/usr/local/lib/python2.7/site-packages/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 899, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 985, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/local/lib/python2.7/site-packages/openerp/tools/convert.py", line 851, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/usr/local/lib/python2.7/site-packages/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 "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/addons/base/ir/ir_model.py", line 1047, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 3970, in create
record = self.browse(self._create(old_vals))
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 4151, in _create
recs._validate_fields(vals)
File "/usr/local/lib/python2.7/site-packages/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/models.py", line 1294, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) `date_stop` failed against a constraint: Error!
The period is invalid. Either some periods are overlapping or the period's dates are not matching the scope of the fiscal year." while parsing /var/packages/Odoo8/target/addons/account/demo/account_demo.xml:30, near
<record id="period_1" model="account.period">
<field eval="'01/'+time.strftime('%Y')" name="code"/>
<field eval="'X 01/'+time.strftime('%Y')" name="name"/>
<field name="fiscalyear_id" ref="data_fiscalyear"/>
<field eval="time.strftime('%Y')+'-01-01'" name="date_start"/>
<field eval="time.strftime('%Y')+'-01-31'" name="date_stop"/>
<field name="company_id" ref="base.main_company"/>
</record>

Post Reply

Return to “OpenERP”