diff options
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/cmdline.rst | 2 | ||||
| -rw-r--r-- | doc/reference/testing.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index a1a922c1a06..7936a32b888 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -566,7 +566,7 @@ Database Population .. program:: odoo-bin populate Odoo CLI supports database population features. If the feature is -:ref:`implemented on a given model<reference/testing/populate/methods>`, it allows automatic data +:ref:`implemented on a given model <reference/testing/populate/methods>`, it allows automatic data generation of the model's records to test your modules in databases containing non-trivial amounts of records. .. code-block:: console diff --git a/doc/reference/testing.rst b/doc/reference/testing.rst index 346f369a828..dc0b9e1823a 100644 --- a/doc/reference/testing.rst +++ b/doc/reference/testing.rst @@ -556,10 +556,10 @@ Instead of the tedious manual, or programmatic, specification of test data, one can use this feature to fill a database on demand with the desired number of test data. This can be used to detect diverse bugs or performance issues in tested flows. -To specify this feature for a given model, the following methods and attributes can be defined. - .. _reference/testing/populate/methods: +To specify this feature for a given model, the following methods and attributes can be defined. + .. currentmodule:: odoo.models .. autoattribute:: Model._populate_sizes |
