docs: Update file references and add repository information in documentation

- Revised file paths in CLAUDE.md, README_EN.md, and README.md to remove absolute paths and use relative paths for better portability.
- Added a new section in both README files to provide repository information, enhancing user accessibility to the project.
- Included setup instructions for AI IDEs in the README files to facilitate integration with coding assistants, improving overall documentation usability.
This commit is contained in:
HoaiNam
2026-01-19 14:38:03 +07:00
parent 9505fc13bf
commit 0a5099a883
3 changed files with 51 additions and 15 deletions
+9 -5
View File
@@ -108,8 +108,12 @@ def _check_partner(self):
## Content Source
All guides are based on analysis of Odoo 18 base code located at:
- `/Users/unclecat/dtg/odoo/odoo/models.py` - ORM implementation
- `/Users/unclecat/dtg/odoo/odoo/fields.py` - Field types
- `/Users/unclecat/dtg/odoo/odoo/api.py` - Decorators
- `/Users/unclecat/dtg/odoo/odoo/http.py` - HTTP layer
- `/Users/unclecat/dtg/odoo/odoo/exceptions.py` - Exception types
- `odoo/models.py` - ORM implementation
- `odoo/fields.py` - Field types
- `odoo/api.py` - Decorators
- `odoo/http.py` - HTTP layer
- `odoo/exceptions.py` - Exception types
## Repository
`git@github.com:unclecatvn/agent-skills.git`
+21 -5
View File
@@ -151,14 +151,30 @@ Cần định nghĩa hành vi method?
└── Method record bình thường → không cần decorator
```
## Hướng dẫn cài đặt cho AI IDEs
> **Xem [odoo/18.0/AGENTS.md](odoo/18.0/AGENTS.md)** để biết cách sử dụng tài liệu này với Cursor, Claude Code, OpenCode, GitHub Copilot, v.v.
### Cách nhanh nhất (Cursor - Remote Rules)
1. `Settings``Rules``Add Remote Rule`
2. URL: `git@github.com:unclecatvn/agent-skills.git`
3. Branch: `odoo/18.0`
Done! Rules tự động áp dụng cho TẤT CẢ projects của bạn.
## Nguồn tài liệu
Tất cả các hướng dẫn được dựa trên phân tích mã nguồn Odoo 18 gốc:
- `/Users/unclecat/dtg/odoo/odoo/models.py` - ORM implementation
- `/Users/unclecat/dtg/odoo/odoo/fields.py` - Field types
- `/Users/unclecat/dtg/odoo/odoo/api.py` - Decorators
- `/Users/unclecat/dtg/odoo/odoo/http.py` - HTTP layer
- `/Users/unclecat/dtg/odoo/odoo/exceptions.py` - Exception types
- `odoo/models.py` - ORM implementation
- `odoo/fields.py` - Field types
- `odoo/api.py` - Decorators
- `odoo/http.py` - HTTP layer
- `odoo/exceptions.py` - Exception types
## Repository
`git@github.com:unclecatvn/agent-skills.git`
## Giấy phép
+21 -5
View File
@@ -151,14 +151,30 @@ Need to define method behavior?
└── Normal record method → no decorator needed
```
## AI IDE Setup
> **See [odoo/18.0/AGENTS.md](odoo/18.0/AGENTS.md)** for instructions on using this documentation with Cursor, Claude Code, OpenCode, GitHub Copilot, etc.
### Quick Setup (Cursor - Remote Rules)
1. `Settings``Rules``Add Remote Rule`
2. URL: `git@github.com:unclecatvn/agent-skills.git`
3. Branch: `odoo/18.0`
Done! Rules auto-apply to ALL your projects.
## Source Reference
All guides are based on analysis of Odoo 18 base source code:
- `/Users/unclecat/dtg/odoo/odoo/models.py` - ORM implementation
- `/Users/unclecat/dtg/odoo/odoo/fields.py` - Field types
- `/Users/unclecat/dtg/odoo/odoo/api.py` - Decorators
- `/Users/unclecat/dtg/odoo/odoo/http.py` - HTTP layer
- `/Users/unclecat/dtg/odoo/odoo/exceptions.py` - Exception types
- `odoo/models.py` - ORM implementation
- `odoo/fields.py` - Field types
- `odoo/api.py` - Decorators
- `odoo/http.py` - HTTP layer
- `odoo/exceptions.py` - Exception types
## Repository
`git@github.com:unclecatvn/agent-skills.git`
## License