summaryrefslogtreecommitdiff
path: root/doc/reference/cmdline.rst
AgeCommit message (Collapse)Author
2020-10-23[FIX] doc: fix broken anchorAntoine Vandevenne (anv)
closes odoo/odoo#60601 Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2020-07-16[FIX] doc: update cloc documentationThibault Francois
After the commit 2a57a156c7b8e81c01afa095b3291361d208611f Cloc excluded by default one more folder, it should appear in the documentation of the tools closes odoo/odoo#54609 X-original-commit: 93261c787d1152c94856ef31a1600a4cdab8b83b Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-06-09[ADD] odoo-bin cloc cli subcommand.Antony Lesuisse
Odoo cloc is a tool to count the number of relevant lines written in Python, Javascript or XML. This can be used as rough metric for pricing maintenance of customizations. It has two modes of operation, either by providing a path: odoo-bin cloc -p module_path Or by providing the name of a database: odoo-bin cloc --addons-path=dirs -d database In the latter mode, only the custom code is accounted for. Both modes can be used simultaneously. Files that cannot be parsed are shown at the end of the report. Parsing can fail due to syntax errors or excessive file size. closes odoo/odoo#52635 X-original-commit: ae858c3ac66267b4726db459032b91a6be1cc1d6 Related: odoo/enterprise#11018 Signed-off-by: Olivier Dony (odo) <odo@openerp.com> Co-authored-by: Thibault Francois <tfr@odoo.com> Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2020-05-13[IMP] doc: add information on the new populate feature.Victor Feyens
* Cmdline interface: how to trigger database population * Testing: how to implement database population on a given model. * autodocumentation of the population methods + improve population methods docstrings. closes odoo/odoo#50596 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-16[FIX] tests,tools: remove unused codeRomeo Fragomeli
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>
2019-10-24[FIX] doc: configuration section to use for cli argsAdrien Horgnies
2019-09-24[MERGE] forward port branch saas-12.4 up to 9ed4872ea03Christophe Simonis
closes odoo/odoo#37372 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-20[IMP] doc: rewrite of the source install pageAntoine Vandevenne (anv)
Prior to this commit, the documentation page for the installation of Odoo had lots of inconsistencies, errouneous information and a bad structure. This commit restructures the page to split the Source Install chapter into three sections for Windows, Linux and Mac OS. Each section is entirely rewritten to be accurate, logical, clean, easy to understand and focused on its purpose (removed tutorials of non-Odoo softwares). task-2072822 closes odoo/odoo#37001 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-09-18[DOC] cmdline/odoo-bin : add --without-demo, shell + reorganizeVictor Feyens
closes odoo/odoo#36809 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-18[DOC] cmdline scaffold exampleVictor Feyens
2019-09-18[DOC] batch of UI, Https, linter correctionsVictor Feyens
2019-09-13[MERGE] forward port branch saas-12.4 up to fe59754c520Christophe Simonis
closes odoo/odoo#36721 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-03[MERGE] forward port branch 12.0 up to 82c0e9b620bChristophe Simonis
2019-09-02[MERGE] forward port branch saas-11.3 up to 79ff916b596Christophe Simonis
2019-09-02[MERGE] forward port branch 11.0 up to 61a85ccf8f9Christophe Simonis
2019-09-02[MERGE] forward port branch saas-15 up to dc934d67ddeChristophe Simonis
2019-08-29[FIX] doc: explanation for pg_pathRichard Mathot
opw-2060249 closes odoo/odoo#36223 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-07-19[IMP] tests: save screenshots and screencasts in tempChristophe Monniez
Actually, when a browser_js test is running, screencasts and screenshots are saved only if a "--logfile" parameter is specified. This is problematic with the runbot because '--logfile' arg is not provided when running tests. Also, in most situations, developpers prefer to have logs on stdout. With this commit, two CLI args are added to specify screencasts and screenshots directories. If no screenshots dir is provided, it defaults to "{tmp_dir}/odoo_tests/{db_name}/screenshots". It means that screenshots are always enabled during browser_js tests. If screencasts arg is given, it enables screencasts and save them in "DIR/{db_name}/screencasts". If the screencasts parameter is "1", DIR will be the same as for screenshots. The ffmpeg tools is used to encode frames into a video. If the ffmpeg tool is not found on the system, the frames are kept as pngs files instead. closes odoo/odoo#34640 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2018-11-27[REM] builtin logrotate featuresXavier Morel
It's completely FUBAR when using workers[0] and properly reimplementing it is not really worth the effort when logrotate(8) and newsyslog(8) exist (or cyclog/multilog/cronolog if you subscribe to the "logrotate and newsyslog are a design that should be consigned to history" school of thought). [0] https://stackoverflow.com/questions/34186774/why-doesnt-timedrotatingfilehandler-work-properly-and-how-to-solve-this-issuer closes odoo/odoo#29073
2018-10-01[MERGE] forward port branch saas-11.4 up to 57e387b6452Christophe Simonis
2018-09-26[MERGE] forward port branch 11.0 up to fd122aec521Christophe Simonis
2018-08-01[MERGE] forward port branch saas-11.4 up to 8d9366197e1Christophe Simonis
2018-07-26[MERGE] forward port branch 11.0 up to 1353abecbe3Christophe Simonis
2018-07-26[IMP] doc: add logrotate warning in cmdline docThibaud Ducasse
Fixes #24542
2018-09-21[MERGE] forward port branch saas-15 up to d23601cc671Christophe Simonis
closes odoo/odoo#27156
2018-09-19[DOC] cmdline: proper default for limit-memoryzeroheure
The default values for --limit-memory-(soft|hard) had been changed in Odoo v8.0, but this change wasn't reflected in the cmdline --help. Closes #22315
2018-07-20[DOC] cmdline,testing: add documentation for test-tagsChristophe Monniez
Closes #25789
2018-07-19[MERGE] forward port branch saas-11.4 up to 1f7a39964b3Christophe Simonis
2018-07-16[FIX] doc: remove duplicated sectionMartin Trigaux
Was already present in the Internationalisation section
2018-06-29[IMP] doc: update cmdline doc for 3edd504f17a2fe435ccd8235037e96c11ba96c18Olivier Dony
2018-06-14[MERGE] forward port branch saas-15 up to a53bea49fe4Christophe Simonis
2018-06-14[MERGE] forward port branch 9.0 up to 90165e2d96aChristophe Simonis
2018-06-13[IMP] doc: add i18n section to command line referenceAntonio Espinosa
Closes #14042
2018-02-27[ADD] doc: add missing params and profilingMartin Trigaux
* Add some missing database parameters in documentation * Explain how to profile code Closes #22554
2018-02-20[MERGE] forward port branch saas-16 up to 98d01e46e5aChristophe Simonis
2018-02-19[MERGE] forward port branch 9.0 up to 5d086cea9b9Christophe Simonis
2018-02-19[FIX] doc: update default valuesJordi Ballester Alomar
limit_memory_soft and limit_memory_hard had values default different that the ones written in the documentation Introduced at 3ef93918a Closes #23131
2017-09-29[IMP] server: rename xmlrpc* related parametersOlivier Dony
The 'xmlrpc'-based configuration parameters have been a misnomer since the introduction of the generic HTTP service, years ago. Hide these options from the server parameters, and replace them with more appropriate 'http' ones: --xmlrpc-interface -> --http-interface --xmlrpc-port -> --http-port --no-xmlrpc -> --no-http The config entries for these have been adapted as well. The old parameter names are still silently supported in both command-line arguments and config files. However they are stored with the new names in the `tools.config` dict, and when saving config files (with the -s option). Also clarified and cleaned up the descriptions of the HTTP/WEB server parameters. And finally, added a short version `-p`, for the `--http-port` option. Credits to @dreispt for this (via #19518) Closes #19518 Closes #19778
2017-08-23[MERGE] forward port branch saas-16 up to aec6248bb37Christophe Simonis
2017-08-14[IMP] doc: explain db-filter caseMartin Trigaux
The %d %h options in db-filter are case sensitive but the URL are not. If you happen to use databases with uppercase in the name, using (?i) may be needed to match the correct database. Fixes #17407
2017-07-03[FIX] doc warningsXavier Morel
* add Sphinx 1.6 compatibility (use app.set_translator when available as in that case programmatically setting html_translator_class is broken) * fix a bunch of code block lexers to avoid warnings & get better coloration * add a few options which were referred to without being actually defined * fix some rST formatting
2017-06-16[FIX] doc: bad title sizeMartin Trigaux
2016-12-02[FIX] doc: Updated link for ProxyFixWhitley
Dead link Closes #14484
2016-10-12[FIX] doc: change references to odoo.py to odoo-binMartin Trigaux
2016-10-11[FIX] doc: building correctly autoclass referencesMartin Trigaux
2016-09-30[REF] cli: renamed .rc configuration fileSimon Lejeune
A fallback for .openerp_serverrc has been implemented. If both are present, Odoo will crash and report.
2016-05-24[MERGE] forward port of branch saas-10 up to fac4cc7Christophe Simonis
2016-05-23[FIX] doc: corrects spelling errors for cmdlineCody Kitterman
From #12028
2016-04-27[ADD] doc: add doc about dev modeJeremy Kersten
Remove the debug mode that has been merged into `--dev pdb`
2016-04-11[MERGE] Forward-port saas-6 up to edf81b54b593f9bf1d7001fd74da87dab6229d3eOlivier Dony