[IMP] tutorials/js_framework: retarget links to the current major branch
Commits pushed on the odoo/tutorials repository are not automatically
forward-ported, which makes it cumbersome to keep all SaaS branches up
to date.
Because of this, and because Odoo developers are very unlikely to follow
tutorials specific to a SaaS branch, links to odoo/tutorials now target
the current major branch, or master if applicable. SaaS branches have
also been deleted from the odoo/tutorials repository.
X-original-commit: ce14b2cfb5
Part-of: odoo/documentation#4281
This commit is contained in:
parent
12f418f11d
commit
89927ff965
@ -34,7 +34,7 @@ Setup
|
||||
=====
|
||||
|
||||
#. Clone the `official Odoo tutorials repository <https://github.com/odoo/tutorials>`_ and switch to
|
||||
the branch `{BRANCH}`.
|
||||
the branch `{CURRENT_MAJOR_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`.
|
||||
|
||||
|
@ -16,8 +16,9 @@ Before getting into the exercises, make sure you have followed all the steps des
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/owl_playground>`_. It is
|
||||
recommended to try to solve them first without looking at the solution!
|
||||
repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/owl_playground>`_. It
|
||||
is recommended to try to solve them first without looking at the solution!
|
||||
|
||||
.. tip::
|
||||
If you use Chrome as your web browser, you can install the `Owl Devtools` extension. This
|
||||
@ -67,7 +68,7 @@ and defines a part of user interface:
|
||||
|
||||
You maybe noticed the `owl="1"` temporary attribute, it allows Odoo to differentiate Owl
|
||||
templates from the old JavaScript framework templates. Note that Owl templates are not the same
|
||||
as QWeb templates: they can contain additional directives, such as `t-on-click`.
|
||||
as QWeb templates: they can contain additional directives, such as `t-on-click`.
|
||||
|
||||
1. Displaying a counter
|
||||
=======================
|
||||
|
@ -30,8 +30,9 @@ addon. We will progressively add features to it, using the odoo framework.
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/awesome_tshirt>`_.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/awesome_tshirt>`_.
|
||||
|
||||
1. A new Layout
|
||||
===============
|
||||
|
@ -28,7 +28,7 @@ Setup
|
||||
=====
|
||||
|
||||
#. Clone the `official Odoo tutorials repository <https://github.com/odoo/tutorials>`_ and switch to
|
||||
the branch `{BRANCH}`.
|
||||
the branch `{CURRENT_MAJOR_BRANCH}`.
|
||||
#. Add the cloned repository to the :option:`--addons-path <odoo-bin --addons-path>`.
|
||||
#. Start a new Odoo database and install the modules `awesome_tshirt` and `awesome_gallery`.
|
||||
|
||||
|
@ -8,9 +8,10 @@ like Chart.js. Now, let's learn how to create new fields and views.
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/awesome_tshirt>`_. It is
|
||||
recommended not to look at them before trying the exercises.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/awesome_tshirt>`_. It
|
||||
is recommended not to look at them before trying the exercises.
|
||||
|
||||
Fields and views are among the most important concepts in the Odoo user interface. They are key to
|
||||
many important user interactions, and should therefore work perfectly. In the context of the
|
||||
|
@ -43,8 +43,9 @@ discover in the feature-rich Odoo web framework, so let's dive in and explore mo
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/awesome_tshirt>`_.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/awesome_tshirt>`_.
|
||||
|
||||
1. Interacting with the notification system
|
||||
===========================================
|
||||
|
@ -26,8 +26,9 @@ orders linked to that customer.
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/awesome_tshirt>`_.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/awesome_tshirt>`_.
|
||||
|
||||
1. Create a new kanban view
|
||||
===========================
|
||||
|
@ -35,8 +35,9 @@ addon includes the necessary server files to add a new view.
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions/awesome_gallery>`_.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions/awesome_gallery>`_.
|
||||
|
||||
1. Make a hello world view
|
||||
==========================
|
||||
|
@ -7,8 +7,9 @@ introduce (too many) bugs or regressions. Let us see how to test our code.
|
||||
|
||||
.. spoiler:: Solutions
|
||||
|
||||
The solutions for each exercise of the chapter are hosted on the `official Odoo tutorials
|
||||
repository <https://github.com/odoo/tutorials/commits/{BRANCH}-solutions>`_.
|
||||
The solutions for each exercise of the chapter are hosted on the
|
||||
`official Odoo tutorials repository
|
||||
<https://github.com/odoo/tutorials/commits/{CURRENT_MAJOR_BRANCH}-solutions>`_.
|
||||
|
||||
1. Integration testing
|
||||
======================
|
||||
|
Loading…
Reference in New Issue
Block a user