Skip to content

Commit d87a254

Browse files
robodoocgsmith
andcommitted
[FW][IMP] developer/reference/cli: neutralize option
closes #12264 Forward-port-of: #11478 Signed-off-by: Antoine Vandevenne (anv) <[email protected]> Co-authored-by: Chris Smith <[email protected]> Co-authored-by: Chris Smith <[email protected]>
1 parent 14de189 commit d87a254

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

content/developer/reference/cli.rst

+24
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,30 @@ interaction with the :ref:`orm <reference/orm>` and its functionalities.
714714

715715
.. _reference/cmdline/scaffold:
716716

717+
Neutralize
718+
==========
719+
720+
.. program:: odoo-bin neutralize
721+
722+
The Odoo command line allows for neutralizing a database as well. The command must be run with a
723+
database option.
724+
725+
.. code-block:: console
726+
727+
$ odoo-bin --addons-path <PATH,...> neutralize -d <database>
728+
729+
.. option:: -d <database, --database <database>
730+
731+
Specify the database name that you would like to neutralize.
732+
733+
734+
.. option:: --stdout
735+
736+
Output the neutralization SQL instead of applying it
737+
738+
.. seealso::
739+
:doc:`../../administration/neutralized_database`
740+
717741
Scaffolding
718742
===========
719743

0 commit comments

Comments
 (0)