@@ -208,6 +208,8 @@ data files provide shorter alternatives to defining them using
208208
209209Defines an ``ir.ui.menu `` record with a number of defaults and fallbacks:
210210
211+ .. rst-class :: o-definition-list 
212+ 
211213``parent ``
212214    * If a ``parent `` attribute is set, it should be the :term: `external id `
213215      of an other menu item, used as the new item's parent
@@ -239,6 +241,8 @@ Defines an ``ir.ui.menu`` record with a number of defaults and fallbacks:
239241Creates a :ref: `QWeb view  <reference/view_architectures/qweb >` requiring only the ``arch ``
240242section of the view, and allowing a few *optional * attributes:
241243
244+ .. rst-class :: o-definition-list 
245+ 
242246``id ``
243247    the view's :term: `external identifier `
244248``name ``, ``inherit_id ``, ``priority ``
@@ -249,13 +253,61 @@ section of the view, and allowing a few *optional* attributes:
249253    as a primary
250254``groups ``
251255    comma-separated list of group :term: `external identifiers `
252- ``page ``
253-     if set to ``"True" ``, the template is a website page (linkable to,
254-     deletable)
255- ``optional ``
256-     ``enabled `` or ``disabled ``, whether the view can be disabled (in the
257-     website interface) and its default status. If unset, the view is always
258-     enabled.
256+ ``active ``
257+     indicates whether the view is active. If inactive, its XPath rules won’t be
258+     applied, which is thus mainly relevant for views with ``inherit_id ``
259+ 
260+     .. note ::
261+ 
262+         Defining the ``active `` value on the ``<template> `` node itself comes
263+         with a subtlety: it is only considered when creating the record. On
264+         subsequent updates, the view will be updated but not its ``active ``
265+         status.
266+ 
267+ .. _reference/data/asset :
268+ 
269+ ``asset ``
270+ --------- 
271+ 
272+ Creates an :ref: `asset  <frontend/assets/ir_asset >`.
273+ 
274+ .. example ::
275+     .. code-block :: xml 
276+ 
277+         <asset  id =" website_something.some_style_asset"   name =" Some style asset"   active =" False"  > 
278+             <bundle >web.assets_frontend</bundle > 
279+             <path >website_something/static/src/some_style.scss</path > 
280+         </asset > 
281+ 
282+  **Attributes **
283+ 
284+ .. rst-class :: o-definition-list 
285+ 
286+ ``id ``
287+     the asset's :term: `external identifier `
288+ ``name ``
289+     same as the corresponding field on ``ir.asset ``
290+ ``active `` (optional)
291+     indicates whether the asset is active
292+ 
293+     .. note ::
294+ 
295+         Same as ``<template> ``, defining the ``active `` value on the ``<asset> ``
296+         node itself comes with a subtlety: it is only considered when creating
297+         the record. On subsequent updates, the asset will be updated but not its
298+         ``active `` status.
299+ 
300+ **Child elements **
301+ 
302+ .. rst-class :: o-definition-list 
303+ 
304+ ``<bundle> `` and ``<path> ``
305+     required to define the corresponding fields on ``ir.asset `` (the
306+     ``directive `` field can be controlled using the ``directive `` attribute on
307+     the ``<bundle> `` child)
308+ 
309+ ``<field> `` (optional)
310+     just like in a normal ``<record> ``, to define more field values as needed
259311
260312.. _reference/data/csvdatafiles :
261313
0 commit comments