- Dec 04, 2017
-
-
Yannick Tivisse authored
-
- Dec 01, 2017
-
-
Adrien Dieudonne authored
Due to a previous commit (@d2e1a1de), if a date was selected in search filter, the time was converted to UTC to the server. For negative offset, the search was then executed for the day before. Now, we avoid to convert the searched date to UTC. We only need to convert datetime fields.
-
- Nov 30, 2017
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Cédric Snauwaert authored
…ke lock date into account If we have a payment in october and a statement in november and the lock date is 1st november, we can't reconcile both because we try to write statement_id on payment but there is the lockdate constraint. This is not correct and we should be able to reconcile both even after lock date as it is the case for other moves.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Thibault Delavallée authored
-
Christophe Simonis authored
-
- Nov 29, 2017
-
-
Danimar Ribeiro authored
This commit closes #14058
-
Jairo Llopis authored
This commit closes #20722
-
Jeremy Kersten authored
At this step, Order is not always confirmed
-
Jeremy Kersten authored
Without this patch, the user will see a button 'create a new page' on the 404 for the controller /event/<event_id>/page/<page>
-
Martin Trigaux authored
Courtesy of Visti Kristensen, IT-konsulent
-
Romain Derie authored
Before this commit: 1. If user wrote text in the quantity field to add to his cart, it would crash and show a server error. Now, if the user insert a non-valid quantity in the field, we set it to 1 Step to reproduce: With website_sale only - Go to a product page on the shop - Insert 'abc' in the quantity field and click 'Add to Cart' - Server will throw an error 'Can't parse float..' With website_sale_options - Go to a product page on the shop - Insert 'abc' in the quantity field and click 'Add to Cart' - Popup confirmation with optional product will show with 'NaN' in the qty - Click 'Proceed to checkout' - Server will throw an error 'Can't parse int..' 2. On the checkout, if user typed text in qty field it would create infinite quotations. Some modules (eg: website_event_sale) would hide this behavior because they override the RPC call to '/shop/cart/update_json' and throw an error on the RPC. Now, if user type incorrect integer quantity, we set the quantity to 1. Step to reproduce: 1. On base (website_sale only) - Add an item to your cart - On checkout page, set qty to 'abcd' or whatever text - Check your browser console, every 500ms their will be a RPC call - Check your quotations in backend, their will be a new one every 500ms 2. On db-all - Add an item to your cart - Set qty to 'abcd' or whatever text - Check your browser console, it will throw an error on the second call This closes #20482, closes #20904
-
Ivan Yelizariev authored
-
Ivan Yelizariev authored
It's needed in phantomjs tests. Without this commit it printed only error stack, which doesn't provide enough information to fix it. This is a problem when the error is not reproduced on running tours manually in browser.
-
Olivier Colson authored
[FIX] l10n_ch: only compute postal reference with sanitized number if no iban reference on the account
-
- Nov 28, 2017
-
-
Nicolas Martinelli authored
`_check_lock_date` is defined on a `account.move`, while in this case `move` refers to a `stock.move`. We re-implement a logic similar to the original commit 287b2932. Fixes #20913 opw-782395
-
adekock11 authored
Closes #21234
-
adekock11 authored
Done at #21234
-
flyingL123 authored
Fixes #21264 Closes #21266
-
flyingL123 authored
Done at #21266
-
Rémi Rahir authored
Before this commit, one could edit its company_name (char) at will but this has no effect on the actual company name (commercial_partner_id that is a company). Thus once the partner is linked to a company, the information entered in the 'details' form will not be in synch with the details info on the '/my/home' page. After this commit, we only allow edition of the 'Company name' field while the partner doesn't have a company set and display the company name once it is set.
-
Christophe Simonis authored
-
Florent de Labarre authored
If a user can read account.analytic.account but not the account.move.line, when he tried to open a partner, there were an raise AccessDenied errors. opw:782961
-
Nicolas Martinelli authored
1. Install mail and hr 2. Create a new mail channel: name: test Who can follow: selected group of user Authorized group: Employee / Manager Auto subscription: Employee / Manager 3. Edit the Demo user, and add him to group Employee Managers The Demo user is not subscribed to the channel (only Admin is) In this case, the web client sends a `sel_groups_` key, which is not handled by the `write` method. Fixes #20897 opw-782301
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christopher Tribbeck authored
Uses `float_compare` instead of comparing floats directly, which is anyway something that leads to precision errors. See related PR for detailed use case. Closes #20770 opw-781384
-
Lucas Perais (lpe) authored
In the case where: - you are too fast editing a mass mailing, trigger an onchange (e.g. mailing_model) and then save You can use the edit/save shortcuts to make yourself believe you are Flash Gordon - your internet is too slow (Down: 4Mb/s, Up: 500kb/s, Latency: 20ms) Before ths commit, the onchange will return *before* the field (the iframe actually) is loaded. This onchange contains a signal *in* the body_html of the field to allow communication with the iframe. If you save before the iframe is loaded, this body_html keyword will be saved. After this commit we deactivate the save button until the iframe is loaded. We could have gone for a python user error on the value of the body_html too. But it would have added a supplementary click and potential reloading OPW 783616
-
Christophe Simonis authored
-
Goffin Simon authored
Use position relative and not negative margin which could bring overlapping. opw:782172
-
qsm-odoo authored
Before this commit, when an user added a video in his page (an <iframe>) it was then duplicated each time the snippet in which the video is was edited and saved again, slowing the page loading. As the code responsible for that is quite outdated, it should be reviewed and refactored in master. This commit only fixes the problem with more code. This commit will also fix existing databases, if the user edit the video snippet once again. (Note: even if this commit's code will be even more strange in master, it *should* be forward-ported anyway).
-
Joren Van Onder authored
When the keypress handler is called the pressed key has not yet been added to this.value. This leads to the search being performed with e.g. 'Agr' when the user has typed 'Agro'. Fix this by getting this value when the timeout expires. At this point the value will be updated. Fixes #21129
-
- Nov 27, 2017
-
-
qsm-odoo authored
Some website default images were declared with the wrong filename extension, inducing the wrong mimetype. As a result, some browsers (IE...) were unable to render these images.
-
Martin Geubelle authored
When grouping a graph view by a selection field, the labels on x axis were the selection values themselves (not their corresponding label). This issue was only present if there was only one group by field. In this case, the attribute `grouped_on` is not an array but a string containing the field name. This case wasn't correctly handled. Note that this issue is not present in the new views (from saas-16). Closes #19790
-
Adrien Dieudonne authored
When a datetime was selected in a search filter, the time wasn't converted to UTC to the server. So, there were unexpecting records due to the wrong query domain. When we retrieve the value from the datepicker, we need to convert it to UTC before sending it to the server.
-