Saving .doc en .txt works ok in knowledge management.
But when I try to save a document with the extension PDF results in an error. This is the case with any PDF file.
I do not understand the traceback and how to solve this problem.
Traceback:
OpenERP
OpenERP Server Error
Client Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1079, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 1071, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/local/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 198, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/site-packages/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/var/packages/OpenERP7.x/target/openerp/addons/document/document.py", line 121, in create
vals['file_type'], vals['index_content'] = self._index(cr, uid, vals['datas'].decode('base64'), vals.get('datas_fname', False), None)
File "/var/packages/OpenERP7.x/target/openerp/addons/document/document.py", line 132, in _index
mime, icont = cntIndex.doIndex(data, datas_fname, file_type or None, None)
TypeError: 'NoneType' object is not iterable
↧
Error saving PDF in Knowledge Management
↧
When i click on Print Button RML get error
Hello,
Friends
i created one module testing purpose to generate blank pdf file to open.
but something i missed and when i press print button then error come
so can you help me how can i fix.
**Thanks In Advance**
**Error Come Like This**
> **report.hd.wizard**>> **type 'exceptions.KeyError',> KeyError(u'report.hd.wizard',> traceback object at 0xc9b6b44**
directory structure like this
hd_report
- __init__.py
- __openerp__.py
- hd_wizard.py
- hd_wizard_view.xml
- report
1.__init__.py
2.hd_report.py
3.hd_report.rml
4.hd_r
eport.sxw
1)__init__.py
import hd_wizard
2)__openerp__.py
{
'name': 'HD Report Wizard',
'version': '1.0',
'category': 'General',
'author': 'Harsh Dhaduk',
'depends': ['sale', 'point_of_sale'],
'data': [ "hd_wizard_view.xml" ],
'installable': True,
'active': False,
}
3)hd_wizard.py
> from openerp.osv import fields, osv> from openerp.tools.translate import _>import time>>> class hd_wizard(osv.osv_memory):> _name = "hd.wizard">> def get_start_date(self, cr, uid, context=None):> start_date = time.strftime('%Y') + '-01-01'> return start_date>> _columns = {> 'start_date': fields.date('Start Date',> required=True),> 'end_date': fields.date('End Date',> required=True),> 'all_shops': fields.boolean('All Shops'),> 'shop_ids': fields.many2many('sale.shop',> 'rel_wizard_shop',> 'wizard_id', 'shop_id', 'Shops'),> }> _defaults = {> 'start_date': get_start_date,> 'end_date': time.strftime('%Y-%m-%d'),> }>> def print_report(self, cr, uid, ids, context=None):> record = self.read(cr, uid, ids[0], context=context)> datas = {> 'model': 'hd.wizard',> 'ids': ids,> 'form': record,> }> return {> 'type': 'ir.actions.report.xml',> 'report_name': 'hd.wizard',> 'datas': datas,> 'nodestroy': True > }>> hd_wizard()
4) hd_wizard_view.xml
view.hd.wizard.form hd.wizard HD Wizard ir.actions.act_window hd.wizard form form new
5)report->__init__.py
import hd_report
6)report->hd_report.py
import time
from common_report_header import common_report_header
from openerp.report import report_sxw
class hd_report(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context):
super(hd_report, self).__init__(cr, uid, name, context)
self.localcontext.update({
})
report_sxw.report_sxw('hd.report', 'hd.wizard', 'addons/hd_report/report/hd_report.rml', parser = hd_report,header="external")
↧
↧
Error Critical Creating Database
Hi everybody,
I do a bzr pull every day on the trunk, and since monday I have a critical error :
CRITICAL dbname openerp.modules.module: Couldn't load module test
CRITICAL dbname openerp.modules.module: No module named osv
ERROR dbname openerp.service.db: CREATE DATABASE failed:
I don't understand this error, I think about indicate the module test path in my addons path, but I don't find thid module...
If somebody can help...
Thanks !
John
↧
error creating and saving records?
I was trying to create a record with a few required fields in an editable tree view of a one2many field.
If I entered a record correctly and saved it, the creating and saving of the record were always OK.
But, if I accidentally missed one or few required fields when creating a new record, I received warning messages, which was fine to this point. Then, I entered the missed required fields and saved the record. Then, multiple same records (normally the same number of the warning messages) were saved in the tree view, which was definitely wrong, because I only entered one record in the tree view.
I checked the record in the postgresql database. Yes, there were multiple same records. I also traced the create function. of model. Yes, it was called multiple times and each time it added a same record. The problem only occurs within the tree view of a one2many field. No problem with a normal tree view on normal fields.
How could this problem happen? Is there a fix or is it a bug of openerp v7?
======== lgp_testing.py ========
from openerp.osv import osv
from openerp.osv import fields
class lgp_testing(osv.osv):
_name = 'lgp.testing'
_description = u'testing'
_columns = {
'name': fields.char(u'name', size=60, required=True),
'detail': fields.one2many('lgp.testingdetails', 'name', u'detail'),
}
lgp_testing()
class lgp_testingdetails(osv.osv):
_name = 'lgp.testingdetails'
_description = u'testingdetails'
_columns = {
'name': fields.many2one('lgp.testing', u'name', ondelete='no action'),
'val': fields.char(u'val', size=100, required=True),
'date': fields.date(u'date', required=True),
}
lgp_testingdetails()
======== lgp_testing_view.xml ========
testing lgp.testing testing lgp.testing testing lgp.testing form tree,form
↧
Settings Error in Trunk (8.0dev-20140214-000101-1)
For whatever it's worth... I just updated from nightly trunk repository and now getting errors when I click on Settings -> Installed Modules:
OpenERP Server Error Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/http.py", line 348, in dispatch response["result"] = self._call_function(**self.params) File "/usr/lib/pymodules/python2.7/openerp/http.py", line 220, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/http.py", line 215, in checked_call return self.func(*a, **kw) File "/usr/lib/pymodules/python2.7/openerp/http.py", line 532, in __call__ return self.method(*args, **kw) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1217, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1209, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1891, in fields_view_get resaction = ir_values_obj.get(cr, uid, 'action', 'client_action_multi', [(self._name, False)], False, context) File "/usr/lib/pymodules/python2.7/openerp/addons/calendar/calendar.py", line 601, in get meta, context, res_id_req, without_user, key2_req) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_values.py", line 477, in get return self._map_legacy_model_list(models, do_get, merge_results=True) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_values.py", line 434, in _map_legacy_model_list result = map_fn(model, res_id) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_values.py", line 476, in do_get return self.get_actions(cr, uid, action_slot=key2, model=model, res_id=res_id, context=context) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_values.py", line 404, in get_actions action_def = self.pool[action_model].read(cr, uid, int(id), fields, context) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3240, in read result = self._read_flat(cr, user, select, fields, context, load) File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3287, in _read_flat cr.execute(query, [tuple(sub_ids)] + rule_params) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 153, in wrapper return f(self, *args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 218, in execute res = self._obj.execute(query, params) ProgrammingError: column ir_act_server.website_published does not exist LINE 1: ...value",ir_act_server."usage",ir_act_server."type",ir_act_ser... ^
↧
↧
The following fields are invalid: Account Receivable Account Payable
While creating a new "Quotation and sales" for a customer that is a contact in a Company, I receive this message:
"The following fields are invalid:
Account Receivable
Account Payable"
But both of them are ok.
Why?
↧
Error when creating database on Synology DS211
Hello,
I just installed the Open ERP 7.0 package on my Synology DS211. Then I tried to create the database, but the system gives me the following error message. What does it mean? How can I fix it? Thanks in advance!
OpenERP Server Error
Client Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/controllers/main.py", line 719, in create
params['create_admin_pwd'])
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/var/packages/OpenERP7.x/target/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/local/lib/python2.7/site-packages/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 122, in dispatch
return fn(*params)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 168, in exp_create_database
_initialize_db(self, id, db_name, demo, lang, user_password)
File "/usr/local/lib/python2.7/site-packages/openerp/service/web_services.py", line 98, in _initialize_db
cr.close()
File "/usr/local/lib/python2.7/site-packages/openerp/sql_db.py", line 161, in wrapper
raise psycopg2.OperationalError(msg)
OperationalError: Unable to use a closed cursor.
↧
How do I disable a module from command line?
It seems that something went wrong with my production OpenERP database, which I don't really know its cause. Here's the error I get:
2014-02-15 22:42:24,733 18124 ERROR mydatabase openerp.addons.base.ir.ir_ui_view: Can't render view project_issue.view_project_form_inherited for model: project.project
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view
fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2239, in fields_view_get
arch=apply_view_inheritance(cr, user, source, sql_res['id']),
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2197, in apply_view_inheritance
source = apply_inheritance_specs(source, view_arch, view_id)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2181, in apply_inheritance_specs
raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2074, in raise_view_error
% (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'project_issue.view_project_form_inherited' on model 'project.project':
Element '' not found in parent view 'project.edit_project'
2014-02-15 22:42:24,739 18124 ERROR mydatabase openerp.tools.convert: Parse error in /usr/lib/pymodules/python2.7/openerp/addons/project_issue/project_issue_view.xml:302: project.project.form.inherited project.project {'invisible': [('use_tasks', '=', False),('use_issues','=',False)]}
I think there's something wrong with `project.project` module, so I want to disable it, at least to start my production DB until further investigation
Does anyone have a solution?
Or: Can someone guide me to at least disabling
P.S. I'm not much into postgres. So if the solution involves manipulating the DB via command line, I'd highly appreciate a step by step procedure
↧
404 errors loading .js .css .png
When I want to run my openerp 7 , I get 404 errors loading statics i.e. :
Failed to load resource: the server responded with a status of 404 (NOT FOUND) 46.248.163.116:1800/process/static/src/js/process.js
Failed to load resource: the server responded with a status of 404 (NOT FOUND) 46.248.163.116:1800/share/static/src/js/share.js
Failed to load resource: the server responded with a status of 404 (NOT FOUND) 46.248.163.116:1800/project/static/src/js/project.js
I checked files exists. I dave this problem with .css, .js , .png files.
This erros make inposible run debug mode in view ("?debug="). I'm usind chrome 34.0.1847.116.
↧
↧
Python Error: Inconsistent indentation detected!
inconsistent indent at line 22, column 4
↧
eMail Service stopped working without changing configuration
Can anybody help to fix this:
2014-04-23 16:11:37,607 643 ERROR MYDB openerp.addons.fetchmail.fetchmail: General failure when trying to fetch mail from imap server Service
Inbox.
Traceback (most recent call last):
File "/opt/openerp/openerp7/openerp-addons/fetchmail/fetchmail.py", line 199, in fetch_mail
for num in data[0].split():
AttributeError: 'NoneType' object has no attribute 'split'
↧
error while trying to submit in openerp7
Hello, when i am trying to submit anything in openerp. I am getting this error:
OpenERP Server Error
Client Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\http.py", line 204, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\session.py", line 42, in proxy
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\session.py", line 30, in proxy_method
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\session.py", line 103, in send
Server Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\web\session.py", line 89, in send
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\netsvc.py", line 296, in dispatch_rpc
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\service\web_services.py", line 626, in dispatch
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\osv.py", line 190, in execute_kw
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\osv.py", line 132, in wrapper
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\osv.py", line 199, in execute
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\osv.py", line 187, in execute_cr
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\openerp\addons\base_workingdays\base.py", line 360, in new_orm_write
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\orm.py", line 2372, in search
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\osv\orm.py", line 4944, in _search
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\sql_db.py", line 161, in wrapper
File "C:\Program Files (x86)\OpenERP 7.0-20140415-231321\Server\server\.\openerp\sql_db.py", line 226, in execute
ProgrammingError: relation "res_company_day_validation" does not exist
LINE 1: SELECT "res_company_day_validation".id FROM "res_company_day...
↧
report rml error 'exceptions.AssertionError'
everyone help me please!!!
I create new module and new report rml, but when I click print button. display error (, AssertionError(), )
↧
↧
Error... I can't add call or other..
OpenERP Server Error
Traceback (most recent call last):
File "/home/odoo/src/server/saas-3/openerp/http.py", line 395, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 234, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 231, in checked_call
return self.func(*a, **kw)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 550, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1239, in call_button
action = self._call_kw(model, method, args, {})
File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1227, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/odoo/src/addons/saas-3/crm/wizard/crm_opportunity_to_phonecall.py", line 75, in action_schedule
action=data.action, context=context)
File "/home/odoo/src/addons/saas-3/crm/crm_lead.py", line 847, in schedule_phonecall
'partner_id': lead.partner_id and lead.partner_id.id or False,
File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 505, in __getattr__
return self[name]
File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 435, in __getitem__
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field partner_id not found in browse_record(crm.lead, 24)',) while trying to get attribute partner_id on a crm.lead record.
↧
couldn't load module web error following an update of openerp
Hi all,
I made an update of OpenERP v7 this week-end and I have the following error that I can't resolve. If anybody could help, it would be greatly appreciated.
Thanks
> 2014-04-29 14:39:03,924 20052 CRITICAL ? openerp.modules.module:> Couldn't load module web> 2014-04-29 14:39:03,925 20052 CRITICAL ? openerp.modules.module:> invalid syntax (, line 93)> 2014-04-29 14:39:03,925 20052 ERROR ? openerp.service: Failed to> load server-wide module `web`.> The `web` module is provided by the addons found in the `openerp-web`> project.> Maybe you forgot to add those addons in your addons_path> configuration.> Traceback (most recent call last):> File "/opt/openerp/server/openerp/service/__init__.py",> line 60, in load_server_wide_modules> openerp.modules.module.load_openerp_module(m)> File "/opt/openerp/server/openerp/modules/module.py",> line 415, in load_openerp_module> getattr(sys.modules['openerp.addons.'> + module_name], info['post_load'])()> File "/opt/openerp/web/addons/web/http.py",> line 628, in wsgi_postload> openerp.wsgi.register_wsgi_handler(Root())> File "/opt/openerp/web/addons/web/http.py",> line 517, in __init__> self.load_addons()> File "/opt/openerp/web/addons/web/http.py",> line 576, in load_addons> manifest = ast.literal_eval(open(manifest_path).read())> File "/usr/lib/python2.7/ast.py", line 49,> in literal_eval> node_or_string = parse(node_or_string, mode='eval')> File "/usr/lib/python2.7/ast.py", line 37,> in parse> return compile(source, filename, mode, PyCF_ONLY_AST)> File "", line 93><<<<<<< TREE> ^> SyntaxError: invalid syntax
↧
ProgrammingError: column product_template.website_description does not exist
I am getting the above error when i try to add products to quotation.My quotation templates are also not longer there.
I am using the clod hosted version of Open ERP.
↧
Problem installing module online version
We have a problem when we want to install a new module, this error appears :
"Traceback (most recent call last):
File "/home/odoo/src/server/saas-3/openerp/http.py", line 395, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 234, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/service/model.py", line 114, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 231, in checked_call
return self.func(*a, **kw)
File "/home/odoo/src/server/saas-3/openerp/http.py", line 550, in __call__
return self.method(*args, **kw)
File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1237, in call_button
action = self._call_kw(model, method, args, {})
File "/home/odoo/src/web/saas-3/addons/web/controllers/main.py", line 1225, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/addons/base/module/module.py", line 427, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/home/odoo/src/server/saas-3/openerp/addons/base/module/module.py", line 478, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/home/odoo/src/server/saas-3/openerp/modules/registry.py", line 247, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 341, in load_modules
loaded_modules, update_module)
File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 244, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 175, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/home/odoo/src/server/saas-3/openerp/modules/loading.py", line 116, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 972, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 1058, in convert_xml_import
obj.parse(doc.getroot())
File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 926, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/odoo/src/server/saas-3/openerp/tools/convert.py", line 855, 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 "/home/odoo/src/server/saas-3/openerp/addons/base/ir/ir_model.py", line 1012, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/odoo/src/addons/saas-3/mail/mail_thread.py", line 357, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context_operation)
File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 4089, in create
record_id = self.pool[table].create(cr, user, tocreate[table], context=parent_context)
File "/home/odoo/src/addons/saas-3/mail/mail_thread.py", line 357, in create
thread_id = super(mail_thread, self).create(cr, uid, values, context=context_operation)
File "/home/odoo/src/server/saas-3/openerp/osv/orm.py", line 4171, in create
tuple([f[2] for f in columns if len(f) > 2])
File "/home/odoo/src/server/saas-3/openerp/sql_db.py", line 156, in wrapper
return f(self, *args, **kwargs)
File "/home/odoo/src/server/saas-3/openerp/sql_db.py", line 221, in execute
res = self._obj.execute(query, params)
ParseError: "null value in column "name" violates not-null constraint
" while parsing /home/odoo/src/addons/saas-3/hr_timesheet/hr_timesheet_data.xml:15, nearTrue "
It's the same to uninstall a module. How can we solve this ?
↧
↧
openerp error no handler found
Hi please i need your help
when i run openerp from eclipse i got this > 2014-05-13 09:10:24,993 4715 CRITICAL> ? openerp.modules.module: Couldn't> load module web 2014-05-13> 09:10:24,993 4715 CRITICAL ?> openerp.modules.module: unexpected EOF> while parsing (, line 0)> 2014-05-13 09:10:24,993 4715 ERROR ?> openerp.service: Failed to load> server-wide module `web`. The `web`> module is provided by the addons found> in the `openerp-web` project. Maybe> you forgot to add those addons in your> addons_path configuration. Traceback> (most recent call last): File> "/opt/openerp/v7/server/openerp/service/__init__.py",> line 60, in load_server_wide_modules> openerp.modules.module.load_openerp_module(m)> File> "/opt/openerp/v7/server/openerp/modules/module.py",> line 415, in load_openerp_module> getattr(sys.modules['openerp.addons.'> + module_name], info['post_load'])() File> "/opt/openerp/v7/web/addons/web/http.py",> line 628, in wsgi_postload> openerp.wsgi.register_wsgi_handler(Root())> File> "/opt/openerp/v7/web/addons/web/http.py",> line 517, in __init__> self.load_addons() File "/opt/openerp/v7/web/addons/web/http.py",> line 576, in load_addons> manifest = ast.literal_eval(open(manifest_path).read())> File "/usr/lib/python2.7/ast.py", line> 49, in literal_eval> node_or_string = parse(node_or_string, mode='eval') > File "/usr/lib/python2.7/ast.py", line> 37, in parse> return compile(source, filename, mode, PyCF_ONLY_AST) File> "", line 0
and "no hendler found" as a message error on localhost:8069/ please help
↧