zhuinfo / django-erp Goto Github PK
View Code? Open in Web Editor NEWDjango-ERP是一款基于Django开发的ERP管理软件,包含常用的销售管理、采购管理、库存管理、组织管理等,支持按项目归集费用,支持工作流审批,支持采购单、报价单的批量导入。
Django-ERP是一款基于Django开发的ERP管理软件,包含常用的销售管理、采购管理、库存管理、组织管理等,支持按项目归集费用,支持工作流审批,支持采购单、报价单的批量导入。
Traceback (most recent call last):
File "manage.py", line 8, in
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
怎么去解决这个呢?
link:http://www.oschina.net/question/91334_248912?fromerr=HV6zzg4l
content:
运行出错时:django.db.utils.ProgrammingError: (1146, "Table 'mis.basedata_valuelistitem' doesn't exist")
解决办法:在文件夹下有个SQL文件夹,运行里面的sql文件,初始化数据库
运行到 from django.contrib.contenttypes.generic import GenericTabularInline
ImportError: No module named generic这里时,
将database/admin.py里面的
from django.contrib.contenttypes.generic import GenericTabularInline
改为:
from django.contrib.contenttypes.admin import GenericTabularInline
请问,代码运行后,为什么工作流界面只有待办事项,没有工作流模型等,其他界面也没有工作流审批提交等按钮?
D:>mkvirtualenv -p D:\python版本包\python2.7\python2.7.exe testerp
RuntimeError: failed to query D:\python版本包\python2.7\python2.7.exe with code 1 err: 'Traceback (most recent call last):\n File "D:\python 3.11.2\Lib\site-packages\virtualenv\discovery\py_info.py", line 573, in \n info = PythonInfo()._to_json()\n File "D:\python 3.11.2\Lib\site-packages\virtualenv\discovery\py_info.py", line 58, in init\n self.prefix = u(abs_path(getattr(sys, "prefix", None))) # prefix we think\n File "D:\python 3.11.2\Lib\site-packages\virtualenv\discovery\py_info.py", line 35, in u\n return v.decode("utf-8") if isinstance(v, bytes) else v\n File "D:\python版本包\python2.7\lib\encodings\utf_8.py", line 16, in decode\n return codecs.utf_8_decode(input, errors, True)\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 9: invalid start byte\n'
不知道为什么提示utf-8错误
项目停止开发了吗?很多条目没有添加选项,比如职员,合作伙伴
麻烦作者给个requirements.txt文件,谢谢了
pip freeze > requirements.txt命令就可以把虚拟环境的依赖包提供了,谢谢作者
从您的代码中,没有找到安装文档,以及依赖哪些Python包等,都没有。可否给出呢?
大神,求流程图!!
mysql -uroot -proot mis < Install/mis.sql
错误的文件路径
正确如下:
mysql -uroot -proot mis < Install/SQL/mis.sql
mis.sql这个文件缺失,导致不能运行。
按照文档里给的Excel模板导入数据报错。
入库单的入库按钮点击之后报错
入库单的入库按钮有两个
入库单的入库按钮旁有一串字符串
入库单的删除选择键,选择之后,点击删除会删掉整个入库单
兄弟搭建好了无法访问。
Performing system checks...
System check identified no issues (0 silenced).
June 12, 2018 - 10:18:11
Django version 1.11.13, using settings 'mis.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[12/Jun/2018 10:22:10] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:12] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:12] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:13] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:13] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:14] "GET / HTTP/1.1" 302 0
Request Method: | GET |
---|---|
http://127.0.0.1:8000/admin/invent/stockin/add/cin/ | |
1.8 | |
ValueError | |
invalid literal for int() with base 10: 'add/cin' | |
/usr/lib64/python2.7/site-packages/django/db/models/fields/init.py in get_prep_value, line 985 | |
/usr/bin/python | |
2.7.5 | |
['/home/shawn/Project/Django-ERP', '/usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages'] |
这个报错和mysql版本有关系吗?
执行python manager.py runserver 0.0.0.0:80的时候提示:python:can't open file 'manager.py': [Errno 2] No such file or directory 这个是撒问题呢
你这个项目很好,但是我在运行时出现了很多问题,所以想请教你一下
实时库存在添加库存的时候,下拉列表无法下拉。
是不是模板的问题?
如题,需要导入库存,可是按照文档的解释:
1)在系统上线的时候,用于批量的导入期初库存信息;
2)操作路径为:【库存管理】>【期初库存】;
3)在列表页面,选择“增加 期初库存”按钮,进入表单页面;
4)输入相关信息,从本地上传修改后的CSV文档;
5)先保存,后执行“入库”操作;
6)注意:本文档为csv格式,请使用excel编辑;
完全找不到对应的选项。
用的python2.7 django1.8.3 mysql5.6 同步数据库时候出错:django.db.utils.ProgrammingError: (1146, "Table 'mis.basedata_valuelistitem' doesn't exist") 请问是怎么回事?需要怎么处理?O(∩_∩)O谢谢
这个项目用的是mysql,不知道是否可以吧sql文件直接导入到pgsql中进行使用呢?
python版本是多少?
有没部署文档之类的东西?
我在运行时,无法运行。
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
一直提示如上报错,郁闷
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.