Commit Graph
132719 Commits
Author SHA1 Message Date
Nicolas Martinelli 5661b48cfb [FIX] account: loop correctly
opw-2157568

closes odoo/odoo#42108

X-original-commit: 0d6a370f08b981737e7796055628955e82fdb19c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-12-18 09:16:14 +00:00
Xavier Morel a3371a467b [FIX] core: ask OS to pick CDT port
When running multiple odoo on the same machine (in order to test
multiple things concurrently, etc...) it's easily enough to start them
on 8069, 8070, 8071, ... and that *seems* to work, but then they start
walking on one another and *losing* chromes entirely, so you end up
with hundreds of chrome processes: right now with 2 Odoo running tests
my machine is at 365 Chrome processes, 550 process and 3180 threads
total (should be ~160 and ~700 with 2 chrome processes at most).

Instead, ask the OS to ask for a devtools port, then close the socket
and pass that to the child process. There's a race of sort for the
instant between closing the socket and Chrome reopening it, but:

* the window is very short
* we got a random port from the ephemeral range, it's possible
  somebody else gets it inbetween but unlikely (the 50% on a birthday
  attack is 200 for Linux's ephemeral range, it's a somewhat lower 150
  for the IANA range used by BSDs and Windows)

Sadly chrome doesn't stop if it can't bind to the port it's given.

closes odoo/odoo#42102

X-original-commit: 897ded1cb8b675024d75c6975ca171dbefdfc333
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-12-18 06:56:24 +00:00
jeffery 陈帆 f26760e2f4 [CLA] add new signature for jeffery9
closes odoo/odoo#42093

X-original-commit: 6e30f036d1105a0a8724428839e6ab692ef01cb1
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-18 08:38:20 +00:00
jev-odoo b308a173a6 [FIX] payment_paypal: Less confusing transaction logs
Before this commit, the log displayed "set as done"
before actually trying to put the transaction in done.
If an error then occurred in the'_set_transaction_done'
function and the transaction could not be processed,
this could lead to a misinterpretation of these logs.

This log is therefore moved after the transaction is
processed and is only displayed if it is actually successful.

This is valid for'done','pending' and'cancel'.

closes odoo/odoo#42089

X-original-commit: dd7552b1a48020f3f48cd40a5fc1cbc4c38a7f90
Signed-off-by: jev <jev-odoo@users.noreply.github.com>
2019-12-18 07:06:31 +00:00
Christophe Simonis 1f8706edd4 [FIX] test_main_flows: auto expand buttons in "More" dropdown
We are looking for the "Bom Count" stat-button, which can be hidden
behind the "More" dropdown, depending on the number of installed modules
and views inheritance order loading.

closes odoo/odoo#42085

X-original-commit: dc4a40cc130175a60aa77a0660613b23c4bb916f
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2019-12-17 18:58:30 +00:00
Nicolas Martinelli 55d82393dd [FIX] stock: prevent crash on availability
opw-2157386

closes odoo/odoo#42081

X-original-commit: bd6631f0dff3433d70d4279c336f132d4c46441c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-12-18 06:59:21 +00:00
Alexandre Díaz 37138a8977 [FIX] web: Changed mobile message html element in multi-company dropdown
Without this commit the multi-company dropdown breaks the page on mobile

closes odoo/odoo#42080

X-original-commit: e074dca861bedb89952d3788e711e261ce903295
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2019-12-18 02:17:04 +00:00
Martin Trigaux da66138f58 [IMP] doc: restore canonical URL
Was added at 958f9106dd but lost during design change

closes odoo/odoo#42061

X-original-commit: 560dba5313c5ca5265190dacc3bce7cbe509d30a
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-12 14:06:34 +00:00
Odoo's Mergebot 91f5fd0df3 [MERGE] website: reorganize website folder
Reorganize the website folder to gather the large amount of snippets
that will become standard. Also prepare for a new system of snippet
versioning.

Note: this merge contains a lot of commits because the files were
split in such a way the history is not lost. A better way could
exist to achieve this with less commits but in the end all the
commits are gathered in an unique merge commit anyway.

task-2158361

closes odoo/odoo#42067

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2019-12-18 04:15:12 +01:00
qsm-odoo 5a8c2c7a4a [FIX] website: remove css bundle for s_facebook_page added by mistake 2019-12-18 03:44:42 +01:00
qsm-odoo d63beb924b [FIX] website: s_title scss should have been moved in a dedicated file 2019-12-18 03:35:22 +01:00
qsm-odoo 38bf4eb10f [REF] fake move of website.scss 2019-12-18 03:33:25 +01:00
qsm-odoo f1af91584c [REF] move history of website.scss to s_title 2019-12-18 03:33:24 +01:00
qsm-odoo 95747d8da5 [REF] website: move s_mega_menu_menu_image_menu snippet to dedicated file 2019-12-18 03:27:50 +01:00
qsm-odoo 2e76b8a5a6 [REF] fake move of snippets.xml 2019-12-18 03:26:41 +01:00
qsm-odoo dedcd695ce [REF] move history of snippets.xml to s_mega_menu_menu_image_menu.xml 2019-12-18 03:26:41 +01:00
qsm-odoo 799142fe1b [REF] website: move s_mega_menu_multi_menus snippet to dedicated file 2019-12-18 03:25:59 +01:00
qsm-odoo 9b8cba09c8 [REF] fake move of snippets.xml 2019-12-18 03:24:59 +01:00
qsm-odoo 93ba0f4b74 [REF] move history of snippets.xml to s_mega_menu_multi_menus.xml 2019-12-18 03:24:58 +01:00
qsm-odoo 7e8396e6fe [REF] website: move s_quotes_carousel snippet to dedicated files 2019-12-18 03:23:07 +01:00
qsm-odoo c85a5d9b8f [REF] fake move of snippets.xml and website.scss 2019-12-18 03:20:37 +01:00
qsm-odoo 514c358dee [REF] move history of xml/scss to s_quotes_carousel files 2019-12-18 03:20:03 +01:00
qsm-odoo 254e691c47 [REF] website: move s_parallax snippet to dedicated file 2019-12-18 03:16:54 +01:00
qsm-odoo 6a3e76a1ab [REF] fake move of snippets.xml 2019-12-18 03:15:23 +01:00
qsm-odoo 9a6c1fe318 [REF] move history of snippets.xml to s_parallax.xml 2019-12-18 03:15:23 +01:00
qsm-odoo e714accfd6 [REF] website: move s_chart snippet to dedicated files 2019-12-18 03:12:23 +01:00
qsm-odoo 30aa2ee339 [REF] fake move of snippets.xml and options/animations.js 2019-12-18 03:05:35 +01:00
qsm-odoo a8305af1b3 [REF] move history of xml/js to s_chart files 2019-12-18 03:04:42 +01:00
qsm-odoo e0b97cdb87 [REF] website: move s_tabs snippet to dedicated file 2019-12-18 03:02:10 +01:00
qsm-odoo 7584e3012d [REF] fake move of snippets.xml 2019-12-18 03:00:58 +01:00
qsm-odoo b8167a8c03 [REF] move history of snippets.xml to s_tabs.xml 2019-12-18 03:00:58 +01:00
qsm-odoo 05d70bd6d4 [REF] website: move s_features_grid snippet to dedicated files 2019-12-18 02:59:33 +01:00
qsm-odoo 03a1880e84 [REF] fake move of snippets.xml and website.scss 2019-12-18 02:57:19 +01:00
qsm-odoo 2e242386fb [REF] move history of xml/scss to s_features_grid files 2019-12-18 02:56:58 +01:00
qsm-odoo 46cdb3e4c7 [REF] website: move s_faq_collapse to dedicated files 2019-12-18 02:55:13 +01:00
qsm-odoo aee452da48 [REF] fake move of snippets.xml and website.scss 2019-12-18 02:53:06 +01:00
qsm-odoo 049dcc764f [REF] move history of xml/scss to s_faq_collapse files 2019-12-18 02:52:31 +01:00
qsm-odoo 6dcff16313 [REF] website: move s_references snippet to dedicated files 2019-12-18 02:50:24 +01:00
qsm-odoo 099b4aa16b [REF] fake move of snippets.xml and website.scss 2019-12-18 02:47:52 +01:00
qsm-odoo 9bfecb7870 [REF] move history of xml/scss to s_references files 2019-12-18 02:47:28 +01:00
qsm-odoo e698718655 [REF] website: move s_call_to_action snippet to dedicated file 2019-12-18 02:44:34 +01:00
qsm-odoo 93ffe94deb [REF] fake move of snippets.xml 2019-12-18 02:43:42 +01:00
qsm-odoo e346f4d12e [REF] move history of snippets.xml to s_call_to_action.xml 2019-12-18 02:43:42 +01:00
qsm-odoo 76aeea4891 [REF] website: move s_company_team snippet to dedicated files 2019-12-18 02:40:33 +01:00
qsm-odoo f710979b61 [REF] fake move of snippets.xml and website.scss 2019-12-18 02:38:25 +01:00
qsm-odoo 2ee438896d [REF] move history of xml/scss to s_company_team files 2019-12-18 02:37:59 +01:00
qsm-odoo 70717ab713 [REF] website: move s_comparisons snippet to dedicated files 2019-12-18 02:35:17 +01:00
qsm-odoo 0b7cbc6087 [REF] fake move of snippets.xml and website.scss 2019-12-18 02:32:41 +01:00
qsm-odoo 98fd1f98ea [REF] move history of xml/scss to s_comparisons files 2019-12-18 02:31:50 +01:00
qsm-odoo 6134bbb26a [REF] website: move s_countdown snippet to dedicated files 2019-12-18 02:28:36 +01:00