Commit Graph
3035 Commits
Author SHA1 Message Date
Franck Plazanet 5705814e73 [FIX] website: use currentTarget onLangChangeClick
Before this commit, in case of Google Translate is enable, some content
can be wrapped in extra node.

Use currentTarget is more secure to get the right element clicked.

**Steps to reproduce:**
1. Add a website and multiple language
2. Create a page in 2 languages
3. Visit the website in Chrome and enable the translation by Google translate
4. Change the language and you should get an error similar to:

Error:
Uncaught TypeError: Cannot read property 'replace' of undefined

closes odoo/odoo#62849

X-original-commit: a2ebc05c83de305bc0323f2793ac06dbc15c63cd
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-12-03 22:42:21 +00:00
FernandoRFR02 64a730b7a5 [REF] l10n_do : deleting and adding journals, adding missing taxes, updating account to Retención 5% ISR gubernamentales
and CLA sing

closes odoo/odoo#62724

X-original-commit: 0de9e69fae5abb2d4f15da35f907c8821ec80674
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-12-02 10:19:39 +00:00
Julien Castiaux eded14b4c4 [ADD] fields.py: New x2many command helper
We provide a new helper class to help redact x2many commands for create
and write methods. To ensure best compatibility with the xmlrpc layer we
do not change the protocole, the commands are still 3-elements tuples
where the first element is still an integer in between 0 and 6. The
helper class provide the cannonical constants and static methods to ease
working with the commands. The new helper class is also available in QWeb.

Developers are encouraged to transition their code so it uses this new
helper class.

Task: 2366606
2020-11-30 10:16:09 +00:00
Julien Castiaux 6a6077b313 [FIX] module.py: Remove leftover "active" from manifest
The "active" field is a non-working deprecated alias to "auto_install",
it does not work and was confusing users (see #59850). It has been
removed.

closes odoo/odoo#62086

Task: 2361729
Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
2020-11-23 12:41:52 +00:00
Williams Estrada 7464f09545 [CLA] add Williams Estrada signature to Vauxoo's CCLA
closes odoo/odoo#62499

X-original-commit: 4fe35257c3c126c12a3f4663ed8ff4d2195ca1f2
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-27 10:13:26 +00:00
Leo Tran 8dfaf830fc [CLA] Viindoo signs Odoo's CCLA
Done at #62137

closes odoo/odoo#62480

X-original-commit: 60d723cbc0887904b31e88f766e127504f71246b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-27 08:16:12 +00:00
Stephane Mangin 9cc886e5eb [CLA] add Stephane Mangin to Camptocamp CLA
closes odoo/odoo#62441

X-original-commit: 52cd0a7407eb4bea0c4deb8eaedfcf9331d2c5d6
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-26 16:19:15 +00:00
Stefano Consolaro dbca2d7371 [CLA] signature for mymage
closes odoo/odoo#62381

X-original-commit: 73293a2b0265b1795744258be3eceed593faf5ce
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-26 09:57:18 +00:00
Rachid Al Assir 39996a598a [CLA] signature for RachidAlassir 2020-11-25 07:58:07 +00:00
Sébastien Mottet (oms) 021166b31b [DOC] A doc page for the extract API
This doc page details the extract API and has the following structure:

- Service explanation.
- Expected successful flow
- Description of the 3 routes (request and response structure)
	- /parse
	- /get_results
	- /validate
- Hint for integration testing

closes odoo/odoo#61991

X-original-commit: af486cb87a0086d29ea45a31f3667458ad73e7fd
Signed-off-by: Florian Daloze (fda) <fda@odoo.com>
Signed-off-by: Sébastien Mottet <smottet@users.noreply.github.com>
2020-11-19 10:16:16 +00:00
Martin Trigaux e433bc57ff [FIX] *: rephrase, correct typos
Courtesy of Transifex's translators for reporting bad/unclear sentences.

closes odoo/odoo#61804

X-original-commit: f5d0f4a1ebf406583889e9e04912d40c0693343e
Related: odoo/enterprise#14769
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-16 16:47:28 +00:00
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