Git Product home page Git Product logo

Comments (6)

mrchar avatar mrchar commented on June 30, 2024

同样的问题,然后,如果再次安装,odoo会崩溃,重启之后点取消安装之后再安装还是崩溃,并且页面上资源错误提示!

from oejia_weshop.

JoneXiong avatar JoneXiong commented on June 30, 2024

请说明下odoo版本环境及使用的分支

from oejia_weshop.

TheLostIn avatar TheLostIn commented on June 30, 2024

我是另外一个问题

Odoo Server Error
Traceback (most recent call last):
  File "/www/odoo12/odoo/tools/convert.py", line 758, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/www/odoo12/odoo/tools/convert.py", line 574, in _tag_record
    model = self.env[rec_model]
  File "/www/odoo12/odoo/api.py", line 831, in __getitem__
    return self.registry[model_name]._browse((), self)
  File "/www/odoo12/odoo/modules/registry.py", line 176, in __getitem__
    return self.models[model_name]
KeyError: 'ir.values'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/odoo12/odoo/http.py", line 656, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/www/odoo12/odoo/http.py", line 314, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/www/odoo12/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/www/odoo12/odoo/http.py", line 698, in dispatch
    result = self._call_function(**self.params)
  File "/www/odoo12/odoo/http.py", line 346, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/www/odoo12/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/www/odoo12/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/www/odoo12/odoo/http.py", line 941, in __call__
    return self.method(*args, **kw)
  File "/www/odoo12/odoo/http.py", line 519, in response_wrap
    response = f(*args, **kw)
  File "/www/odoo12/addons/web/controllers/main.py", line 966, in call_button
    action = self._call_kw(model, method, args, {})
  File "/www/odoo12/addons/web/controllers/main.py", line 954, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/www/odoo12/odoo/api.py", line 759, in call_kw
    return _call_kw_multi(method, model, args, kwargs)
  File "/www/odoo12/odoo/api.py", line 746, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-61>", line 2, in button_immediate_install
  File "/www/odoo12/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
  File "/www/odoo12/odoo/addons/base/models/ir_module.py", line 445, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/www/odoo12/odoo/addons/base/models/ir_module.py", line 561, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/www/odoo12/odoo/modules/registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/www/odoo12/odoo/modules/loading.py", line 421, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/www/odoo12/odoo/modules/loading.py", line 313, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/www/odoo12/odoo/modules/loading.py", line 222, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package, report=report)
  File "/www/odoo12/odoo/modules/loading.py", line 68, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
  File "/www/odoo12/odoo/tools/convert.py", line 802, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/www/odoo12/odoo/tools/convert.py", line 865, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/www/odoo12/odoo/tools/convert.py", line 755, in parse
    self.parse(rec, mode)
  File "/www/odoo12/odoo/tools/convert.py", line 764, in parse
    exc_info[2]
  File "/www/odoo12/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/www/odoo12/odoo/tools/convert.py", line 758, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/www/odoo12/odoo/tools/convert.py", line 574, in _tag_record
    model = self.env[rec_model]
  File "/www/odoo12/odoo/api.py", line 831, in __getitem__
    return self.registry[model_name]._browse((), self)
  File "/www/odoo12/odoo/modules/registry.py", line 176, in __getitem__
    return self.models[model_name]
odoo.tools.convert.ParseError: "ir.values" while parsing /www/odoo/mymodules/oejia_weshop/views/product_template_views.xml:40, near
<record model="ir.values" id="product_template_action_server_541_src_value">
            <field name="name">product_template_action_server_541_src_value</field>
            <field name="action_id" ref="product_template_action_server_541"/>
            <field name="value" eval="'ir.actions.server,' + str(ref('product_template_action_server_541'))"/>
            <field name="key">action</field>
            <field name="model">product.template</field>
            <field name="model_id" ref="model_product_template"/>
            <field name="key2">client_action_multi</field>
        </record>

odoo版本 12 Ubuntu16

from oejia_weshop.

lhslll avatar lhslll commented on June 30, 2024

odoo.tools.convert.ParseError: "ir.values" while parsing /www/odoo/mymodules/oejia_weshop/views/product_template_views.xml:40, near

product_template_action_server_541_src_value


action
product.template

client_action_multi

master branch is 10,11的, checkout 12, 如果我没记错的话

from oejia_weshop.

TheLostIn avatar TheLostIn commented on June 30, 2024

odoo.tools.convert.ParseError: "ir.values" while parsing /www/odoo/mymodules/oejia_weshop/views/product_template_views.xml:40, near

product_template_action_server_541_src_value

action
product.template

client_action_multi

master branch is 10,11的, checkout 12, 如果我没记错的话

感谢 切换过去就ok了

from oejia_weshop.

JoneXiong avatar JoneXiong commented on June 30, 2024

10,11用master分支;12用12.0分支;“字段nickname不存在”这个问题未复现

from oejia_weshop.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.