GithubHelp home page GithubHelp logo

scottai / -odoo--- Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 34.0 2.6 MB

本系统为《Odoo从入门到实战:Python开发ERP指南》的实战项目,使用Odoo开发,支持Odoo11和Odoo12,Python3,包括了学生管理、教师管理、费用管理、CRM、小程序端签到打卡等功能

License: GNU General Public License v3.0

Python 80.76% HTML 5.64% CSS 2.32% JavaScript 11.28%

-odoo---'s People

Contributors

scottai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

-odoo---'s Issues

代码在odoo12版本中不能跑。

作者
您好,我买了您的教材,我用的版本是12的,即使从您这里下载的代码,直接拷贝过去还是一样的不能跑。如果您有空的话麻烦您告知一下。谢谢

482XZMXU_{ S8% 1SBES3IJ

etree.tostring(rec, encoding='unicode').rstrip()

在odoo应用中安装lxb-core的时候,提示:
错误:
Odoo Server Error
Traceback (most recent call last):
File "D:\Svn\11-WebDevops\odoo14e\odoo\http.py", line 346, in checked_call
result = self.endpoint(*a, **kw)
File "D:\Svn\11-WebDevops\odoo14e\odoo\http.py", line 911, in call
return self.method(*args, **kw)
File "D:\Svn\11-WebDevops\odoo14e\odoo\http.py", line 530, in response_wrap
response = f(*args, **kw)
File "D:\Svn\11-WebDevops\odoo14e\odoo\addons\web\controllers\main.py", line 1363, in call_button
action = self._call_kw(model, method, args, kwargs)
File "D:\Svn\11-WebDevops\odoo14e\odoo\addons\web\controllers\main.py", line 1351, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "D:\Svn\11-WebDevops\odoo14e\odoo\api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "D:\Svn\11-WebDevops\odoo14e\odoo\api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "D:\Svn\11-WebDevops\odoo14e\odoo\addons\base\models\ir_module.py", line 73, in check_and_log
return method(self, *args, **kwargs)
File "D:\Svn\11-WebDevops\odoo14e\odoo\addons\base\models\ir_module.py", line 474, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "D:\Svn\11-WebDevops\odoo14e\odoo\addons\base\models\ir_module.py", line 592, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "D:\Svn\11-WebDevops\odoo14e\odoo\modules\registry.py", line 89, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "D:\Svn\11-WebDevops\odoo14e\odoo\modules\loading.py", line 455, in load_modules
loaded_modules, update_module, models_to_check)
File "D:\Svn\11-WebDevops\odoo14e\odoo\modules\loading.py", line 348, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "D:\Svn\11-WebDevops\odoo14e\odoo\modules\loading.py", line 221, in load_module_graph
load_data(cr, idref, mode, kind='data', package=package)
File "D:\Svn\11-WebDevops\odoo14e\odoo\modules\loading.py", line 69, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "D:\Svn\11-WebDevops\odoo14e\odoo\tools\convert.py", line 733, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "D:\Svn\11-WebDevops\odoo14e\odoo\tools\convert.py", line 799, in convert_xml_import
obj.parse(doc.getroot())
File "D:\Svn\11-WebDevops\odoo14e\odoo\tools\convert.py", line 719, in parse
self._tag_root(de)
File "D:\Svn\11-WebDevops\odoo14e\odoo\tools\convert.py", line 677, in _tag_root
f(rec)
File "D:\Svn\11-WebDevops\odoo14e\odoo\tools\convert.py", line 684, in _tag_root
etree.tostring(rec, encoding='unicode').rstrip()
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\Svn\11-WebDevops\odoo14e\odoo\http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "D:\Svn\11-WebDevops\odoo14e\odoo\http.py", line 314, in _handle_exception
raise exception.with_traceback(None) from new_cause
odoo.tools.convert.ParseError: while parsing file:/d:/svn/11-webdevops/odoo14e/odoo/addons/lxb-core/wizard/teacher_create_employee_wizard_view.xml:4, near

<record id="lxb_teacher_create_employee_view" model="ir.ui.view"> <field name="name">wizard.lxb.teacher.employee.form</field> <field name="model">wizard.lxb.teacher.employee</field> <field name="arch" type="xml"> <form string="填写雇佣相关信息"> <group col="4"> <field name="user_boolean"/> </group> <footer groups="base.group_user"> <button name="create_employee" type="object" string="新建员工" class="oe_highlight"/> <button string="Cancel" special="cancel"/> </footer> </form> </field> </record>

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.