[FW][IMP] developer/reference/cli: neutralize option

closes odoo/documentation#12171

Forward-port-of: odoo/documentation#11478
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Chris Smith <cgsmith105@gmail.com>
Co-authored-by: Chris Smith <chris@cgsmith.net>
This commit is contained in:
Odoo's Mergebot
2025-03-05 13:27:09 +00:00
parent 64c150663c
commit 47791ada79

View File

@@ -715,6 +715,30 @@ interaction with the :ref:`orm <reference/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 <PATH,...> neutralize -d <database>
.. option:: -d <database, --database <database>
Specify the database name that you would like to neutralize.
.. option:: --stdout
Output the neutralization SQL instead of applying it
.. seealso::
:doc:`../../administration/neutralized_database`
Scaffolding
===========