Commit Graph

3647 Commits

Author SHA1 Message Date
Martin Trigaux
b9a9da8808 [I18N] *: export 16.0 translations
closes odoo/documentation#6981

X-original-commit: 0101876db6
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2023-12-19 11:14:43 +00:00
Odoo Translation Bot
2edce38648 [I18N] Update translation terms from Transifex 2023-12-17 01:40:29 +01:00
KC (ksc)
d615bc0f6d [IMP] sales: updated entire invoicing based on milestones doc
closes odoo/documentation#5574

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-16 21:54:49 +00:00
Brandon Seltenrich (BRSE)
18aad6d5f2 [FIX] barcode: fix default delay number
closes odoo/documentation#6951

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-15 22:19:40 +00:00
Julien Castiaux
f3f44fe5f2 [FIX] deploy: set Content-Security-Policy on static
The Content-Security-Policy[^1] http header was only set on the response
generated by controllers but it was missing from the `/<module>/static/`
route.

It is not strictly necessary to set that header on the responses comming
from that routes as it is not possible to add new static files or edit
existing ones via the interface (not even as admin). Only the developers
and system administrator can access those files.

It is also worth mentionning that using the Odoo internal web server to
deliver static files is suboptimal. Outside of a dev environment, those
files will typically be delivered via a web server[^2] and sysadmins
should configure their web server to set the CSP header on static images.

[^1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
[^2]: https://www.odoo.com/documentation/master/administration/install/deploy.html#serving-static-files-and-attachments

closes odoo/documentation#5485

Related: odoo/odoo#131700
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-15 10:26:41 +00:00
Julien Castiaux
09c42c5896 [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#6932

Closes: odoo/odoo#64643
X-original-commit: 8d1642984f
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-15 09:23:31 +00:00
KC (ksc)
6cf4d56153 [IMP] sales: updated Amazon Connector setup doc for 16
closes odoo/documentation#6288

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: dalaOdoo <dala@odoo.com>
Co-authored-by: Demesmaeker <edm@odoo.com>
Co-authored-by: meng-odoo <meng@odoo.com>
Co-authored-by: brse-odoo <brse@odoo.com>
Co-authored-by: StraubCreative <zst@odoo.com>
2023-12-15 01:10:17 +00:00
Tom Aarab (toaa)
a7c3f818da [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#6910

X-original-commit: b617b47ab2
Signed-off-by: Tom Aarab (toaa) <toaa@odoo.com>
2023-12-14 12:28:07 +00:00
Lara Martini (larm)
cb87e208bf [ADD] Payroll: adding detailed payslips doc
closes odoo/documentation#6924

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 02:06:39 +00:00
Maximilien (malb)
053fb768e6 [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#6896

Task: 3633468
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-12-12 12:46:16 +00:00
Sam Lieber (sali)
a28339b44b [IMP] accounting/l10n_mx: additional context
closes odoo/documentation#6888

X-original-commit: 1cca645f17
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@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-11 16:06:05 +00:00
Odoo Translation Bot
ba95cb33d5 [I18N] Update translation terms from Transifex 2023-12-10 01:40:26 +01:00
John Holton (hojo)
59791c252b [REF] Inventory: Restructure Inventory scope
closes odoo/documentation#5700

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 20:11:38 +00:00
KC (ksc)
4e85ef01e8 [IMP] sales: updated returns doc for v16
closes odoo/documentation#6258

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:46 +00:00
KC (ksc)
bbbb00e752 [IMP] sales: updated pro-forma invoice doc for 16
closes odoo/documentation#5553

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:45 +00:00
KC (ksc)
9fc9c2f52d [IMP] sales: updated down payment doc for 16
closes odoo/documentation#5523

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:44 +00:00
KC (ksc)
e6a6b9b453 [IMP] sales: online signature confirmation doc
closes odoo/documentation#5437

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:43 +00:00
KC (ksc)
e1bed7ee7c [IMP] sales: update get signature to validate for 16
closes odoo/documentation#5434

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:42 +00:00
KC (ksc)
22d41dc2f3 [IMP] sales: updated optional_products for 16
closes odoo/documentation#5409

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:41 +00:00
KC (ksc)
1e2a29338e [IMP] sales: updated time_materials for v16
closes odoo/documentation#5083

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:40 +00:00
KC (ksc)
039dba0780 [IMP] sales: fully updated currencies doc
closes odoo/documentation#4534

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 04:05:39 +00:00
KC (ksc)
a4a9335dd1 [IMP] sales: reinvoice expenses to customers
closes odoo/documentation#5590

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 02:55:47 +00:00
KC (ksc)
ff2cabf621 [IMP] subscriptions: products fix misleading info
closes odoo/documentation#5560

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 01:49:11 +00:00
KC (ksc)
af7c7afa34 [IMP] sales: update orders and variants for 16
closes odoo/documentation#5456

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-07 00:38:45 +00:00
Julien Castiaux
e5d77ee285 [FIX] administration/install: wkhtmltopdf 0.12.6
Official packages for wkhtmltopdf 0.12.5 are no more released since the
release of wkhtmltopdf 0.12.6 in 2020. Debian 10 "Buster" and Ubuntu
20.04 "Focal" were the last system for which 0.12.5 was built[^1].
Installing 0.12.5 on a Ubuntu 22.04 "Jammy" (using the Focal package)
fails for outdated dependencies.

Official packages for wkhtmltopdf 0.12.6 are published on another
repository[^2] than 0.12.5 used to, it includes packages for 0.12.6 for
both Debian 11 "Bullseye" and Ubuntu 22.04 "Jammy". Version 0.12.6.1-r3
is compatible out-of-the-box with Odoo and has been used by runbot to
test all 16.x, 17.x and master branches for the past month.

This work makes it official that [wkhtmltopdf 0.12.6.1-r3] must be used
for Odoo 16.0 and onward.

[^1]: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5
[^2]: https://github.com/wkhtmltopdf/packaging/releases
[wkhtmltopdf 0.12.6.1-r3]: https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3

closes odoo/documentation#6751

Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-06 12:25:24 +00:00
“Chiara
27a307cb0c [IMP] accounting: followup screenshot
taskid-3614885

closes odoo/documentation#6697

Signed-off-by: Chiara Prattico (chpr) <chpr@odoo.com>
2023-12-06 10:12:45 +00:00
Zachary Straub (ZST)
f9013a6309 [IMP] sales: update quote_template for 16
closes odoo/documentation#5873

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-12-06 01:49:52 +00:00
Jess Rogers (jero)
ade6af5b30 [IMP] crm: update plan activities
closes odoo/documentation#6769

X-original-commit: e4aee350b8
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 17:58:18 +00:00
william-andre
df8114e591 [FIX] install: do not create superuser for postgres
The preferred/safe way of running Odoo is with a standard user, with
only the right to create a database.
See b6b73551db

closes odoo/documentation#6728

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-12-05 15:20:02 +00:00
Donatienne (dopi)
88f546f2a9 [IMP] Website: Unsplash documentation updated
task-3498880

closes odoo/documentation#5823

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-12-05 15:19:57 +00:00
Julien Castiaux
a2f895f644 [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#6738

X-original-commit: 3d91c57b57
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-03 08:27:52 +00:00
Odoo Translation Bot
80f195831e [I18N] Update translation terms from Transifex 2023-12-03 01:40:34 +01:00
“Audrey
a4b3008101 [ADD] website: mail groups
task-2845181

closes odoo/documentation#6700

X-original-commit: 632039fa74
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com>
2023-11-28 13:35:14 +00:00
Sam Lieber (sali)
c1fe28dd50 [IMP] accounting/l10n_co: additional context
closes odoo/documentation#6685

X-original-commit: 6045a60dd5
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 22:31:45 +00:00
Jess Rogers (jero)
33a9e1f017 [IMP] crm: update manage lost opps
closes odoo/documentation#6676

X-original-commit: 21f0ad60f8
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 19:05:44 +00:00
Marion (masp)
4b7668d6a8 [IMP] Contributing: typo seealso admonition
closes odoo/documentation#6637

X-original-commit: 70d5a55909
Signed-off-by: Marion Spindler (masp) <masp@odoo.com>
2023-11-27 17:34:06 +00:00
Loredana Perazzo
4118cb9bf9 [IMP] pos: remove duplicate of set customer and update sections accordingly
task-3366190

closes odoo/documentation#6606

Signed-off-by: Loredana Perazzo (lrpz) <lrpz@odoo.com>
2023-11-27 06:09:50 +00:00
Odoo Translation Bot
2377fa1bb8 [I18N] Update translation terms from Transifex 2023-11-26 01:40:34 +01:00
Donatienne (dopi)
71446b0668 [IMP] sign: update for 16.0
task-3433578

closes odoo/documentation#5558

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-24 13:37:38 +00:00
Xavier (XPL)
3ead6e0f99 [IMP] reporting: improve grammar and remove image centering
closes odoo/documentation#6644

Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-24 10:28:27 +00:00
Xavier (XPL)
a149164866 [IMP] outlook: remove note about multi-user sync spam
task-3575806

closes odoo/documentation#6619

X-original-commit: b4302e4023
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-23 16:07:15 +00:00
Claire Bretton (clbr)
620508fb29 [FIX] getting_started: remove useless lambda
The lambda function here is useless and makes newdooers think
they need to use it everytime.
`default=fields.Date.add(fields.Date.today(), months=3))`
should do the trick, no lambda involved.

closes odoo/documentation#6607

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-11-23 13:07:05 +00:00
Claire Bretton (clbr)
8707609b38 [FIX] getting_started: invalid addons-path
The "../technical-training-sandbox" is added too early in the path since
its still empty, and results into an "invalid addons-path" error.

Part-of: odoo/documentation#6607
2023-11-23 13:07:05 +00:00
Xavier (XPL)
e413418e1e [FIX] accounting: update link to getting started video tutorial
task-3608613

closes odoo/documentation#6609

X-original-commit: c0653112a1
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-23 12:04:38 +00:00
Xavier (XPL)
12670b1299 [IMP] paypal: add note about supported currencies
task-3608056

closes odoo/documentation#6566

X-original-commit: 5f1881a88a
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2023-11-23 07:54:39 +00:00
Felicious
4e2b634a50 [IMP] inventory: update delivery methods from 12 to 16
closes odoo/documentation#6287

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: hojo-odoo <123424465+hojo-odoo@users.noreply.github.com>
Co-authored-by: Zachary Straub <zst@odoo.com>
2023-11-23 02:55:09 +00:00
Felicious
56cda37610 [IMP] barcode: add zebra scanner section
add more figures

closes odoo/documentation#5827

Signed-off-by: Felicia Kuan (feku) <feku@odoo.com>
Co-authored-by: hojo-odoo <123424465+hojo-odoo@users.noreply.github.com>
Co-authored-by: ksc-odoo <73958186+ksc-odoo@users.noreply.github.com>
Co-authored-by: Zachary Straub <zst@odoo.com>
2023-11-23 02:55:08 +00:00
Felicious
32900efbb9 [ADD] inventory: cluster picking
closes odoo/documentation#5732

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Co-authored-by: hojo-odoo <123424465+hojo-odoo@users.noreply.github.com>
Co-authored-by: ksc-odoo <73958186+ksc-odoo@users.noreply.github.com>
Co-authored-by: meng-odoo <101904966+meng-odoo@users.noreply.github.com>
2023-11-23 01:57:56 +00:00
John Holton (hojo)
5612ce8dd8 [ADD] Quality: Take a Picture Check
closes odoo/documentation#5939

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-23 00:53:50 +00:00
KC (ksc)
75c24e7e88 [IMP] sales: updated deadline doc for 16
closes odoo/documentation#5438

Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
2023-11-22 21:52:08 +00:00