fc60c49ba3
[MERGE] web,*: update code base to jQuery 3.*
...
The goal of this task is to update jQuery from version 1.11 to 3.x.
Task-id : 1896658
As we are skipping 2 magor versions, there are some breaking changes in the jquery library described here: https://jquery.com/upgrade-guide/3.0/
Main changes are:
-------------------------
1. Update the libraries jQuery, jQueryUI, QUnit and select2 to their latest version.
The link to generate the build of jQueryUI with the used components: [jquery UI build](https://jqueryui.com/download/#!version=1.12.1&components=111110010101111110100010110000011010000000000000 )
2. Use native promises ([a complete explanation about promises here](https://github.com/getify/You-Dont-Know-JS/blob/master/async%20%26%20performance/ch3.md )) everywhere possible:
In order to [be A+ compliant](https://promisesaplus.com/ ), the jq3 deferred uses `setTimeout(..., 0)`
for every then and catch, which takes between 4 and 10 ms by call.
This would be way too slow to use in Odoo.
To prevent this, we have used the native Promises everywhere possible.
Be it with jq deferred or native promises, all promises are now asynchronous,
this example will ALWAYS result in printing first "just after blabla" then "blabla"
because the `then` function will always be asynchronous (opposite to
what jquery used to do)
```
function () {
Promise.resolve("blabla").then(console.log);
console.log("just after blabla");
}
// console:
// just after blabla
// blabla
```
3. On native promises, you should see the catch like a try/catch in
javascript, meaning that it will catch all errors including coding errors:
For this we have introduced the concept of `guardedCatch`, which will be executed
on promise rejection unless the promise is rejected because there is
a code error or runtime error (calls on undefined, etc).
4. Native Promises do not have `done`, `fail` and `always` methods nor does it have the `state` method
- `fail` can be replaced with `guardedCatch`
- `return $.when(x).done(function() ...)` can be replaced with
```
var x = Promise.resolve(); // we get the x promise in a local variable, without then
x.then(function() ...); // we add a new handler to x. This operation returns a new promise we don't care about
return x; // we return the x promise that will be completed without waiting for the then
```
- `$.when().done(function ...)` without the return can be replaced by `then(function ....)`, because if it is not returned, it doesn't matter what is chained or not `$.when().always(function() ...)` can be replaced with
```
var always = function() ...
Promise.resolve().then(always).guardedCatch(always);
```
- It is not possible to inspect the state of a promise, except in debug tools of chrome and firefox. Any code that relies on `$.Deferred.state()` should be rewritten to use flags in `then` and `catch` handlers. Remember that it is not possible to execute the handlers in a synchroneous manner, so when a promise is created, its `then` will never be called on the same execution stack. At best it will be called on the next microtask tick (before the next setTimeout).
5. We have introduced the concept of guardedCatch, to copy the behavior of the old fail:
The guarded catch will only execute the handler in parameter if the rejection reason is not an `Error`
```
var failingPromise = Promise.reject({message:"I am the rejection reason"});
failingPromise.guardedCatch(function(reason) {console.log(reason);}); // is called, then returns a rejected promise
failingPromise.catch(function(reason) {console.log(reason);}); // is called
```
will write the reason "I am the rejection reason" to the console twice: once because the `guardedCatch` will execute (and return a rejected `Promise` with the same reason it was called), a second time because the `catch` will catch the rejected reason returned by the `guardedCatch`
```
var promiseWithError = Promise.resolve().then(function() {
a.b = 0; // <-- the variable a does not exist, so a.b is an error
});
promiseWithError.guardedCatch(function(reason) {console.log(reason);}); // will not be called
promiseWithError.catch(function(reason) {console.log(reason);}); // will be called
```
contrary to how deferred used to work, here the catch will be called because it behaves like a `try... catch...` and will catch the coding error like if it was a business error. The `guardedCatch` however does not call the handler if the rejection reason is an error.
In all Odoo code, we never reject a promise with an error and always use objects to defined the rejected reason, so it is a good idea to use `guardedCatch` everywhere.
6. Native Promises can have only one parameter passed to a `then` function or a `catch` function:
`xxx.then(function(param1, param2) {...}); // param2 will never have a value`
- we can replace `$.when(prom1, prom2).then(function(result1, result2) { ... });` by
```
Promise.all([prom1, prom2]).then(function(results) {
var result1 = results[1];
var result2 = results[2];
...
});
```
7. We are now using ES7 code in the unit tests (async await).
closes odoo/odoo#28457
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com >
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 21:18:36 +01:00
Aaron Bohy
53e7050ce0
[REF] mail: stop using jQuery animate
...
Problem is that jQuery animate uses jQuery deferreds, so it may
happen in tests that we fold a thread window, and we have to wait
for 2 (?) nextTick to see that the window is actually folded.
We use a css transition instead, which produces the exact same
result.
2019-03-06 20:07:17 +01:00
Vincent Schippefilt
7a665ca92a
[FIX] web_editor: temporarily skip two tests
...
Those two tests non deterministically fail on the jQuery branch.
We'll fix them after the merge.
2019-03-06 20:07:17 +01:00
David Monjoie
3d3db1f035
[FIX] web_editor: insert assets in head instead of body
...
This made the test suite fail as there are leftovers in the body
after tests.
2019-03-06 20:07:17 +01:00
David Monjoie
7cb64b5e93
[REF] doc: promisify doc examples
...
Also remove a file on async stuff as its content is outdated, and
actually not used.
2019-03-06 20:07:17 +01:00
4721de57df
[REF] website_twitter: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
4d1927caef
[REF] website_slides: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
a74169bb09
[REF] website_sale_wishlist: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
4032be506a
[REF] website_sale_comparison: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
d093d1aeba
[REF] website_sale: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
b06dacd358
[REF] website_rating: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
fdaa417165
[REF] website_mass_mailing: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
ff1c735e1e
[REF] website_mail_channel: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
5413686837
[REF] website_mail: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
bd88240d3f
[REF] website_livechat: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
6928bfb6c7
[REF] website_links: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
f0b527591a
[REF] website_gengo: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
3482e3a5a7
[REF] website_forum: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
f7917b1502
[REF] website_form: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
a8e8184048
[REF] website_event: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
7a899753c1
[REF] website_crm_partner_assign: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
648e3326a0
[REF] website_blog: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
226a6a9e67
[REF] website: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
c39033bc1c
[REF] web_unsplash: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
61b59c031f
[REF] web_tour: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
8356a00a68
[REF] web_settings_dashboard: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
7bc550fb8d
[REF] web_kanban_gauge: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
2e8222dee7
[REF] web_editor: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
a3dfd04ad6
[REF] web_diagram: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
ab56e637b7
[REF] web: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
eeed894fd5
[REF] survey: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
3f4a056e7c
[REF] stock: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
de9006f112
[REF] snailmail: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
b9065324e9
[REF] sms: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
624c943806
[REF] sale_stock: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
bc76549a7d
[REF] sale: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
cae1f71b75
[REF] project: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
c441ee6949
[REF] pos_restaurant: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
b09831c5f2
[REF] pos_mercury: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
5f3b5f0a9d
[REF] pos_hr: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
f414c9f3f8
[REF] portal: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
53285f1a76
[REF] point_of_sale: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
dab34f0aeb
[REF] payment_stripe: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
9c90d21f2e
[REF] payment: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
5547aa2487
[REF] partner_autocomplete: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
bfed574255
[REF] pad: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
237b9e8ef5
[REF] note: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
edae92c880
[REF] mrp: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
f2a91f8cba
[REF] mass_mailing: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00
9419529b2d
[REF] mail_bot: adapt code after jQuery update
...
Part of task 1896658
Co-authored-by: Aaron Bohy <aab@odoo.com >
Co-authored-by: Christophe Matthieu <chm@odoo.com >
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com >
Co-authored-by: David Monjoie <dmo@odoo.com >
Co-authored-by: Martin Geubelle <mge@odoo.com >
Co-authored-by: svs-odoo <svs@odoo.com >
Co-authored-by: Vincent Schippefilt <vsc@odoo.com >
2019-03-06 20:07:17 +01:00