Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
972403b
[FIX] Makefile: fix CSS compilation for multi-version/lang builds
AntoineVDV Aug 3, 2021
fbb03fc
[REM] developer/upgrade: remove outdated page
Donapi Aug 3, 2021
11c1180
[FIX] makefile: fix overridden css
Xavier-Do Aug 5, 2021
13e6f62
[FIX] core: wrong redirections
Feyensv Aug 3, 2021
0180576
[FIX] Makefile: avoid confusing // in build dir path
Feyensv Aug 6, 2021
ab2f4a6
[I18N] Update translation terms from Transifex
C3POdoo Aug 7, 2021
bb19f02
[I18N] *: export pot files
mart-e Aug 10, 2021
10fa12d
[I18N] Update translation terms from Transifex
C3POdoo Aug 14, 2021
e543a95
[I18N] Update translation terms from Transifex
C3POdoo Aug 21, 2021
5b42479
[FIX] accounting/l10n_mx: Updated Mexican modules list
raf-odoo Aug 25, 2021
cf3a71c
[I18N] Update translation terms from Transifex
C3POdoo Aug 28, 2021
db57097
[I18N] Update translation terms from Transifex
C3POdoo Sep 4, 2021
6c03d2f
[ADD] ebay: new doc for account deletion notifications
dama-odoo Aug 27, 2021
61353e8
[I18N] Update translation terms from Transifex
C3POdoo Sep 11, 2021
cdbfd3a
[IMP] conf: hide saas branches from the version switcher
AntoineVDV Sep 9, 2021
2d7165e
[FIX] subscriptions: wrong Odoo Tutorials link
jcs-odoo Sep 13, 2021
396df2a
[FIX] app/accounting: Fix outdated Colombian test server url
raf-odoo Sep 9, 2021
e59f955
[IMP] maintain: update test doc link in versions upgrade
jcs-odoo Sep 14, 2021
bd0b969
[I18N] Update translation terms from Transifex
C3POdoo Sep 18, 2021
c882af8
[IMP] maintain: set the Odoo.sh end-of-support planned date for v10.0
amigrave Sep 20, 2021
267fe10
[FIX] maintain: upgrade command line link
beledouxdenis Sep 20, 2021
3108c9d
[I18N] Update translation terms from Transifex
C3POdoo Sep 25, 2021
9601d10
[I18N] Update translation terms from Transifex
C3POdoo Oct 2, 2021
eed3c7b
[IMP] contributing: adapt the GitHub workflow to the new doc theme
AntoineVDV Oct 5, 2021
e0c70eb
[REL] supported_versions: update list of versions and add end of support
AntoineVDV Oct 5, 2021
a2eddf9
[IMP] maintain: update versions upgrade
jcs-odoo Oct 11, 2021
550c160
[IMP] maintain: on premise filename change and media movement
jcs-odoo Oct 11, 2021
92230fc
[IMP] upgrade: create new "upgrade" section in "install and maintain"
jcs-odoo Oct 11, 2021
59df6b9
[FIX] extract_api: bring back extract_api doc lost with be1653cc
AntoineVDV Oct 19, 2021
aa0cb28
[FIX] legal/terms: fr: simplify limitation of liability
odony Oct 20, 2021
7fb6742
[CHG] legal/tos: specify pricelist for global customers
odony Oct 20, 2021
a160504
[ADD] point_of_sale: configure https in the POS
qle-odoo Oct 11, 2021
da0eeed
[FIX] developer/reference: fix missing slash in javascript/qweb, debu…
JulienVR Oct 22, 2021
62771ad
[I18N] Update translation terms from Transifex
C3POdoo Oct 23, 2021
4725435
[ADD] maintain: revert and update "db_online"
jcs-odoo Oct 13, 2021
9659cab
[I18N] Update translation terms from Transifex
C3POdoo Oct 30, 2021
f4f962c
[FIX] requirements.txt: Let sphinx manage docutils version
AntoineVDV Nov 3, 2021
77dd769
[FIX] testing: Explain "new" tagging syntax
raf-odoo Oct 29, 2021
09b496f
[IMP] website: update a wrong link (godaddy)
jcs-odoo Nov 3, 2021
0fdfb74
[I18N] Update translation terms from Transifex
C3POdoo Nov 7, 2021
f8f93ec
[ADD] point_of_sale: self-signed certificate for epos printers
qle-odoo Oct 26, 2021
756c1f6
[I18N] Update translation terms from Transifex
C3POdoo Nov 14, 2021
0f1f90e
[FIX] point_of_sale: Update certificate import
qle-odoo Nov 15, 2021
e2c819b
[IMP] accounting/taxcloud: how to set up default account for new taxes
antoine162 Nov 3, 2021
6fb2cc8
[I18N] Update translation terms from Transifex
C3POdoo Nov 21, 2021
45e1b1f
[FIX] conf.py: check odoo_dir is a real Odoo sources dir
Nov 24, 2021
af07bde
[I18N] Update translation terms from Transifex
C3POdoo Nov 28, 2021
36ac4df
[I18N] Update translation terms from Transifex
C3POdoo Dec 5, 2021
9f07d85
[IMP] hosting change: from PaaS to SaaS
mao-odoo Dec 8, 2021
b674b0c
[REM] CODEOWNERS: rely on runbot's codeowners system
AntoineVDV Dec 9, 2021
dfbf5ed
[IMP] README: remove request for review instruction
AntoineVDV Dec 9, 2021
bf63310
[IMP] sales: grammar fix
jedgalbraith Aug 9, 2021
464b744
[IMP] inventory: word mistake
jedgalbraith Aug 6, 2021
71fe1e0
[IMP] inventory: push/pull explanations
mdb-odoo May 26, 2021
a333b5e
[I18N] Update translation terms from Transifex
C3POdoo Dec 12, 2021
0d918c3
[IMP] studio: fix a typo
xpl-odoo Dec 10, 2021
f9b9e85
[IMP] install/maintain: fix a typo
PermanAtayev Nov 30, 2021
c9d5380
[FIX] api/odoo: reflect the correct location of menu actions
cparker4486 Dec 3, 2021
46cb0b8
[IMP] developer/*: replace occurrences of "access rule" by "record rule"
AntoineVDV Dec 15, 2021
6a995b4
[IMP] developer/modules: deprecate 'active' and detail 'auto_install'
yajo Aug 24, 2021
aa987b5
[FIX] expenses: grammar and typos in expenses.rst
flyingfisch Oct 12, 2021
bb468e5
[I18N] Update translation terms from Transifex
C3POdoo Dec 19, 2021
f25888d
[I18N] Update translation terms from Transifex
C3POdoo Dec 26, 2021
5c446bf
[I18N] Update translation terms from Transifex
C3POdoo Jan 2, 2022
d59e8f6
[I18N] Update translation terms from Transifex
C3POdoo Jan 9, 2022
a37dc8d
[I18N] Update translation terms from Transifex
C3POdoo Jan 16, 2022
87e9d3f
[ADD] Accounting: new page about intrastat
chiaraprattico Jan 20, 2022
cbec5f1
[I18N] Update translation terms from Transifex
C3POdoo Jan 23, 2022
89042fb
[IMP] Legal: spanish translation of enterprise.rst
Lau-Odoo Apr 27, 2021
69d1d32
[FIX] legal/terms: fixups for ES translation of enterprise
odony Jan 26, 2022
34f7c84
[REM] Accounting: deprecated report removal
chiaraprattico Jan 20, 2022
fd25322
[MOV] payment acquirers: from /general/ (misc. section) to /finance/
jcs-odoo Jan 24, 2022
2bf697b
[ADD] extensions: add a custom `example` admonition
william-andre Nov 25, 2021
0ba3ba8
[IMP] supported_versions: end of support for v10 on Odoo.sh
amigrave Dec 30, 2021
3a29d1b
[I18N] Update translation terms from Transifex
C3POdoo Jan 30, 2022
3a087be
[ADD] Sign: section on Field Types
xpl-odoo Jun 29, 2021
827270c
[IMP] integration_testing: add information about JS touring
Demesmaeker Jan 28, 2022
d9e2ab6
[FIX] developer/javascript_cheatsheet: fix a typo
NiranjanAbhyankar Oct 26, 2021
a52f601
[FIX] integration_testing: fix wrong step utils used in tour
Demesmaeker Feb 2, 2022
6778f72
[IMP] contributing/doc: add an entry for the `example` admonition
AntoineVDV Feb 3, 2022
fc130dc
[FW][FIX] accounting: fix module name to install in intrastat
jcs-odoo Feb 4, 2022
3d9a0f7
[I18N] Update translation terms from Transifex
C3POdoo Feb 6, 2022
bf2a9bb
[ADD] email_communication: new documentation regarding general emailing
Abridbus Jun 23, 2021
47c37f6
[FIX] redirections: duplicate rule + misplaced rules
jcs-odoo Feb 7, 2022
97a5c98
[IMP] supported_versions: flag saas-15.1 as supported
AntoineVDV Feb 9, 2022
ac09f3b
[IMP] supported_versions: emphasis short-term support of SaaS versions
AntoineVDV Feb 9, 2022
0734749
[IMP] install/maintain: add info about upgrading Odoo Online databases
jcs-odoo Feb 10, 2022
a00dde5
[IMP] conf: show all relevant versions in the version switcher
AntoineVDV Feb 9, 2022
6165aac
[FIX] conf: list `saas-15.2` in existing versions
AntoineVDV Feb 11, 2022
ddc1071
[I18N] Update translation terms from Transifex
C3POdoo Feb 13, 2022
f9b3733
[IMP] odoo_theme: switch admonitions' display type to inline-block
edi-odoo Feb 14, 2022
6458092
[FIX] conf: upper-case 'master' in the version switcher
AntoineVDV Feb 16, 2022
0d8b64b
[I18N] Update translation terms from Transifex
C3POdoo Feb 20, 2022
1a68d2d
[IMP] odoo_sh doc update
sts-odoo Feb 16, 2022
a80f3c3
[IMP] install: remove deprecated ssl instruction in deploy.rst
obayit Dec 22, 2021
8e32a65
[FW][REV] odoo_sh: revert commit 6c48f90
sts-odoo Feb 22, 2022
b591fcf
[IMP] extensions: add content tabs (backport of cf6ca0fb)
AntoineVDV Feb 23, 2022
3e03253
[IMP] accounting: fix a typo in eu_distance_selling.rst
jcs-odoo Feb 24, 2022
b0abac7
[I18N] Update translation terms from Transifex
C3POdoo Feb 27, 2022
fc308f3
[IMP] install/maintain: new improved doc about domain names
jcs-odoo Mar 2, 2022
656e360
[I18N] Update translation terms from Transifex
C3POdoo Mar 6, 2022
dc6da15
[IMP] accounting: improve phrasing OCR
ray-odoo Mar 4, 2022
764348d
[IMP] documentation: content tabs design
karlosvalverde Mar 1, 2022
0c133de
[IMP] scss: make alert full width of parent
edi-odoo Mar 8, 2022
e532e21
[IMP] scss: content tabs refining
edi-odoo Mar 8, 2022
beda3f9
[FIX] developer/mixins: mail.thread method names
nle-odoo Mar 9, 2022
df527a2
[IMP] install/maintain: add use of :guilabel: in domain_names
jcs-odoo Mar 9, 2022
1e24b48
[IMP] contributing/documentation: document usage of code tabs
AntoineVDV Mar 8, 2022
269173c
[REM] extensions: remove the 'switcher' extension
AntoineVDV Mar 8, 2022
1afdec3
[IMP] developer/api/odoo: rework page to use examples and content tabs
AntoineVDV Mar 8, 2022
85b7200
[IMP] developer/api/extract_api: rework page to get rid of switchers
AntoineVDV Mar 11, 2022
cabc254
[I18N] Update translation terms from Transifex
C3POdoo Mar 13, 2022
c123d0b
[IMP] developer/cli: mention the different ways of calling the CLI
AntoineVDV Mar 14, 2022
c90d977
[FIX] dev/misc/cmdline: update url werkzeug
Abridbus Mar 16, 2022
a02e84c
[I18N] *: export 14.0 source terms
mart-e Mar 18, 2022
112b6c1
[IMP] developer: extend internationalization guide
0b11001111 Mar 18, 2022
aee39ed
[FIX] odoo_theme: fix CSS issues and warnings
AntoineVDV Mar 18, 2022
e91949e
[ADD] accounting/l10n: new localization for luxembourg
jcs-odoo Mar 16, 2022
72eef00
[I18N] Update translation terms from Transifex
C3POdoo Mar 20, 2022
928e7ed
[IMP] supported_versions: flag saas-15.2 as supported
AntoineVDV Mar 25, 2022
825e0ed
[IMP] upgrade: update and improve the upgrade processes and information
Donapi Feb 1, 2022
11551c4
[I18N] Update translation terms from Transifex
C3POdoo Mar 27, 2022
4191706
[FIX] install/maintain: typo in deploy.rst
The-macharia Mar 28, 2022
9cd3d96
[FIX] redirects: add missing redirection for maintain/online.rst
jcs-odoo Mar 28, 2022
e73e422
[FIX] upgrade: small fixes
Donapi Mar 28, 2022
0a6a247
[REF] general: move images in their respective page's folder
AntoineVDV Mar 30, 2022
5059a6b
[IMP] inventory: add note about detailed operations in one_step.rst
ray-odoo Feb 25, 2022
db70222
[IMP] pos: add tip usable decimal separator
LoredanaLrpz Mar 30, 2022
5144eef
[ADD] last_build: add an orphan page informing on the last build date
AntoineVDV Apr 5, 2022
f235eb9
[FIX] supported_versions: correct naming of recent saas~x versions
KangOl Apr 6, 2022
260c39d
[I18N] &: export 14.0 source terms
mart-e Apr 8, 2022
5e2cf40
[IMP] odoo_theme: hide the "Edit on GitHub" button for pages in legal/
AntoineVDV Apr 7, 2022
7fc2eec
[I18N] Update translation terms from Transifex
C3POdoo Apr 10, 2022
64c77fc
landed costs not limited to automated valuation
thomasdeleval Apr 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .github/CODEOWNERS

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

# Sphinx build files
_build/
extensions/odoo_theme/static/style.css

# Dependencies
odoo
19 changes: 11 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ ifndef BUILD_DIR
BUILD_DIR = _build
endif

ifndef CURRENT_LANG
CURRENT_LANG = en
endif

SPHINX_BUILD = sphinx-build
CONFIG_DIR = .
SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSION) \
Expand All @@ -18,7 +22,6 @@ SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSIO
-j $(WORKERS)
SOURCE_DIR = content


HTML_BUILD_DIR = $(BUILD_DIR)/html
ifdef VERSIONS
HTML_BUILD_DIR := $(HTML_BUILD_DIR)/14.0
Expand All @@ -43,7 +46,7 @@ clean:
rm -rf $(BUILD_DIR)/*
@echo "Cleaning finished."

html: $(BUILD_DIR)/html/_static/style.css
html: $(HTML_BUILD_DIR)/_static/style.css
@echo "Starting build..."
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b html $(SPHINXOPTS) $(SOURCE_DIR) $(HTML_BUILD_DIR)
@echo "Build finished."
Expand All @@ -63,17 +66,17 @@ gettext:
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b gettext $(SOURCE_DIR) locale/sources
@echo "Generation finished."

$(BUILD_DIR)/html/_static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss
$(HTML_BUILD_DIR)/_static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss
@echo "Compiling stylesheets..."
mkdir -p $(BUILD_DIR)/html/_static
pysassc extensions/odoo_theme/static/style.scss $(BUILD_DIR)/html/_static/style.css
mkdir -p $(HTML_BUILD_DIR)/_static
pysassc extensions/odoo_theme/static/style.scss $(HTML_BUILD_DIR)/_static/style.css
@echo "Compilation finished."

#=== Development and debugging rules ===#

fast: SPHINXOPTS += -A collapse_menu=True
fast: html

static: $(BUILD_DIR)/static/style.css
cp -r extensions/odoo_theme/static/* $(BUILD_DIR)/html/_static/
cp -r static/* $(BUILD_DIR)/html/_static/
static: $(HTML_BUILD_DIR)/_static/style.css
cp -r extensions/odoo_theme/static/* $(HTML_BUILD_DIR)/_static/
cp -r static/* $(HTML_BUILD_DIR)/_static/
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ For contributions to the content of the documentation, please refer to the
To **report a content issue**, **request new content** or **ask a question**, use the
[repository's issue tracker](https://github.com/odoo/documentation-user/issues) as usual.

If you have a pull request that is ready for review, request one from the
[odoo/doc-review](https://github.com/orgs/odoo/teams/doc-review) team.


## Learn More

To learn more about Odoo, in addition to the documentation, have a look at
Expand Down
113 changes: 71 additions & 42 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,34 +58,40 @@
sys.path.insert(0, str(extension_dir.absolute()))

# Search for the directory of odoo sources to know whether autodoc should be used on the dev doc
odoo_dir = Path('odoo')
odoo_sources_candidate_dirs = (Path('odoo'), Path('../odoo'))
odoo_sources_dirs = [
d for d in odoo_sources_candidate_dirs if d.is_dir() and (d / 'odoo-bin').exists()
]
odoo_dir_in_path = False
if not odoo_dir.is_dir():
parent_odoo_dir = Path('../odoo')
if parent_odoo_dir.is_dir():
_logger.info('Using parent dir to find odoo sources')
odoo_dir = parent_odoo_dir
if not odoo_dir.is_dir():

if not odoo_sources_dirs:
_logger.warning(
f"Could not find Odoo sources directory at {odoo_dir.absolute()}.\n"
f"The 'Developer' documentation will be built but autodoc directives will be skipped.\n"
f"In order to fully build the 'Developer' documentation, clone the repository with "
f"`git clone https://github.com/odoo/odoo` or create a symbolink link."
"Could not find Odoo sources directory in neither of the following folders:\n"
"%(dir_list)s\n"
"The 'Developer' documentation will be built but autodoc directives will be skipped.\n"
"In order to fully build the 'Developer' documentation, clone the repository with "
"`git clone https://github.com/odoo/odoo` or create a symbolic link.",
{'dir_list': '\n'.join([f'\t- {d.resolve()}' for d in odoo_sources_candidate_dirs])},
)
else:
sys.path.insert(0, str(odoo_dir.absolute()))
odoo_dir = odoo_sources_dirs[0].resolve()
sys.path.insert(0, str(odoo_dir))
from odoo import release as odoo_release # Don't collide with Sphinx's 'release' config option
odoo_version = odoo_release.version if 'alpha' not in odoo_release.version else 'master'
if release != odoo_version:
_logger.warning(
f"Found Odoo sources directory but with version '{odoo_version}' incompatible with "
f"documentation version '{version}'.\n"
f"The 'Developer' documentation will be built but autodoc directives will be skipped.\n"
f"In order to fully build the 'Developer' documentation, checkout the matching branch"
f" with `cd odoo && git checkout {version}`."
"Found Odoo sources in %(directory)s but with version '%(odoo_version)s' incompatible "
"with documentation version '%(doc_version)s'.\n"
"The 'Developer' documentation will be built but autodoc directives will be skipped.\n"
"In order to fully build the 'Developer' documentation, checkout the matching branch"
" with `cd odoo && git checkout %(doc_version)s`.",
{'directory': odoo_dir, 'odoo_version': odoo_version, 'doc_version': version},
)
else:
_logger.info(f"Found Odoo sources directory matching documentation version {release}.")
_logger.info(
"Found Odoo sources in %(directory)s matching documentation version '%(version)s'.",
{'directory': odoo_dir, 'version': release},
)
odoo_dir_in_path = True

# The Sphinx extensions to use, as module names.
Expand All @@ -106,17 +112,18 @@
# Youtube and Vimeo videos integration (youtube, vimeo directives)
'embedded_video',

'exercise_admonition',
'custom_admonitions',

# Redirection generator
'redirects',

# Code switcher (switcher and case directives)
'switcher',
# Content tabs
'sphinx_tabs.tabs',

# Strange html domain logic used in memento pages
'html_domain',
]

if odoo_dir_in_path:
# GitHub links generation
extensions += [
Expand All @@ -142,7 +149,20 @@
sphinx.util.i18n.docname_to_domain
) = lambda docname, compact: docname.split('/')[1 if docname.startswith('applications/') else 0]

supported_languages = {
# The version names that should be shown in the version switcher, if the config option `versions`
# is populated. If a version is passed to `versions` but is not listed here, it will not be shown.
versions_names = {
'master': "Master",
'saas-15.2': "Odoo Online",
'saas-15.1': "Odoo Online",
'15.0': "Odoo 15",
'14.0': "Odoo 14",
'13.0': "Odoo 13",
}

# The language names that should be shown in the language switcher, if the config option `languages`
# is populated. If a language is passed to `languages` but is not listed here, it will not be shown.
languages_names = {
'de': 'Deutsch',
'en': 'English',
'es': 'Español',
Expand All @@ -156,6 +176,9 @@
# The specifications of redirect rules used by the redirects extension.
redirects_file = 'redirects.txt'

sphinx_tabs_disable_tab_closing = True
sphinx_tabs_disable_css_loading = True

#=== Options for HTML output ===#

html_theme = 'odoo_theme'
Expand Down Expand Up @@ -283,15 +306,18 @@ def _versionize():

The entry 'version' is added by Sphinx in the rendering context.
"""
# If the list of versions is not set, assume that the project has no alternate version
_alternate_versions = app.config.versions and app.config.versions.split(',') or []
context['alternate_versions'] = [
(_alternate_version, _build_url(_version=_alternate_version))
for _alternate_version in sorted(_alternate_versions, reverse=True)
if _alternate_version != version and (
_alternate_version != 'master' or pagename.startswith('developer')
)
]
context['version_display_name'] = versions_names[version]

# If the list of versions is not set, assume the project has no alternate version
_provided_versions = app.config.versions and app.config.versions.split(',') or []

# Map alternate versions to their display names and URLs.
context['alternate_versions'] = []
for _alternate_version, _display_name in versions_names.items():
if _alternate_version in _provided_versions and _alternate_version != version:
context['alternate_versions'].append(
(_display_name, _build_url(_alternate_version))
)

def _localize():
""" Add the pairs of (lang, code, url) for the current document in the rendering context.
Expand All @@ -302,19 +328,22 @@ def _localize():
"""
_current_lang = app.config.language or 'en'
# Replace the context value by its translated description ("Français" instead of "french")
context['language'] = supported_languages.get(_current_lang)
context['language'] = languages_names.get(_current_lang)

# If the list of languages is not set, assume that the project has no alternate language
_alternate_languages = app.config.languages and app.config.languages.split(',') or []
context['alternate_languages'] = [
(
supported_languages.get(_alternate_lang),
_alternate_lang.split('_')[0] if _alternate_lang != 'en' else 'x-default',
_build_url(_lang=_alternate_lang),
)
for _alternate_lang in _alternate_languages
if _alternate_lang in supported_languages and _alternate_lang != _current_lang
]
_provided_languages = app.config.languages and app.config.languages.split(',') or []

# Map alternate languages to their display names and URLs.
context['alternate_languages'] = []
for _alternate_lang, _display_name in languages_names.items():
if _alternate_lang in _provided_languages and _alternate_lang != _current_lang:
context['alternate_languages'].append(
(
_display_name,
_alternate_lang.split('_')[0] if _alternate_lang != 'en' else 'x-default',
_build_url(_lang=_alternate_lang),
)
)

def _build_url(_version=None, _lang=None):
if app.config.is_remote_build:
Expand Down
1 change: 1 addition & 0 deletions content/administration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ These guides provide instructions on how to install, maintain and upgrade Odoo d

administration/install
administration/maintain
administration/upgrade
administration/odoo_sh
2 changes: 2 additions & 0 deletions content/administration/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Install
=======

.. If you add content on this page, remove the redirect rule 'install -> install/install'

.. toctree::

install/install
Expand Down
5 changes: 2 additions & 3 deletions content/administration/install/deploy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ internet-facing server. It follows :ref:`installation <setup/install>`, and is
not generally necessary for a development systems that is not exposed on the
internet.

.. warning:: If you are setting up a public server, be sure to check our :ref:`security` recommandations!
.. warning:: If you are setting up a public server, be sure to check our :ref:`security` recommendations!

.. _db_filter:

Expand Down Expand Up @@ -299,7 +299,7 @@ in ``/etc/nginx/sites-enabled/odoo.conf`` set:
}

server {
listen 443;
listen 443 ssl;
server_name odoo.mycompany.com;
proxy_read_timeout 720s;
proxy_connect_timeout 720s;
Expand All @@ -312,7 +312,6 @@ in ``/etc/nginx/sites-enabled/odoo.conf`` set:
proxy_set_header X-Real-IP $remote_addr;

# SSL parameters
ssl on;
ssl_certificate /etc/ssl/nginx/server.crt;
ssl_certificate_key /etc/ssl/nginx/server.key;
ssl_session_timeout 30m;
Expand Down
2 changes: 1 addition & 1 deletion content/administration/install/email_gateway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ For Exim

.. tip::
If you don't have access/manage your email server, use :ref:`inbound messages
<discuss/email_servers/inbound_messages>`.
<email_communication/inbound_messages>`.
19 changes: 12 additions & 7 deletions content/administration/install/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,10 @@ A typical way to run the server would be:

Where `CommunityPath` is the path of the Odoo Community installation, `dbuser` is the
PostgreSQL login, `dbpassword` is the PostgreSQL password
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of the addons-path option.
and `mydb` is the default database to serve on `localhost:8069`.

.. seealso::
- :doc:`The exhaustive list of arguments for odoo-bin </developer/misc/other/cmdline>`.

Linux
-----
Expand Down Expand Up @@ -578,8 +580,10 @@ A typical way to run the server would be:
$ python3 odoo-bin --addons-path=addons -d mydb

Where `CommunityPath` is the path of the Odoo Community installation
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of the addons-path option.
and `mydb` is the default database to serve on `localhost:8069`.

.. seealso::
- :doc:`The exhaustive list of arguments for odoo-bin </developer/misc/other/cmdline>`.

Mac OS
------
Expand Down Expand Up @@ -740,17 +744,18 @@ A typical way to run the server would be:
$ python3 odoo-bin --addons-path=addons -d mydb

Where `CommunityPath` is the path of the Odoo Community installation
and `mydb` is the default database to serve on `localhost:8069`. You can add other
directory paths separated by a comma to ``addons`` at the end of the addons-path option.
and `mydb` is the default database to serve on `localhost:8069`.

.. seealso::
- :doc:`The exhaustive list of arguments for odoo-bin </developer/misc/other/cmdline>`.

.. _setup/install/docker:

Docker
======

The full documentation on how to use Odoo with Docker can be found on the
official Odoo `docker image <https://registry.hub.docker.com/_/odoo/>`_ page.
official Odoo `docker image <https://hub.docker.com/_/odoo/>`_ page.

.. _Debian Buster: https://www.debian.org/releases/buster/
.. _demo: https://demo.odoo.com
Expand Down
5 changes: 3 additions & 2 deletions content/administration/maintain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Maintain

.. toctree::

maintain/domain_names
maintain/update
maintain/db_upgrade
maintain/enterprise
maintain/hosting_changes
maintain/db_premise
maintain/online
maintain/on_premise
maintain/supported_versions
Loading