changeset c074466cda3e in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=c074466cda3e
description:
        Do not refer to activated modules as installed

        issue9395
        review311721004
diffstat:

 doc/topics/modules/index.rst |  6 +++---
 trytond/commandline.py       |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 6260dea933aa -r c074466cda3e doc/topics/modules/index.rst
--- a/doc/topics/modules/index.rst      Thu Jul 09 00:34:01 2020 +0200
+++ b/doc/topics/modules/index.rst      Thu Jul 09 10:33:42 2020 +0100
@@ -38,7 +38,7 @@
      *may* depend.
 
    * ``xml``: The one per line list of the XML files of the module. They will
-     be loaded in the given order at the installation or update of the module.
+     be loaded in the given order when the module is activated or updated.
 
 Here is an example::
 
@@ -116,7 +116,7 @@
 
         * ``noupdate`` to prevent the framework to update the records,
         * ``depends`` to import data only if all modules in the comma separated
-          module list value are installed,
+          module list value are activated,
         * ``grouped`` to create records at the end with a grouped call.
 
     * ``record``: Create a record of the model defined by the attribute
@@ -149,7 +149,7 @@
           string.
 
         * ``depends``: set value only if all modules in the comma separated
-          module list value are installed.
+          module list value are activated.
 
         .. note::
             Field content is considered as a string. So for fields that require
diff -r 6260dea933aa -r c074466cda3e trytond/commandline.py
--- a/trytond/commandline.py    Thu Jul 09 00:34:01 2020 +0200
+++ b/trytond/commandline.py    Thu Jul 09 10:33:42 2020 +0100
@@ -64,9 +64,9 @@
     parser = get_parser()
 
     parser.add_argument("-u", "--update", dest="update", nargs='+', default=[],
-        metavar='MODULE', help="update a module")
+        metavar='MODULE', help="activate or update a module")
     parser.add_argument("--all", dest="update", action="append_const",
-        const="ir", help="update all installed modules")
+        const="ir", help="update all activated modules")
     parser.add_argument("--activate-dependencies", dest="activatedeps",
         action="store_true",
         help="Activate missing dependencies of updated modules")

Reply via email to