From 50b8e83597ec07e091e1a4b62184e148ddcfb6c5 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Fri, 23 Oct 2020 09:07:33 +0000 Subject: [FIX] doc: fix broken anchor closes odoo/odoo#60601 Signed-off-by: Antoine Vandevenne (anv) --- doc/reference/cmdline.rst | 2 +- doc/reference/testing.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/reference') 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`, it allows automatic data +:ref:`implemented on a given model `, 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 -- cgit v1.2.3