From 331f745e8d9d943b60d54c4bdf9388601c582998 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 6 Feb 2025 09:16:40 +0100 Subject: [PATCH] [IMP] developer/reference/cli: neutralize --- .../administration/neutralized_database.rst | 2 ++ content/developer/reference/cli.rst | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/content/administration/neutralized_database.rst b/content/administration/neutralized_database.rst index 8f6772503..51fd1f580 100644 --- a/content/administration/neutralized_database.rst +++ b/content/administration/neutralized_database.rst @@ -1,3 +1,5 @@ +.. _neutralized_database: + ==================== Neutralized database ==================== diff --git a/content/developer/reference/cli.rst b/content/developer/reference/cli.rst index b9b424888..6441f469e 100644 --- a/content/developer/reference/cli.rst +++ b/content/developer/reference/cli.rst @@ -702,6 +702,30 @@ interaction with the :ref:`orm ` and its functionalities. .. _reference/cmdline/scaffold: +Neutralize +========== + +.. program:: odoo-bin neutralize + +The Odoo command line allows for neutralizing a database as well. The command must be run with a +database option. + +.. code-block:: console + + $ odoo-bin --addons-path neutralize -d + +.. option:: -d + + Specify the database name that you would like to neutralize. + + +.. option:: --stdout + + Output the neutralization SQL instead of applying it + +.. seealso:: + :doc:`Neutralized Database <../../administration/neutralized_database>` + Scaffolding ===========