Commit Graph

3378 Commits

Author SHA1 Message Date
Julien Castiaux
8d1642984f [FIX] deploy: nginx forwarded-host with tcp port
Install nginx using the nginx configuration found in the documentation
and changes the `listen` port to 8080. Start Odoo in `--proxy-mode`.

    listen 8080;
    server_name mycompany.odoo.com;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    location / {
            proxy_pass http://127.0.0.1:8069;
    }

Inside your browser, access "http://mycompany.odoo.com:8080" you are
wrongly redirected to "http://mycompany.odoo.com:80".

Odoo uses the `X-Forwarded-Host` http header value to generate new URls,
in this configuration `$host` only contains the domain (=hostname using
the urllib terminology) instead of the domain+port (=netloc). The
variable that contains both the domain and the port is actually
`$http_host`.

closes odoo/documentation#6885

Closes: odoo/odoo#64643
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-12-14 13:45:06 +00:00
Lara Martini (larm)
bf979460ae [ADD] Payroll: adding detailed payslips doc
closes odoo/documentation#6922

X-original-commit: 9486fe5b62
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: meng-odoo <101904966+meng-odoo@users.noreply.github.com>
Co-authored-by: ksc-odoo <ksc@odoo.com>
Co-authored-by: samueljlieber <sali@odoo.com>
Co-authored-by: StraubCreative <zst@odoo.com>
2023-12-14 01:54:02 +00:00
Maximilien (malb)
bed0a11233 [FIX] accounting: cheat sheet reconcile
Before this commit, when doing the reconciliation of the table present in the
cheat sheet, the second reconciliation was wrong because the "Invoice 1" should
be reconciled with the twos partials payment. This Pr correct that by changing
the find parameter to target the partials also.

closes odoo/documentation#6918

Task: 3633468
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-12-13 11:16:51 +00:00
Tom Aarab (toaa)
b617b47ab2 [IMP] accounting: updated chart of accounts page
Updated the chart of accounts page. Forward to master.

16.3 -> Change "ellipsis" menu button
17 -> Change "Setup" to "View"

taskid-3609365

closes odoo/documentation#6617

Signed-off-by: Tom Aarab (toaa) <toaa@odoo.com>
2023-12-12 16:23:18 +00:00
Tom Aarab (toaa)
f00cbb47e3 [IMP] accounting: fiscal positions update
Updated fiscal positions for 15.0/15.2

taskid-3611075

closes odoo/documentation#6656

Signed-off-by: Tom Aarab (toaa) <toaa@odoo.com>
2023-12-12 15:07:45 +00:00
Odoo Translation Bot
8df3a41aca [I18N] Update translation terms from Transifex 2023-12-10 02:40:16 +01:00
Sam Lieber (sali)
1cca645f17 [IMP] accounting/l10n_mx: additional context
closes odoo/documentation#5975

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: feav-odoo <feav@odoo.com>
Co-authored-by: toaa-odoo <toaa@odoo.com>
Co-authored-by: larm-odoo <121518652+larm-odoo@users.noreply.github.com>
2023-12-09 00:33:21 +00:00
KC (ksc)
27902e3dc8 [IMP] sales: product variants quotation/sales orders
closes odoo/documentation#6819

X-original-commit: 17cc753405
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 18:31:18 +00:00
KC (ksc)
ae745cfa1f [IMP] sales: get paid to validate doc
closes odoo/documentation#6813

X-original-commit: 5541f2132e
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 03:21:54 +00:00
Jess Rogers (jero)
e4aee350b8 [IMP] crm: update plan activities
closes odoo/documentation#5941

Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
Co-authored-by: ksc-odoo <73958186+ksc-odoo@users.noreply.github.com>
Co-authored-by: Sam Lieber (sali) <36018073+samueljlieber@users.noreply.github.com>
Co-authored-by: Zachary Straub <zst@odoo.com>
2023-12-05 15:42:28 +00:00
Odoo Translation Bot
2d158c417e [I18N] Update translation terms from Transifex 2023-12-03 02:40:16 +01:00
Julien Castiaux
3d91c57b57 [IMP] developer/reference/cli: --proxy-mode
Many customers struggle with their web server configuration, notably
regarding the `--proxy-mode` option and the way `X-Forwarded-*` HTTP
request headers are interpreted within Odoo.

The `--proxy-mode` section has been updated to cover the most common
misunderstandings and to give guidances on how to setup a web server.

Odoo always only takes the last entry of the `X-Forwarded-*` request
header because there are situations where it is not possible to
determine which last n-th entry to use. Employees might access their
odoo database via the internal network: connecting directly to nginx,
while customers might access the database via an additional proxy such
as cloudflare. The real IP of employees would be the last inside the
`X-Forwarded-For` chain, while the real IP of customers would be the
*second* last entry inside the chain. It would be incorrect to always
take the same nth last entry inside the chain. The cloudflare's own IP
address must be discarded from the chain. Web servers usually feature
a way to ignore trusted IP from the chain, a way so that the real IP
of the user is always the last entry inside the chain. Odoo relies on
such feature to be active and configured.

Prior discussions about `X-Forwarded-For`:
* odoo/odoo#104947
* odoo/odoo#118629
* odoo/odoo#139536

All `X-Forwarded-*` headers are ignored in case the `X-Forwarded-Host`
header is missing (even with `--proxy-mode`). System admin might be
tempted to not set this header and to set `Host` instead, this is
broken as this a user-agent would be able to spoof `X-Forwarded-Host`
and Odoo would use that instead of the correct `Host`.

Prior discussions about `X-Forwarded-Host`:
* odoo/odoo#63277
* odoo/odoo#70117

closes odoo/documentation#6729

Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-01 14:31:10 +00:00
“Audrey
632039fa74 [ADD] website: mail groups
task-2845181

closes odoo/documentation#6048

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-28 08:49:30 +00:00
Sam Lieber (sali)
6045a60dd5 [IMP] accounting/l10n_co: additional context
closes odoo/documentation#6573

X-original-commit: e643e0fbf5
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
Co-authored-by: dade-odoo <87431108+dade-odoo@users.noreply.github.com>
Co-authored-by: larm-odoo <121518652+larm-odoo@users.noreply.github.com>
2023-11-27 20:45:50 +00:00
Jess Rogers (jero)
21f0ad60f8 [IMP] crm: update manage lost opps
closes odoo/documentation#5888

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: ksc-odoo <73958186+ksc-odoo@users.noreply.github.com>
Co-authored-by: brse-odoo <brse@odoo.com>
Co-authored-by: Sam Lieber (sali) <36018073+samueljlieber@users.noreply.github.com>
2023-11-27 16:38:47 +00:00
Odoo Translation Bot
54def80ebb [I18N] Update translation terms from Transifex 2023-11-26 02:40:16 +01:00
Marion (masp)
70d5a55909 [IMP] Contributing: typo seealso admonition
closes odoo/documentation#6633

Signed-off-by: Marion Spindler (masp) <masp@odoo.com>
2023-11-23 16:11:07 +00:00
Xavier (XPL)
b4302e4023 [IMP] outlook: remove note about multi-user sync spam
task-3575806

closes odoo/documentation#6616

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-23 11:51:49 +00:00
Xavier (XPL)
c0653112a1 [FIX] accounting: update link to getting started video tutorial
task-3608613

closes odoo/documentation#6605

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-23 09:20:40 +00:00
Xavier (XPL)
5f1881a88a [IMP] paypal: add note about supported currencies
task-3608056

closes odoo/documentation#6564

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-22 16:38:38 +00:00
Xavier (XPL)
dc48273e7e [IMP] upgrade: add note on bank synch neutralization
task-3605690

closes odoo/documentation#6555

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-22 11:19:47 +00:00
Xavier (XPL)
16e339a7a3 [FIX] payroll: add missing show-content metadata
Without the :show-content: metadata markup, it is not possible to open the
page by navigating from the toctree.

closes odoo/documentation#6522

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-21 11:01:01 +00:00
Mathieu (mano)
6e52790e25 [IMP] odoo_theme: toctrees-l1,l2 design improvement
Issue 1:
========
The toctrees in the documentation are visually inconsistent because of
the content. Sometimes we have titles that are also links and visually
collides with the rest of the toc making it hard to read. This applies
to toctree-l1 and toctree-l2.

Fix 1:
========
When we have a link and title toctree-l2 in a list containing other
nested toc, we apply another styling displaying it with the same color
as a title, but with an icon and hover behavior indicating that it is a
link. (This commit also changes the direction of the i-link icon to make
it standard).

Issue 2:
========
When we have only have toctree-l1 links without nested toc the toctree
is uselessly taking a lot of space.

Fix: 2
========

In these scenario we add a class to the toctree wrapper to replace the
toctree-l1 style with a toctree-l2.

task-3138525
task-3138563

part of

task-3059178

closes odoo/documentation#6498

X-original-commit: c62bf21987
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-11-21 11:01:00 +00:00
Odoo Translation Bot
1173e0b138 [I18N] Update translation terms from Transifex 2023-11-19 02:40:17 +01:00
Felicious
e7cd792466 [IMP] barcode: split docs + hone in on language
closes odoo/documentation#5592

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: Sam Lieber (sali) <36018073+samueljlieber@users.noreply.github.com>
Co-authored-by: brse-odoo <brse@odoo.com>
Co-authored-by: Zachary Straub <zst@odoo.com>
2023-11-16 22:21:17 +00:00
tiku-odoo
71aabb2618 [IMP] Productivity: Outlook Plugin edits
closes odoo/documentation#6456

Signed-off-by: Timothy Kukulka (tiku) <tiku@odoo.com>
2023-11-15 17:09:18 +00:00
Felicious
f48a4e885a [IMP] inventory: expand on accounting and math
closes odoo/documentation#6424

X-original-commit: 058515ee91
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: toaa <104567387+toaa-odoo@users.noreply.github.com>
Co-authored-by: meng-odoo <101904966+meng-odoo@users.noreply.github.com>
2023-11-15 05:35:07 +00:00
Felicious
ba34f754ce [IMP] inventory: fwport removal strategy
closes odoo/documentation#6409

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-13 20:27:44 +00:00
Sam Lieber (sali)
36d25125a9 [IMP] tests: make review UX and resource files
closes odoo/documentation#6426

X-original-commit: 25e204adcd
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-11-13 17:35:55 +00:00
Odoo Translation Bot
68c575c126 [I18N] Update translation terms from Transifex 2023-11-12 02:40:21 +01:00
John Holton (hojo)
889e95037d [ADD] Inventory: Use locations to manage inventory
closes odoo/documentation#6406

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-11 03:56:50 +00:00
Nathan Marotte (nama)
35a3bcd421 [IMP] upgrade: overhaul upgrade doc
closes odoo/documentation#6392

X-original-commit: c6c4598928
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-10 12:30:03 +00:00
Loredana Perazzo
946edebfcf [IMP] pos: add warning to not buy a terminal from amazon
closes odoo/documentation#6383

Taskid: 3284737
X-original-commit: f0495a9bc9
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-10 12:30:02 +00:00
John Holton (hojo)
0e6576cc3d [ADD] Inventory: Add Scrap inventory
closes odoo/documentation#6329

X-original-commit: ec66814280
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-08 20:37:53 +00:00
Felicious
3d5badcc82 [IMP] inventory: rewrite lead times, add images
closes odoo/documentation#6335

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: brse-odoo <brse@odoo.com>
Co-authored-by: ksc-odoo <73958186+ksc-odoo@users.noreply.github.com>
2023-11-08 09:34:50 +00:00
tiku-odoo
4d2a3101ad [ADD] IoT: OPC-UA Protocol
closes odoo/documentation#4414

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-08 05:14:11 +00:00
Antoine Vandevenne (anv)
d67143410a [IMP] supported_versions: release 17.0
closes odoo/documentation#6306

X-original-commit: 2c805d9813
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-11-07 17:26:52 +00:00
Louis Baudoux
8da826d944 [IMP] iap: move from first-person to second-person writing
For some reason, the first-person was used throughout the IAP
documentation, and quite inconsistently.
As the rest of the documentation is using second-person writing, IAP
should be no exception.

closes odoo/documentation#6286

X-original-commit: 8d0ae3b5df
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
2023-11-06 16:13:28 +00:00
Louis Baudoux
0c1b7c4636 [IMP] iap: remove documentation related to IAP services creation
It has been decided to remove the possibility for our users to create
their own IAP services.
This decision was motivated by the fact that, in the 5 years of
existence of IAP, very few non-Odoo services have been created and
actively used by our customers.

X-original-commit: d8c7269786
Part-of: odoo/documentation#6286
2023-11-06 16:13:28 +00:00
Odoo Translation Bot
86b8353efb [I18N] Update translation terms from Transifex 2023-11-05 02:40:24 +01:00
Louis Baudoux
9f546a616b [IMP] extract_api: document the new API version
We have introduced a second version of the Extract API that adds the IAP
account token to the `get_result` and `validate` routes.

There are also other changes in this commit:
 - The deprecated stuff has been removed as it's been deprecated for a
   while and won't be supported anymore in the future.
 - The `status` table of the `get_result` route has been added as it was
   missing for some reason.
 - The documentation regarding the `/validate` routes have been removed
   for security reasons.

closes odoo/documentation#6275

X-original-commit: a8c6272899
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
2023-11-03 12:41:26 +00:00
Odoo Translation Bot
a30454bb47 [I18N] Update translation terms from Transifex 2023-10-29 02:40:43 +02:00
Rémy Voet (ryv)
1639d22efd [FIX] developer: fix bad documentation of --unaccent
In the CLI, `--unaccent` try to enable PostgreSQL unaccent extention
when odoo is responsible to create new database(s).

closes odoo/documentation#6236

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-10-27 14:32:40 +00:00
Tom Aarab (toaa)
323d3563c9 [IMP] silverfin: API key
Added a note to make it clearer that for fiduciaries, a single API key
is valid for all databases linked to the user.

taskid-3570700

closes odoo/documentation#6212

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-10-27 09:13:46 +00:00
Louis Baudoux
db908097e4 [IMP] extract_api: uniformize API documentation across all versions
We used to document the extract API according to the version of the
documentation that is being viewed, i.e. in version 14, we
documented the API version that was used in Odoo 14.

This is actually not a good idea as the extract API isn't strictly
linked to Odoo versions, it has its own versioning system.

It can also be an issue if users don't realize they're viewing an old
version of the API and start implementing customizations based on it.

This commit is an exact copy of the current `master` version of the
extract API documentation.

closes odoo/documentation#6218

X-original-commit: f8adea7845
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
2023-10-26 11:50:43 +00:00
Martin Trigaux
f3f0232847 [IMP] *: export translations
closes odoo/documentation#6216

X-original-commit: 1dedb18c09
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2023-10-26 06:45:25 +00:00
Mathieu Duckerts-Antoine
a4da1132ff [FIX] search panel: fix bad indentation
closes odoo/documentation#6194

X-original-commit: 82055c1f15
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2023-10-23 14:02:11 +00:00
Odoo Translation Bot
01e1085645 [I18N] Update translation terms from Transifex 2023-10-22 01:40:30 +02:00
Lara Martini (larm)
a819e91c7b [IMP] employees: making targeted edits for v15 and updating images
closes odoo/documentation#5038

Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2023-10-19 22:02:04 +00:00
tiku-odoo
2437687710 [IMP] Maintain/Productivity: Azure Name Change
closes odoo/documentation#6168

X-original-commit: b65dd60b25
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-10-19 03:58:59 +00:00