[IMP] developer/reference/cli: neutralize

This commit is contained in:
Chris Smith 2025-02-06 09:16:40 +01:00 committed by Julien Castiaux
parent 92a90f60e8
commit 331f745e8d
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,5 @@
.. _neutralized_database:
====================
Neutralized database
====================

View File

@ -702,6 +702,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:`Neutralized Database <../../administration/neutralized_database>`
Scaffolding
===========