[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:
Antoine Vandevenne (anv)
2023-04-03 14:22:08 +00:00
parent 12f418f11d
commit 89927ff965
9 changed files with 25 additions and 18 deletions

View File

@@ -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
=======================

View File

@@ -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
===============