Nhà phát triển¶
- Bài hướng dẫn
- Setup guide
- Server framework 101
- Chapter 1: Architecture Overview
- Chapter 2: A New Application
- Chapter 3: Models And Basic Fields
- Chapter 4: Security - A Brief Introduction
- Chapter 5: Finally, Some UI To Play With
- Chapter 6: Basic Views
- Chapter 7: Relations Between Models
- Chapter 8: Computed Fields And Onchanges
- Chapter 9: Ready For Some Action?
- Chapter 10: Constraints
- Chapter 11: Add The Sprinkles
- Chapter 12: Inheritance
- Chapter 13: Interact With Other Modules
- Chapter 14: A Brief History Of QWeb
- Chapter 15: The final word
- Discover the web framework
- Chapter 1: Owl components
- Example: a
Countercomponent - 1. Displaying a counter
- 2. Extract
Counterin a sub component - 3. A simple
Cardcomponent - 4. Using
markupto display html - 5. Props validation
- 6. The sum of two
Counter - 7. A todo list
- 8. Use dynamic attributes
- 9. Adding a todo
- Theory: Component lifecycle and hooks
- 10. Focusing the input
- 11. Toggling todos
- 12. Deleting todos
- 13. Generic
Cardwith slots - 14. Minimizing card content
- Example: a
- Chapter 2: Build a dashboard
- 1. A new Layout
- Theory: Services
- 2. Add some buttons for quick navigation
- 3. Add a dashboard item
- 4. Call the server, add some statistics
- 5. Cache network calls, create a service
- 6. Display a pie chart
- 7. Real life update
- 8. Lazy loading the dashboard
- 9. Making our dashboard generic
- 10. Making our dashboard extensible
- 11. Add and remove dashboard items
- 12. Going further
- Thiết lập
- Content
- Chapter 1: Owl components
- Master the web framework
- Chapter 1: Build a Clicker game
- 1. Create a systray item
- 2. Count external clicks
- 3. Create a client action
- 4. Move the state to a service
- 5. Use a custom hook
- 6. Humanize the displayed value
- 7. Add a tooltip in
ClickValuecomponent - 8. Buy ClickBots
- 9. Refactor to a class model
- 10. Notify when a milestone is reached
- 11. Add BigBots
- 12. Add a new type of resource: power
- 13. Define some random rewards
- 14. Provide a reward when opening a form view
- 15. Add commands in command palette
- 16. Add yet another resource: trees
- 17. Use a dropdown menu for the systray item
- 18. Use a Notebook component
- 19. Persist the game state
- 20. Introduce state migration system
- 21. Add another type of trees
- Chapter 2: Create a Gallery View
- 1. Make a hello world view
- 2. Use the Layout component
- 3. Parse the arch
- 4. Load some data
- 5. Solve the concurrency problem
- 6. Reorganize code
- 7. Make the view extensible
- 8. Display images
- 9. Switch to form view on click
- 10. Add an optional tooltip
- 11. Add pagination
- 12. Validating views
- 13. Uploading an image
- 14. Advanced tooltip template
- Chapter 3: Customize a kanban view
- Thiết lập
- Content
- Chapter 1: Build a Clicker game
- Define module data
- Restrict access to data
- Safeguard your code with unit tests
- Write importable modules
- Reuse code with mixins
- Build PDF Reports
- Build a website theme
- Learn the server and web frameworks
- Expand your knowledge on the server framework
- Hướng dẫn thực hành
- Viết CSS gọn gàng, dễ bảo trì
- Tùy chỉnh một field
- Tùy chỉnh một loại view
- Tạo một client action
- Tạo một ứng dụng Owl độc lập
- Sử dụng các component Owl trên portal và website
- Theme website
- Thiết lập
- Tạo theme
- Layout
- Điều hướng
- Trang
- Media
- Building blocks
- Hình dạng
- Gradient
- Hiệu ứng chuyển động (Animations)
- Biểu mẫu
- Bản dịch
- Đưa vào hoạt động
- Web Services
- Hướng dẫn về đa công ty
- Tạo báo cáo tùy chỉnh
- Bản địa hóa kế toán
- Dịch module
- Kết nối với thiết bị
- Nâng cấp một cơ sở dữ liệu đã tùy chỉnh
- Phát triển frontend
- Phát triển phía server
- Phát triển tùy chỉnh
- Tài liệu tham khảo
- Server framework
- ORM API
- Data Files
- Actions
- QWeb Reports
- Module Manifests
- Security in Odoo
- Performance
- Testing Odoo
- Web Controllers
- Mixins and Useful Classes
- Web framework
- Framework Overview
- Assets
- Javascript Modules
- Owl components
- Registries
- Services
- Hooks
- Patching code
- Error handling
- Javascript Reference
- Mobile JavaScript
- QWeb Templates
- Odoo Editor
- User interface
- Standard modules
- Command-line interface (CLI)
- Version
help- Show available commandsserver- Run the Server- Configuration file
shell- Open a Shelldb- Manage a Databaseneutralize- Neutralize a Databasescaffold- Scaffold a Modulepopulate- Populate a Databasecloc- Count Lines of Codeobfuscate- Obfuscate databasedeploy- Deploy module remotely
- Upgrades
- External API
- Extract API
- Server framework
Chào mừng bạn đến với tài liệu dành cho nhà phát triển của Odoo! Cho dù bạn là một nhà phát triển dày dạn kinh nghiệm hay mới bắt đầu, bạn sẽ tìm thấy ở đây tất cả hướng dẫn kỹ thuật và tài nguyên cần thiết để phát triển các ứng dụng Odoo. Khám phá bộ sưu tập phong phú các bài hướng dẫn, hướng dẫn thực hành và tài liệu tham khảo để đạt được mục tiêu phát triển của bạn.
Hệ sinh thái phát triển của Odoo được xây dựng trên một kiến trúc theo module và có khả năng mở rộng, cho phép bạn mở rộng các ứng dụng hiện có hoặc tạo ra những ứng dụng mới nhằm đáp ứng nhu cầu cụ thể của các doanh nghiệp hiện đại. Bạn có thể tận dụng các công cụ và framework mà Odoo cung cấp để tập trung vào việc đưa ứng dụng web của mình vào hoạt động nhanh chóng, mà không cần phải làm lại từ đầu hay lo lắng về hạ tầng bên dưới.
Nếu bạn mới làm quen với Odoo hoặc phát triển ứng dụng web, hãy bắt đầu với bài hướng dẫn Server framework 101.
Bài hướng dẫn
Các bài hướng dẫn sẽ dẫn dắt bạn từng bước qua các bài tập thực hành để xây dựng kỹ năng và làm quen với việc phát triển trên Odoo.
Hướng dẫn thực hành
Các công thức cung cấp hướng dẫn từng bước để giải quyết các vấn đề và tình huống thực tế.
Tài liệu tham khảo
Mô tả kỹ thuật và thông tin thực tế về các framework và API của Odoo.