Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant install in odoo 9 #15

Open
Washil opened this issue Feb 9, 2016 · 14 comments
Open

cant install in odoo 9 #15

Washil opened this issue Feb 9, 2016 · 14 comments

Comments

@Washil
Copy link

Washil commented Feb 9, 2016

Hello, I am new in odoo
I have successfully installed odoo 9 on CentOS 7
I tried downloading connector-woocommerce and all deppendecy.
I uploaded to the directory /usr/lib/python2.7/site-packages/openerp/addons/
then I have been doing "sudo easy_install woocomerce" as described in tutuorial techreceptives.
when I installed from the Apps menu,
Error appears as follows.
Odoo Server Error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 680, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 309, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 959, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/site-packages/openerp/http.py", line 509, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 896, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 884, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/base/module/module.py", line 459, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/base/module/module.py", line 533, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 385, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in load_modules loaded_modules, update_module) File "/usr/lib/python2.7/site-packages/openerp/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 "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 156, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 98, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/usr/lib/python2.7/site-packages/openerp/tools/convert.py", line 852, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/usr/lib/python2.7/site-packages/openerp/tools/convert.py", line 939, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/usr/lib/python2.7/site-packages/openerp/tools/convert.py", line 802, in parse self.parse(rec, mode) File "/usr/lib/python2.7/site-packages/openerp/tools/convert.py", line 805, in parse self._tags[rec.tag](self.cr, rec, de, mode=mode) File "/usr/lib/python2.7/site-packages/openerp/tools/convert.py", line 709, 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/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_model.py", line 1119, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 354, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/addons/connector/producer.py", line 48, in create record_id = create_original(self, vals) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/models.py", line 4132, in create record = self.browse(self._create(old_vals)) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/api.py", line 490, in new_api result = method(self._model, cr, uid, *args, **old_kwargs) File "/usr/lib/python2.7/site-packages/openerp/models.py", line 4270, in _create tuple([u[2] for u in updates if len(u) > 2]) File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 139, in wrapper return f(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/openerp/sql_db.py", line 218, in execute res = self._obj.execute(query, params) ParseError: "null value in column "act_from" violates not-null constraint DETAIL: Failing row contains (17, 1, 2016-02-09 16:14:17.39745, 10, order_confirm, null, 1, null, null, 2016-02-09 16:14:17.39745, null, null, test_exceptions()). " while parsing /usr/lib/python2.7/site-packages/openerp/addons/sale_exceptions/sale_workflow.xml:4, near <record id="sale.trans_draft_router" model="workflow.transition"> <field name="signal">order_confirm</field> <field name="condition">test_exceptions()</field> </record>

Kindly its support, thanks in advance.

@musiq021
Copy link

musiq021 commented Feb 9, 2016

Same issue here. Looks like it's getting hung up installing the sale_exceptions module.

@parthivgls
Copy link

dependent modules are still not migrated to v9.

@IgnacioMelendrez
Copy link

Hello,
I have understood that WooCommerce is available only for version 8 of Odoo.
I was also testing with Odoo 9 and me out mistakes.
regards

@ingefox
Copy link

ingefox commented May 23, 2016

That means this connector doesn't work on odoo 9.0 .. isn't it ?

@pedrobaeza
Copy link
Member

Yeah, the module is not migrated to v9, so it doesn't work in this version until it is.

@elbafa33
Copy link

Hello every one,
I can't install the module that I've created, I have odoo v9 on centos 7, when I try to install there is an error:

"Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 680, in dispatch
result = self._call_function(*_self.params)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper
return f(dbname, _args, *_kwargs)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 309, in checked_call
result = self.endpoint(_a, *_kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 959, in call
return self.method(_args, *_kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 509, in response_wrap
response = f(_args, *_kw)
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 896, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 884, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/site-packages/openerp/addons/base/module/wizard/base_module_upgrade.py", line 87, in upgrade_module
openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 386, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/site-packages/openerp/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 "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 324, in load_openerp_module
import('openerp.addons.' + module_name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/usr/lib/python2.7/site-packages/openerp/addons/openacademy/init.py", line 2, in
from . import controllers
ImportError: cannot import name controllers"

THANK YOU FOR YOUR HELP

@parthivgls
Copy link

It's still work in progress for Odoo v9.

On Fri, May 27, 2016 at 4:37 PM, elbafa33 [email protected] wrote:

Hello every one,
I can't install the module that I've created, I have odoo v9 on centos 7,
when I try to install there is an error:

"Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 643, in

_handle_exception return super(JsonRequest,
self).handle_exception(exception) File
"/usr/lib/python2.7/site-packages/openerp/http.py", line 680, in dispatch
result = self._call_function(_self.params) File
"/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in
_call_function return checked_call(self.db, _args, *kwargs) File
"/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in
wrapper return f(dbname, args, *kwargs) File
"/usr/lib/python2.7/site-packages/openerp/http.py", line 309, in
checked_call result = self.endpoint(a, *kw) File
"/usr/lib/python2.7/site-packages/openerp/http.py", line 959, in _call
return self.method(_args, *_kw)
File "/usr/lib/python2.7/site-packages/openerp/http.py", line 509, in
response_wrap
response = f(_args, *_kw)
File
"/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py",
line 896, in call_button
action = self.

_call_kw(model, method, args, {}) File
"/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py",
line 884, in call_kw return getattr(request.registry.get(model),
method)(request.cr http://request.cr, request.uid, args, *kwargs) File
"/usr/lib/python2.7/site-packages/openerp/api.py", line 250, in wrapper
return old_api(self, args, *kwargs) File
"/usr/lib/python2.7/site-packages/openerp/addons/base/module/wizard/base_module_upgrade.py",
line 87, in upgrade_module
openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line
386, in new openerp.modules.load_modules(registry._db, force_demo, status,
update_module) File
"/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in
load_modules loaded_modules, update_module) File
"/usr/lib/python2.7/site-packages/openerp/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
"/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 123, in
load_module_graph load_openerp_module(package.name http://package.name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line
324, in load_openerp_module _import('openerp.addons.' + module_name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line
61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/usr/lib/python2.7/site-packages/openerp/addons/openacademy/init.py",
line 2, in
from . import controllers
ImportError: cannot import name controllers"

THANK YOU FOR YOUR HELP


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACvHWI2q1365N7xTd6-YH24Au_XuuExOks5qFtBlgaJpZM4HWMrT
.

Thanks & Regards,
Parthiv Patel

@elbafa33
Copy link

Thank you Mr parthivgls, it means that in odoo v9 it's impossible to create my own modules?

@parthivgls
Copy link

You have to wait till we finish the migration, then you'll be able to
properly install the module and sync it with your store.

On Fri, May 27, 2016 at 4:58 PM, elbafa33 [email protected] wrote:

Thank you Mr parthivgls, it means that in odoo v9 it's impossible to
create my own modules?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACvHWEqHTZgAY1iSFrnijIrt5ozGjC5sks5qFtV5gaJpZM4HWMrT
.

Thanks & Regards,
Parthiv Patel

@elbafa33
Copy link

Ok thank you mr parthivgls

@ghost
Copy link

ghost commented Jul 15, 2016

Code:
untitled
Error while installing new module
untitled2

@sgucci1
Copy link

sgucci1 commented Aug 27, 2016

Hello parthivgls

Do you anticipate a date when the migration will be finished?

Thank you

@djeraseit
Copy link

please correct your readme to not say 100% compatible with Odoo / OpenERP 10.0

@djeraseit
Copy link

@sgucci1 yes please. what version of odoo are you using the connector with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants