跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

V

voilamart

@voilamart
关于
帖子
4
主题
1
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • 新人贴:有哪位大侠成功安装OpenLabs的magento integration模块呀(已解决)
    V voilamart

    openlabs的解决方案已解决, 原来要添加magento和pycountry到python库里就可以了哈!谢谢‘保定-粉刷匠’的手册。
    Camptocamp的也成功安装了, 需要把须要的库安装到正确路径,还要把addons的正确路径写进openerp-server.conf里。比如:
    addons_path = /openerp/addons,/openerp/addons/connector,/openerp/addons/connector-ecommerce,/openerp/addons/connector-magento,/openerp/addons/e-commerce,/openerp/addons/product-attribute,/openerp/addons/sale-workflow


  • 新人贴:有哪位大侠成功安装OpenLabs的magento integration模块呀(已解决)
    V voilamart

    一直想整合Magento与Openerp7, 发现只有三家Connectors, 一个是openlabs的 magento_integration, 另一个是Camptocamp的magentoerpconnector,还有一个是WebKul的magneto-openerp-bridge(支持odoo8但功能少)
    最后还有一个是Saas的odooconnetor(按订单收费-贵)。
    所以前两个是最好的解决方案了,尝试安装openlabs或Camptocamp N多次了,都未能成功,google也找不到答案,恳求论坛里的大大们指条明路。
    安装到最后出现如下截图,并附上log:

    openerp@ubuntu:/opt/odoo$ ./openerp-server
    2015-01-29 18:09:58,537 4065 INFO ? openerp: OpenERP version 7.0-20150123
    2015-01-29 18:09:58,537 4065 INFO ? openerp: addons paths: /opt/odoo/openerp/addons
    2015-01-29 18:09:58,537 4065 INFO ? openerp: database hostname: localhost
    2015-01-29 18:09:58,537 4065 INFO ? openerp: database port: 5432
    2015-01-29 18:09:58,537 4065 INFO ? openerp: database user: openerp
    2015-01-29 18:09:58,695 4065 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.18 detected
    2015-01-29 18:09:59,167 4065 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
    2015-01-29 18:09:59,168 4065 INFO ? openerp: OpenERP server is running, waiting for connections...
    2015-01-29 18:10:16,830 4065 INFO odoo2 openerp.modules.loading: loading 1 modules...
    2015-01-29 18:10:16,849 4065 INFO odoo2 openerp.modules.loading: loading 55 modules...
    2015-01-29 18:10:17,009 4065 INFO odoo2 openerp.modules.loading: Modules loaded.
    2015-01-29 18:10:17,022 4065 INFO odoo2 werkzeug: 127.0.0.1 - - [29/Jan/2015 18:10:17] "POST /web/action/load HTTP/1.1" 200 -
    2015-01-29 18:10:17,045 4065 INFO odoo2 werkzeug: 127.0.0.1 - - [29/Jan/2015 18:10:17] "POST /web/dataset/call_kw HTTP/1.1" 200 -
    2015-01-29 18:10:17,099 4065 INFO odoo2 werkzeug: 127.0.0.1 - - [29/Jan/2015 18:10:17] "POST /web/dataset/call_kw HTTP/1.1" 200 -
    2015-01-29 18:10:21,929 4065 INFO odoo2 openerp.modules.loading: loading 1 modules...
    2015-01-29 18:10:21,947 4065 INFO odoo2 openerp.modules.loading: loading 55 modules...
    2015-01-29 18:10:22,074 4065 INFO odoo2 openerp.modules.loading: loading 56 modules...
    2015-01-29 18:10:22,081 4065 INFO odoo2 openerp.modules.module: module magento_integration: creating or updating database tables
    2015-01-29 18:10:22,155 4065 ERROR odoo2 openerp.sql_db: bad query: ALTER TABLE "product_product" ADD CONSTRAINT "product_product_uniq_default_code" unique(default_code)
    Traceback (most recent call last):
    File "/opt/odoo/openerp/sql_db.py", line 226, in execute
    res = self._obj.execute(query, params)
    IntegrityError: could not create unique index "product_product_uniq_default_code"
    DETAIL: Key (default_code)=(/) is duplicated.

    2015-01-29 18:10:22,156 4065 WARNING odoo2 openerp.osv.orm.schema: Table 'product_product': unable to add 'unique(default_code)' constraint !
    If you want to have it, you should update the records and execute manually:
    ALTER TABLE "product_product" ADD CONSTRAINT "product_product_uniq_default_code" unique(default_code)
    2015-01-29 18:10:22,376 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/test_connection.xml
    2015-01-29 18:10:22,393 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/import_websites.xml
    2015-01-29 18:10:22,402 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/import_catalog.xml
    2015-01-29 18:10:22,411 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/update_catalog.xml
    2015-01-29 18:10:22,421 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/import_orders.xml
    2015-01-29 18:10:22,430 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/export_orders.xml
    2015-01-29 18:10:22,439 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/import_carriers.xml
    2015-01-29 18:10:22,462 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/export_inventory.xml
    2015-01-29 18:10:22,471 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/export_tier_prices.xml
    2015-01-29 18:10:22,536 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/export_shipment_status.xml
    2015-01-29 18:10:22,557 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading wizard/export_catalog.xml
    2015-01-29 18:10:22,590 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading product.xml
    2015-01-29 18:10:22,747 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading magento.xml
    2015-01-29 18:10:22,881 4065 INFO odoo2 openerp.modules.loading: module magento_integration: loading sale.xml
    2015-01-29 18:10:22,891 4065 ERROR odoo2 openerp.addons.base.ir.ir_ui_view: Can't render view for model: sale.order
    Traceback (most recent call last):
    File "/opt/odoo/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 "/opt/odoo/openerp/osv/orm.py", line 2279, in fields_view_get
    arch=apply_view_inheritance(cr, user, source, sql_res['id']),
    File "/opt/odoo/openerp/osv/orm.py", line 2237, in apply_view_inheritance
    source = apply_inheritance_specs(source, view_arch, view_id)
    File "/opt/odoo/openerp/osv/orm.py", line 2221, in apply_inheritance_specs
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
    File "/opt/odoo/openerp/osv/orm.py", line 2114, in raise_view_error
    % (child_view.xml_id, self._name, error_msg))
    AttributeError: View definition error for inherited view 'base_sale_multichannels.base_sale_multichannel_view_order_form' on model 'sale.order': Element '<xpath expr="//field[@name='order_line']/form/field[@name='name']">' not found in parent view 'sale.view_order_form'
    2015-01-29 18:10:22,895 4065 ERROR odoo2 openerp.tools.convert: Parse error in /opt/odoo/openerp/addons/magento_integration/sale.xml:5:
    <record id="view_order_form" model="ir.ui.view">
    <field name="name">sale.order.form.inherit</field>
    <field name="model">sale.order</field>
    <field name="inherit_id" ref="sale.view_order_form"/>
    <field name="arch" type="xml">
    <data><xpath expr="//form[@string='Sales Order Lines']/field[@name='name']" position="after">
    <group>
    <group colspan="1">
    <field name="name"/>
    </group>
    <group colspan="1">
    <field name="magento_notes"/>
    </group>
    </group>
    </xpath>
    <xpath expr="//form[@string='Sales Order Lines']/label[@for='name']" position="replace"/>
    <xpath expr="//form[@string='Sales Order Lines']/field[@name='name']" position="replace"/>
    </data></field>
    </record>
    Traceback (most recent call last):
    File "/opt/odoo/openerp/tools/convert.py", line 852, in parse
    self._tags[rec.tag](self.cr, rec, n)
    File "/opt/odoo/openerp/tools/convert.py", line 819, in _tag_record
    id = self.pool.get('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 "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 983, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
    File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
    return super(view, self).create(cr, uid, values, context)
    File "/opt/odoo/openerp/osv/orm.py", line 4607, in create
    self._validate(cr, user, [id_new], context)
    File "/opt/odoo/openerp/osv/orm.py", line 1588, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
    except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
    2015-01-29 18:10:22,896 4065 ERROR odoo2 openerp.netsvc: ValidateError
    Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
    Traceback (most recent call last):
    File "/opt/odoo/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/odoo/openerp/service/web_services.py", line 632, in dispatch
    res = fn(db, uid, *params)
    File "/opt/odoo/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/odoo/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
    File "/opt/odoo/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/odoo/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/odoo/openerp/addons/base/module/module.py", line 426, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
    File "/opt/odoo/openerp/addons/base/module/module.py", line 473, in button_immediate_function
    , pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/opt/odoo/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module)
    File "/opt/odoo/openerp/modules/registry.py", line 233, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
    File "/opt/odoo/openerp/modules/loading.py", line 355, in load_modules
    loaded_modules, update_module)
    File "/opt/odoo/openerp/modules/loading.py", line 256, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
    File "/opt/odoo/openerp/modules/loading.py", line 188, in load_module_graph
    load_data(module_name, idref, mode)
    File "/opt/odoo/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
    File "/opt/odoo/openerp/modules/loading.py", line 124, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
    File "/opt/odoo/openerp/tools/convert.py", line 959, in convert_xml_import
    obj.parse(doc.getroot())
    File "/opt/odoo/openerp/tools/convert.py", line 852, in parse
    self._tags[rec.tag](self.cr, rec, n)
    File "/opt/odoo/openerp/tools/convert.py", line 819, in _tag_record
    id = self.pool.get('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 "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 983, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
    File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
    return super(view, self).create(cr, uid, values, context)
    File "/opt/odoo/openerp/osv/orm.py", line 4607, in create
    self._validate(cr, user, [id_new], context)
    File "/opt/odoo/openerp/osv/orm.py", line 1588, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
    except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
    2015-01-29 18:10:22,898 4065 INFO odoo2 werkzeug: 127.0.0.1 - - [29/Jan/2015 18:10:22] "POST /web/dataset/call_button HTTP/1.1" 200 -


  • 视频:OpenERP在windows下的安装,及简单的进销存应用,全过程8分钟,包含若干使用心得。
    V voilamart

    学习学了,有哪位大大成功整合过magento进销存吗,卡在这一步骤了


  • 在Ubuntu 14.04服务器版上以git方式源码安装odoo 8.0正式版的步骤
    V voilamart

    值得学习,国内上github有点慢呀!先收藏了

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组