mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 09:49:17 +07:00
This commit splits the 7 chapters of the JS tutorial in two smaller and more focused tutorials: - a basic one (Discover the JS framework) - and an advanced one (Master the odoo web framework)
48 lines
1.8 KiB
ReStructuredText
48 lines
1.8 KiB
ReStructuredText
:show-content:
|
|
|
|
.. _tutorials/discover_js_framework:
|
|
|
|
========================================
|
|
Discover the JS Framework
|
|
========================================
|
|
|
|
.. toctree::
|
|
:titlesonly:
|
|
:glob:
|
|
|
|
discover_js_framework/*
|
|
|
|
This tutorial is designed to introduce you to the basics of the Odoo Javascript framework.
|
|
Whether you are new to the framework or have some prior experience, this tutorial will provide
|
|
you with a solid foundation for using Odoo javascript in your projects.
|
|
|
|
This tutorial is divided into two parts. The first part will cover the basics of Owl components,
|
|
which are a key part of the Odoo JS 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.
|
|
|
|
The second part of the tutorial will 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 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 :doc:`Getting started </developer/tutorials/getting_started>` tutorial before
|
|
proceeding with this one.
|
|
|
|
.. _tutorials/discover_js_framework/setup:
|
|
|
|
Setup
|
|
=====
|
|
|
|
- Clone the `official Odoo tutorials repository <https://github.com/odoo/tutorials>`_ and switch to
|
|
the branch `{BRANCH}`.
|
|
- Add the cloned repository to the :option:`--addons-path <odoo-bin --addons-path>`.
|
|
- Start a new Odoo database and install the modules `owl_playground` and `awesome_tshirt`
|
|
|
|
Content
|
|
=======
|
|
|
|
* :doc:`discover_js_framework/01_owl_components`
|
|
* :doc:`discover_js_framework/02_web_framework`
|