From 220fd433c9d95a2ec7df7b22678fdb9db7366484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 25 Mar 2025 09:30:22 +0100 Subject: [PATCH] Add checkout option to cookiecutter command line in tutorial --- trytond/doc/tutorial/module/setup.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trytond/doc/tutorial/module/setup.rst b/trytond/doc/tutorial/module/setup.rst index e403abeb87..2aea605415 100644 --- a/trytond/doc/tutorial/module/setup.rst +++ b/trytond/doc/tutorial/module/setup.rst @@ -34,7 +34,7 @@ The Tryton template can be rendered into a module with: .. code-block:: console - $ cookiecutter hg+https://code.tryton.org/tryton --directory cookiecutter-module + $ cookiecutter hg+https://code.tryton.org/tryton --directory cookiecutter-module --checkout x.y module_name [my_module]: opportunity prefix []: tuto package_name [tuto_opportunity]: @@ -48,8 +48,8 @@ The Tryton template can be rendered into a module with: test_with_scenario []: .. note:: - The version number must use the same two first numbers as the Tryton series - wanted. + The version number ``x.y`` must use the same two first numbers as the Tryton + series wanted. Install module --------------