Commit Graph
3024 Commits
Author SHA1 Message Date
Richard deMeester 544bda1da7 Add newer CLA declaration
closes odoo/odoo#61389

X-original-commit: 5cc884f96bcd77997b158bd496be85d382ddb3a3
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-11-05 11:23:24 +00:00
Alejandro Santillan d4ad15d534 [CLA] Update Vauxoo CLA
Incorporate Alejandro Santillan (R4Alex) as Vauxoo's contributor

closes odoo/odoo#61383

X-original-commit: e265a1e89288ac417b17f82d4d2a4b1a84cbfc4e
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-11-05 10:34:59 +00:00
Daniel Duque 51ed48b1b6 [CLA] FactorLibre
X-original-commit: bec158627024f3ff6e7352cc8d4e91be9d807540
2020-11-02 13:53:36 +00:00
Tiago Santos 31bc9756a4 [CLA] Update Arxilead CLA
closes odoo/odoo#61080

X-original-commit: c691f971325c21aca47eb597a0fda248a621dc7e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-30 16:41:28 +00:00
Antoine Vandevenne (anv) 0cbf2addfd [FIX] doc: fix link and rendering issues in email gateway page
closes odoo/odoo#60755

X-original-commit: f4d3a6b3cf3672a6fa7b67f8a0070b3db21ecb5d
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2020-10-26 15:03:47 +00:00
Mihran Thalhath d296469ff4 [CLA] signature for MihranThalhath
closes odoo/odoo#61001

X-original-commit: b72055ea365fa39a0f815605a50d5ed3de13cbbc
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-29 15:40:26 +00:00
fw-bot a420046a52 [FIX] website_mail_channel: fix load more replies
On a thread with at least 21 replies, click on "show N more replies".
The first time, it does the last 10 replies.
Click again: it appends the same batch of 10 replies to the thread.
The button loads the replies starting from the last reply id,
but this id is not updated after load.

This is because the code searches for a `p.well` in the DOM
assumed to be the `o_mg_read_more` parent (see c40f184).
However, commit 59237ea removed the `.well` class of the parent.
The new button is not found, the old button is not removed, and so it goes.

Forward-Port of 4536764ad52b5b

closes odoo/odoo#60647

X-original-commit: 69dd830a15da2d7e43e6040e26d960d2e941002e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-23 15:20:46 +00:00
Antoine Vandevenne (anv) 1a509642b9 [FIX] doc: fix broken anchor
closes odoo/odoo#60612

X-original-commit: 50b8e83597ec07e091e1a4b62184e148ddcfb6c5
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2020-10-23 11:41:40 +00:00
Florian Pose 0dd3b70690 [CLA] signature for IgH
closes odoo/odoo#60420

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-23 08:13:06 +00:00
Olivier Laurent 70ffd509a9 [CLA] Logicasoft
X-original-commit: 69c551f621b8dc9c235cedcb19f1992f77901b49
2020-10-20 08:41:50 +00:00
Nicolas Martinelli c0501bf54c [FIX] web, doc: remaining_days widget
The `remaining_days` widget is intended to be used for informative purpose,
hence it should not be editable.

opw-2362276

X-original-commit: 4c72b1536a19cd517046113a5ad93b5782774664
2020-10-20 06:08:32 +00:00
Randall Castro 145e3ad0c7 [CLA] Add randall-vx as new contributor in vauxoo
closes odoo/odoo#60284

X-original-commit: 89daca4b457c195b48be05a7d47649eedbf81081
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-19 13:57:52 +00:00
Balvant Ramani 74ae902833 [CLA] signature for rb3606
closes odoo/odoo#60283

X-original-commit: 5df06d8e3feb85322ba4cfdfb9fb39ef1bab838e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-19 13:57:27 +00:00
Swapnesh Shah b07f2d31d2 [FIX] *: update document links
Before this commit, links to the documentation were referenced the
previous version, 13.0, instead of the current one, 14.0.

Eventhough there is a redirection done by NGINX of a "versionless" URL
to the latest one (e.g. /documentation/user/general/auth/google.html
-> /documentation/user/14.0/general/auth/google.html as of today), the
goal is to keep links owrking for users that will still be using the
14.0 in three years (and should not endup on the 17.0 doc).

closes odoo/odoo#60228

X-original-commit: 7ac08486d91d0ff0151abeeda057ffa6beda72e8
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-19 07:03:01 +00:00
Victor Feyens 9d6f107b1c [FIX] doc: unclear report actions fields and report tag attributes.
FW-change: remove report section in data.rst since report xml tag usage
is now deprecated (#54564)

closes odoo/odoo#60142

X-original-commit: 052c524d7868ea683038d18a22022658abb0511c
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-10-15 22:25:36 +00:00
Adrian Torres ece40d83fb [FIX] doc: warn about pitfalls of inverse batching
This commit updates the documentation surrounding compute and inverse
methods for fields, explicitly warning API consumers that grouping
multiple compute fields under a single inverse method is error-prone and
could not work at all (it can still work under specific conditions but
henceforth it shall be considered bad practice).

This case was found at https://github.com/odoo/enterprise/pull/13815/commits/a651413df915f166697d26a83084582207405858

closes odoo/odoo#60115

X-original-commit: 1d21924c1da0bed59cd105a3d9bf9b60fa2d7bc4
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
2020-10-15 15:05:00 +00:00
Adrien Horgnies 3ee5bedcf9 [FIX] doc: active is auto installed
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

closes odoo/odoo#59916

X-original-commit: 89c301b445cc415140367314bc5a858b4431b922
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Signed-off-by: Adrien Horgnies <AdrienHorgnies@users.noreply.github.com>
2020-10-15 13:56:19 +00:00
6d6f42f489 [REF] website: adapt to new jabberwock editor
Co-authored-by: Nicolas Bayet <nby@odoo.com>
Co-authored-by: Sébastien Geelen <sge@odoo.com>
Co-authored-by: Antoine Guenet <age@odoo.com>
Co-authored-by: Christophe Matthieu <chm@odoo.com>
Co-authored-by: David Monjoie <dmo@odoo.com>
2020-10-14 10:29:11 +00:00
Sébastien Delafond 1767b6eedc [CLA] signature for sdelafond
closes odoo/odoo#59987

X-original-commit: 76ea1a25dd9db414f042f70ef68b8a375d6e7758
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-10-14 11:24:12 +00:00
Vanneri 4db54fd906 [CLA] signature for Vanneri
closes odoo/odoo#59538

X-original-commit: d8c61bc71a5e86ec56ed3da6bd1c2a8c426ccdde
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-08 15:41:22 +00:00
Julien Castiaux 6504ac9e90 [DOC] update debian dependencies
On a fresh Linux Mint installation, the libraries used by Pillow and
psycopg2 are not installed. This update the list of dependencies so
users don't have to dig through Pillow/psycopg2 documentations in
order to find and install the missing dependencies.

closes odoo/odoo#59497

X-original-commit: 7ba29d237f9bead3f6d67e25d1343a0a3d126b9f
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
2020-10-08 10:56:09 +00:00
Ronald Portier 3c0c9ea2c2 [CLA] Update Therp BV CLA.
closes odoo/odoo#59486

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-08 09:57:32 +00:00
fw-bot 7076449752 [FIX] portal: share a record without partner_id field
The method _notify_get_groups is called to determine how a user should be
notified based on the groups he belongs to.
If a record is shared via portal but the model does not have a field named
`partner_id`, the method was failing.

With this patch, the presence of the field is checked first. No additional
access_token is computed if the field is not present.

Forward port of #59123

closes odoo/odoo#59310

X-original-commit: 6612c7ae766e996c57bda5c4c23132797f162f1e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-06 15:53:14 +00:00
SilvioGregorini 5e7a471e70 [CLA] openforce signs Odoo CCLA
closes odoo/odoo#59276

X-original-commit: 3f184a2529ca5828fb18e463bea7386b70a802b1
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-06 13:02:15 +00:00
Swapnesh Shah b4795e6d3b [FIX] doc: correct link for runbot
Following the last summer runbot update, the URLs have changed

closes odoo/odoo#59241

X-original-commit: 7eaec4b2693b9aea67cfbde5d19dda152fd9f395
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-06 10:36:27 +00:00
Cyril VINH-TUNG ea05ced56b [CLA] EasyPME signs Odoo CCLA
closes odoo/odoo#59081

X-original-commit: ea31b502b5df8550357bb7f63580c2ca76849cc5
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-05 09:23:42 +00:00
Martin Trigaux 097de9be62 [FIX] doc: update version
This commit lands in master, the version switcher was displayed as
"14.0" instead of "master" when published to
https://www.odoo.com/documentation/master

closes odoo/odoo#58816

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 13:31:53 +00:00
Richard Mathot df14f6aef8 [FIX] doc: clarify "supported browsers"
closes odoo/odoo#58976

X-original-commit: 10fb7f0c9f9fc4e73dd75060055693e1745bd2ae
Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
2020-10-02 10:54:23 +00:00
LuisMalave2001 b952b92221 [CLA] signature for LuisMalave2001
closes odoo/odoo#58808

X-original-commit: 5c771f5dc52eb1f18ae032b44d96c7bd94f96c9e
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 12:08:10 +00:00
Thierry Ducrest 590c5fbe2d [CLA] Add tdu to camptocamp cla
closes odoo/odoo#58773

X-original-commit: 1d95a9e540c442b65b1f51adde5a265bf8089bef
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-29 09:40:03 +00:00
Jorge Luis Quinteros ae7a3e09b2 [CLA] signature for JorgeQuinteros
closes odoo/odoo#58732

X-original-commit: 98c006e5c78bf7b31703846d3cf602da84e83a76
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28 17:17:10 +00:00
Mohammed Alhalwachi 8310c44c0f [CLA] Signature for jidd6
closes odoo/odoo#58724

X-original-commit: e6249992b33b42edf191772dba4c406cbfcd7005
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28 16:46:28 +00:00
Martin Trigaux 5c3923c3e3 [IMP] doc: specify the minimum version of PostgreSQL
Specify 10.0 as present in both the latest LTS versions of Debian and
Ubuntu (Debian Buster=11.0, Ubuntu Bionic=10.0)

Update link to point to a postgresql.org URL to be more "official"

Fixes odoo/odoo#34226

closes odoo/odoo#58710

X-original-commit: 698336cbcfdefd78728901edeb365febe0b8cb77
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28 16:03:27 +00:00
root c4fa804cc6 [IMP] doc: update links to 14.0
closes odoo/odoo#58686

X-original-commit: 78abbd6472f4c389ef6b67a257754365f5b02741
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28 14:07:25 +00:00
Jeremy Kersten d86a1fa685 [IMP] website: rename 'choose a theme' to 'pick a theme'
closes odoo/odoo#58446

X-original-commit: af99455d9c4314ef13d1014450d927f99cd16b9a
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-09-24 15:01:55 +00:00
Kaushalya Mandaliya 6b31e9c16b [FIX] doc: fix some typing mistakes in guidelines
closes odoo/odoo#58322

closes odoo/odoo#58437

X-original-commit: 7ceb73d324cd90038c80a5c7d65d9f43fd4b264a
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-24 13:55:00 +00:00
Raf Geens cfe2d22999 [ADD] doc: port the searchbar from user to dev docs
The developer documentation already has a search functionality via Sphinx if
you use the right URL, but it was not exposed in the frontend. This commit ports
 the search bar from the user documentation.

Original commits: 17fc4219bd24e8993fc5ab3c00d9979f87a45e84 (rim) and
52e49eda472963e929ec7b004eae20c514364403 (kts) from
https://github.com/odoo/documentation-user/

closes odoo/odoo#58213

X-original-commit: b38059caf59a3fbd67989d89317cfdc9f3be35a3
Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
2020-09-22 11:42:36 +00:00
Marcel Savegnago 043dcba4e0 [CLA] Escodoo signs Odoo's CCLA
closes odoo/odoo#58158

X-original-commit: 25c50242f9761257868a586dbf686d7aeb16c01c
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Signed-off-by: Marcel Savegnago <marcelsavegnago@users.noreply.github.com>
2020-09-21 15:46:10 +00:00
Martin Trigaux a55496dc8e [ADD] doc: sescurity pitfalls
Write guidelines on how to write secure code and avoid commons
mistakes.

Update outdated information and move existing security guidelines to
the same section.

closes odoo/odoo#58065

X-original-commit: 10184274fb6be1639d2047e863654ed5c7bef9f0
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-18 16:21:39 +00:00
Alex Hafner 7079d747e7 [FIX] core: use shortened table aliasing in get_join_conditions()
Current behavior:
Auto-generated SQL fails with ERROR: missing FROM-clause entry for table when table alias names exceed the target length of 63 characters. This is because odoo.osv.expression.py handles shortening the table name alias in generate_table_alias, but not in get_join_conditions. In the resulting SQL, shortened aliases are used in the FROM clause, whereas in the join conditions, the full alias is used, which is both exceeding the Postgres limit and not matching the table name alias in the FROM clause.

Expected behavior:
auto-generated SQL runs without errors.

Implementation of fix:
- refactor alias shortening into new function _shorten_alias to make it reusable
- Use _shorten_alias in both generate_table_alias and get_join_conditions

closes odoo/odoo#57944

X-original-commit: 40b97b37e2188b082cd70eec1cdf14bf9366377e
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-09-17 12:22:13 +00:00
Raf Geens 3380ea7964 [FIX] doc: formatting/rendering issues
This commits solves different rendering issues in the javascript reference
documentation, following the work done in #57270, but for issues added in
further versions and missed in the forward-port.

Forward-port of #57758
Forward-port of #57775

closes odoo/odoo#57835

X-original-commit: 8885cf578468d34e740bada95440f092f10c6268
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-09-16 11:47:15 +00:00
Victor FeyensandRaf Geens c4442e8341 [IMP] doc: related fields do not support chained x2m dependencies
The behavior isn't exactly undefined: it will appear to work if the
relation refers to only 1 instance. If there are multiple it will give
results for 1 instance and ignore the others. This behavior should not
be relied upon, hence I'm documenting it as undefined. I confirmed this
with mat from the ORM team.

Even better would be to raise an error or warning if `related` is used
in this context.

closes odoo/odoo#57270

closes odoo/odoo#57815

X-original-commit: 6ae421f551ee36afa836494bc8563fc9276ab31e
Signed-off-by: Raf Geens <raf-odoo@users.noreply.github.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Co-authored-by: Raf Geens <raf@odoo.com>
2020-09-16 10:21:36 +00:00
Raf Geens e179d4750d [IMP] doc: Add example for inherit_id + mode
Added an example because it's non-trivial to realize why you would want
to set `mode` to `primary` together with `inherit_id`.

Another way to look at it is that the view matching doesn't understand
delegation inheritance. If it did there would be no need to override
`mode` because it would be able to see that the parent and derived views
refer to related models. But since that feature might not be worth the
effort, it's ok for me to just document the current situation.

X-original-commit: 549d159a836229f634be04131db947b275240edb
2020-09-16 10:21:36 +00:00
Raf Geens 0447a061f1 [IMP] doc: Mention inherit_id needs a ref attribute
Also added an example.

X-original-commit: 9e7577bf550087159880de84706d4dad8cf99f93
2020-09-16 10:21:35 +00:00
Raf Geens 296b137acf [FIX] doc: Formatting issue with some bullet list lines
Some line items in a bulleted list would span a paragraph but the first
line of the paragraph would be in bold and the rest would be indented
and not bold below it. You would end up with sentences that broke off
half in bold and half in the regular font. This was due to wrong
indentation in the source.

The pattern was also used for more legitimate cases (field descriptions),
as well as borderline cases (where a section might have also worked).
I've updated the borderline cases to have consistent formatting across
the document and removed the bullet points that were prefixing
description lists in both cases.

X-original-commit: 2d865d80b1b9d14994562f0c77b16e99a4167fcf
2020-09-16 10:21:35 +00:00
Raf Geens e838ed8e10 [FIX] doc: Frenchism: edition -> editing
X-original-commit: 5a7e4e0d0943679c7a0c3feb5dcf82ec9efde094
2020-09-16 10:21:35 +00:00
Raf Geens 71566558bc [REM] doc: Removed dead Javascript API doc and link
MAT confirmed the Javascript API is currently not being built due to
repeated compatibility problems between ES6 and the docstring output
with no clear solution in sight.

X-original-commit: 3198d0120a9388768ee882bb98e279f860a5b456
2020-09-16 10:21:34 +00:00
Raf Geens 6fcfefc83e [FIX] doc: Truncate 680-line example data
The page shows the first 15 lines of a CSV in raw form as an example.
Next it shows the same data rendered as a table. However, it was
displaying the entire 680-line source data. `csv-table` doesn't have a
`:lines:` directive. I copied and truncated the original file for use
in the documentation.

X-original-commit: 04d4ec33043627747e36730953479557aae278f2
2020-09-16 10:21:34 +00:00
Raf Geens f116cbf004 [REM] doc: Removed redundant sentence
It links to the same url as the previous sentence.

X-original-commit: ec652ee2c82a52958066f9e7c3ca42be93413de6
2020-09-16 10:21:34 +00:00
Umar 1a32547682 [CLA] signature for emyu01
closes odoo/odoo#57692

X-original-commit: 581848eda89ddc697d35234634d5c430727b32b9
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-14 17:47:11 +00:00