Khám phá web framework¶
This two parts tutorial is designed to introduce you to the basics of the web framework. Whether you are new to the framework or have some prior experience, this tutorial will provide you with a solid foundation for using the web framework in your projects.
The first part covers the basics of Owl components, which are a key part of the web framework. Owl components are reusable UI components that can be used to build complex web interfaces quickly and efficiently. We will explore how to create and use Owl components in Odoo. Then, in the second part of this tutorial, we focus on creating a dashboard using various features of Odoo. Dashboards are an essential part of any web application, and provide a nice starting point to use and interact with the Odoo codebase.
This tutorial assumes that you have some basic knowledge of development with Odoo in general (models, controllers, QWeb, ...). If you are new to Odoo, we recommend that you start with the Server framework 101 tutorial before proceeding with this one.
Ghi chú
Mỗi chương của hướng dẫn này là một dự án độc lập. Nếu bạn cảm thấy thoải mái với Owl, bạn có thể bắt đầu trực tiếp với chương 2.
Cài đặt¶
Sao chép kho lưu trữ hướng dẫn chính thức của SoOn và chuyển sang nhánh
17.0
.Thêm kho lưu trữ nhân bản vào
--addons-path
của bạn.Bắt đầu cơ sở dữ liệu SoOn mới và cài đặt các mô-đun
awesome_owl
(cho chương 1) vàawesome_dashboard
(cho chương 2).
Nội dung¶
discover_js_framework/01_owl_comComponents