summaryrefslogtreecommitdiff
path: root/odoo/tools
diff options
context:
space:
mode:
authorRomeo Fragomeli <rfr@odoo.com>2020-04-08 10:53:00 +0000
committerRomeo Fragomeli <rfr@odoo.com>2020-04-16 13:28:07 +0000
commitfbd1d7584a0c7c505c1af8a18ae245ac2aac52a6 (patch)
tree46895f73fa68242aacfabc63a2a4e3d25493ae63 /odoo/tools
parentf91665ac6636a76a7eaefbfdcd7049e0aea471b3 (diff)
[FIX] tests,tools: remove unused code
Due to this commit: odoo/odoo@0ea67467b1301b39a263a386a622e931784eb0de ( https://github.com/odoo/odoo/blob/0ea67467b1301b39a263a386a622e931784eb0de/odoo/tools/config.py#L521 ) the screencasts value is not a string anymore but a valid PATH. So now you can't set '1', 'true' or 't' to force to have the same directory as the screenshot dir. Steps to reproduce: odoo-bin ... --screencasts 1 (with a failed JS test to produce a screencast) closes odoo/odoo#49665 X-original-commit: ab1bf59a3b78f3c0857755cb2439636b6df297c3 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com> Signed-off-by: rfr-odoo <rfr-odoo@users.noreply.github.com>
Diffstat (limited to 'odoo/tools')
-rw-r--r--odoo/tools/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tools/config.py b/odoo/tools/config.py
index a50e3a8460c..8489775af85 100644
--- a/odoo/tools/config.py
+++ b/odoo/tools/config.py
@@ -174,7 +174,7 @@ class configmanager(object):
group.add_option("--screencasts", dest="screencasts", action="store", my_default=None,
metavar='DIR',
- help="Screencasts will go in DIR/{db_name}/screencasts. '1' can be used to force the same dir as for screenshots.")
+ help="Screencasts will go in DIR/{db_name}/screencasts.")
temp_tests_dir = os.path.join(tempfile.gettempdir(), 'odoo_tests')
group.add_option("--screenshots", dest="screenshots", action="store", my_default=temp_tests_dir,
metavar='DIR',