# odoo18 **Repository Path**: wxwjw/odoo18 ## Basic Information - **Project Name**: odoo18 - **Description**: odoo18学习 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-27 - **Last Updated**: 2025-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # odoo18 #### 介绍 学习odoo18框架历程 #### 软件架构 软件架构说明 数据层 (Data Layer) 业务逻辑层 (Business Layer) 展示层 (Presentation Layer) #### 安装教程 0. CSDN ODOO老赵地址 https://blog.csdn.net/jiafeitutu/article/details/142789638?spm=1001.2014.3001.5501 1. pycharm 社区版本 2. 编译器 3.11.9 https://www.python.org/ python 3. postgresql 16.8 postgresql下载地址 https://www.postgresql.org/download/?form=MG0AV3 4. odoo18源码地址 Github ODOO 源码 https://github.com/odoo/odoo Gitee镜像 ODOO 源码 https://gitee.com/mirrors/odoo?from=gitee_search 5. vscode 版本 地址 https://code.visualstudio.com/download 6. 若在vscode 执行 pip install -r requirements.txt 时失败 pypi 中下载编译好的版本 地址 https://pypi.org/project/libsass/#files #### 使用说明 0. bilibili odoo老赵地址 https://www.bilibili.com/video/BV1RqC9YbEiV/?spm_id_from=333.788.videopod.sections&vd_source=1fc8815cdec01f4d25e89e4a8bfb88c5 1. odoo知乎介绍 https://zhuanlan.zhihu.com/p/388748782 2. 编程语言排行榜 https://hellogithub.com/report/tiobe/ 3. python官网 https://www.python.org/ 4. python学习资料 https://www.runoob.com/python/python-tutorial.html 5. 前端 HTML、css、JavaScript学习资料 https://www.runoob.com/ 6. python B站视频pink老师地址 https://www.bilibili.com/video/BV14J4114768/?spm_id_frin=333.337.serarch-card.all.click&vd_source=42b07826977d09765ec11b9fa06715e5 7. odoo 开发文档 https://www.odoo.com/documentation/18.0/ #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### pip命令 1. 依赖安装 pip install -r requirements.txt 2. 依赖版本查看 pip list 3. pip版本查看 pip --version 4. python重装pip pip uninstall python #### 个人Gitee地址 https://gitee.com/wxwjw/odoo18.git #### Git命令 ##### 根据Git提交的历史 回退到某一版本 克隆仓库 `git clone https://gitee.com/wxwjw/odoo18.git cd repo` 查看历史 `git log --oneline` 切换到目标版本(例如哈希 a1b2c3d) `git checkout a1b2c3d` (可选)创建新分支保留修改 `git checkout -b fix-old-version` #### python 文件配置 1.odoo.conf 文件配置 `[options] addons_path = addons,myaddons db_host = 127.0.0.1 db_port = 5432 db_name = odoo18 db_filter = odoo18 db_user = wuxian db_password = wuxian load_language = zh_CN log_level = info admin_passwd =root http_port = 8069` 2. python 启动 文件配置 `script odoo-bin args -c odoo.conf -u Demo_estate,Demo_estate_1 --dev=xml`