summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-08-19 14:43:31 +0200
committerChristophe Simonis <chs@odoo.com>2019-08-19 14:43:31 +0200
commit121034f79a6a4e57ed936c8672fc5f8472ca2cfd (patch)
tree18924689c1b4b90a36d130930d08155172c441ec /doc/reference
parent76a52bdbfbcfe1fc9411e09c122711ce3a102809 (diff)
parent1e4de19cd49c005ebe3b14558e8eca6a1f55e72f (diff)
[MERGE] forward port branch 11.0 up to 1e4de19cd49
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/qweb.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/reference/qweb.rst b/doc/reference/qweb.rst
index c1c7ec8e7c4..cd44ae28235 100644
--- a/doc/reference/qweb.rst
+++ b/doc/reference/qweb.rst
@@ -455,12 +455,16 @@ template inheritance
''''''''''''''''''''
Template inheritance is used to alter existing templates in-place, e.g. to
-add information to templates created by an other modules.
+add information to templates created by other modules.
Template inheritance is performed via the ``t-extend`` directive which takes
the name of the template to alter as parameter.
-The alteration is then performed with any number of ``t-jquery``
+When ``t-extend`` is combined with ``t-name`` a new template with the given name
+is created. In this case the extended template is not altered, instead the
+directives define how to create the new template.
+
+In both cases the alteration is then performed with any number of ``t-jquery``
sub-directives::
<t t-extend="base.template">