[IMP] developer/reference/cli: neutralize
This commit is contained in:
parent
92a90f60e8
commit
331f745e8d
@ -1,3 +1,5 @@
|
|||||||
|
.. _neutralized_database:
|
||||||
|
|
||||||
====================
|
====================
|
||||||
Neutralized database
|
Neutralized database
|
||||||
====================
|
====================
|
||||||
|
@ -702,6 +702,30 @@ interaction with the :ref:`orm <reference/orm>` and its functionalities.
|
|||||||
|
|
||||||
.. _reference/cmdline/scaffold:
|
.. _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
|
Scaffolding
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user