- Jun 06, 2018
-
-
Olivier Dony authored
When an exception is raised during the course of a normal SMTP session, smtplib's `sendmail()` method will close the channel automatically, so any further attempt at sending SMTP commands will fail with an SMTPServerDisconnected error, even just calling `smtp.quit()`. This will shadow the original error, and make debugging harder. Fixes #1493
-
Olivier Dony authored
Old API support has been dropped as of 11.0, and the old onchange system should have been discontinued along with it. New-API onchange mechanism is automatically triggered without requiring any extra markup in view declarations, as explained in the documentation: - https://www.odoo.com/documentation/11.0/reference/orm.html#porting-from-the-old-api-to-the-new-api - https://www.odoo.com/documentation/11.0/reference/orm.html#onchange-updating-ui-on-the-fly
-
Olivier Dony authored
[REV] Revert "[IMP] base: select countries & state based on exact code, (useful for import and fast many2one)" This reverts commit 09a22e3b, which was attempting to fix a use case that was actually working. It also created a duplicate `name_search()` method for res.country, in addition to the one aliased to `location_name_search()` It is indeed supported to import countries and states, using the country code or state code as the imported value. These will be matched uniquely thanks to the special `name_search()` performed for import, forcing the `operator`. And this is done while still allowing proper auto-completing for normal UI case, where the "exact code match" will only promote an extra result at the top of the suggested matches, rather than limit the results to a single match. The confusion apparently stemmed from the test case using "UK" as the country code. UK is not a valid ISO country code, so it would never match as expected.
-
- Jun 05, 2018
-
-
Laurent Smet authored
The installation of l10n_de, l10n_nl and l10n_vn failed since: https://github.com/odoo/odoo/commit/7dc30bf735a1d7898f5298204e3afdcdb37994a4 https://github.com/odoo/odoo/commit/101e0a7ef792c5b1af95a08931647fb485af2ec6 https://github.com/odoo/odoo/commit/dc99a666f81e6c4c86b9e5b835947be2ab2100d9
-
- Jun 04, 2018
-
-
Pierre Masereel authored
Interpret such domains that do not really make sense as falsy, and log a warning when it occurs.
-
- May 30, 2018
-
-
Christophe Simonis authored
-
Mathieu Duckerts-Antoine authored
There was no consideration of the fact that the widget rendering process could be asynchronous. This commit fixes that situation so that render a node of type <widget name="..."> is now possible.
-
Géry Debongnie authored
In some cases, the calendar view sends a trivial domain, such as ["partner_id", "not in", []] This is clearly not really useful, and it could hurt performances in some cases (for example, if the partner_id field is a related on a large table, and non stored). This is clearly not a complete fix, but it is easy, safe and does not hurt.
-
- May 29, 2018
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
pimodoo authored
Th view validation when attribute force_save is set on a field raise an 'Invalidation error' because there is no rng attribute for 'force_save'. This attribute disappeared during the refactoring in rev: https://github.com/odoo/odoo/commit/70942e4cfb7a8993904b4d142e3b1749a40db806
-
xmo-odoo authored
Rather than requiring the user have a name *or* a partner, the check required the user have a name *and* a partner. The B2C form only has a name and expects the partner to be created from/via the user, so this would raise an exception which wouldn't even be bubbled to the user, so trying to signup would just yield a 500 Server Error when trying to create an account.
-
Martin Trigaux authored
To have the translated version of tooltip_planner displayed opw-1850066
-
Odoo Translation Bot authored
-
Goffin Simon authored
When creating a warehouse, a traceback was raised if the xml_id: mrp.route_warehouse0_manufacture was not found. opw:1852761
-
Goffin Simon authored
The number of characters must be taken into account to print the barcode. With 13 characters -> EAN13, with 8 characters -> EAN8 else -> Code128 Backport of 12b11c1e opw:1849965
-
Lucas Perais (lpe) authored
Model A has a o2m to model B Model B has a m2o parent_id on B In A's form, add a B item, then in the m2o, create record Save and New Click on the m2o Before this commit, the python crashed on name_search. This was because we sent the virtual ids to it After this commit, there is no crash OPW 1850212 closes #24948
-
Richard Mathot authored
-
Nicolas Martinelli authored
The `pre_msg` field was removed from the payment process in commit 14081b84. We hide the field since it is confusing for end users. A proper refactoring will be done in master. opw-1849413
-
Goffin Simon authored
The number of characters must be taken into account to print the barcode. With 13 characters -> EAN13, with 8 characters -> EAN8 else -> Code128 opw:1849965
-
Quentin De Paoli authored
-
Goffin Simon authored
In this way the name of a delivery method can be translated on a SO line. Inspired from function 'product_id_change' in model 'sale.order.line' where the description of a SO line must be in the language of the partner. opw:1849656
-
Josse Colpaert authored
[FIX] stock_account: setting standard price with multiple real-price outs with negative quants fixes #24925 Somehow the function treated multiple records with the new api translation from 9 to 10. Steps to reproduce: This applies to delivery orders and manufacturing orders. As an example: Create an MO with 2 products on the BOM Both products must have real time costing with FIFO The first product on the bom must not be available For the second product on the BOM, the standard_price must be different from the cost of the next quant to be consumed Complete the MO, letting the first product result in a negative quant Current behavior: The standard_price of the second product on the BOM does not get updated. Behavior after this fix: The standard_price of the second product on the BOM gets updated. Thanks to matt454357.
-
- May 28, 2018
-
-
Lucas Perais (lpe) authored
Have a decorated (conditional on field) editable list, with a default_order. Have more records than the pager allows. Add an item, and hit escape to cancel addition. Before this commit, the cancellation crashed because the first record on the other page was trying to evaluate the decoration for its row, which is wrong in the first place. This was because creating a record increases the limit of the list, to be able to see the record being created. At cancellation though, that limit was never decreased. After this commit, the whole flow happens without problem. OPW 1844495 closes #24682
-
Arnold Moyaux authored
Since saas-11.2 stock_tracability refactoring do not use level on moves orig/dest and filter on return is not usefull anymore. It should display all return order by date. This commit remove the codition on the return inside the search on move lines.
-
qsm-odoo authored
When a t-field element was in an editable t-ignore environement, modifying it was leaving the edit mode style attached to it. This was because of: 1) When the t-field element was changed, it was marked dirty but also its parent editable container. Fixing this, only solves the case where only the t-field (and not one of its neighbors) is changed but it was worth fixing anyway. 2) Before saving an element, the potential 'o_editable' and summernote classes were not removed of its descendant and were thus saved. Bug found with task-38069, merged in stable as it might occur there too.
-
Aaron Bohy authored
This rev. adds a new module enabling the livechat support from the webclient. It allows employee users to communicate with livechat operators of another database, assuming that a counterpart addon is installed on that database. Task 26762 Co-authored-by:
Adrien Dieudonne <adr@odoo.com>
-
Aaron Bohy authored
Before this rev., it was not possible to have co-existing instances of bus.bus, each one polling its own server, for several reasons. First, the Bus class couldn't be overridden or parameterized to specify which server and route to call to perform the longpolling. Second, when several instances of bus.bus coexisted, their use of the localStorage (for the CrosstabBus) conflicted, and as a result, only one of them actually polled. This rev. makes it possible, and it was necessary for the new addon 'im_support'. Task 26762
-
Aaron Bohy authored
Let's assume the following scenario: in a kanban view with a domain, remove that domain and quickly click on a record to open it in form view. On a slow network, it may happen that the reload of the kanban view (triggered by the domain change) returns after the load of the form view. Before this rev., when this happened, the form view was correctly displayed but the control panel contained the buttons, searchview, pager... of the kanban view. Note that this fix is quite ugly, but it won't be necessary anymore as soon as the control panel won't be shared between actions and controllers, i.e. as soon as each controller will have its own control panel.
-
- May 27, 2018
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- May 25, 2018
-
-
qsm-odoo authored
Bootstrap 'img-responsive' behavior was opt-in for a reason but commit https://github.com/odoo/odoo/commit/f79b00c3b71e02f73537cb17285a6902fc0906b5 tried to defy that anyway. This would break existing client databases ... or at least our odoo.com. This commit adds the img-responsive class for *new* *editor* images (still with inline-block display), preventing breaking libraries or custom (prod) images.
-
Fabien Meghazi authored
Before this patch, early connections made to a 11.0 Odoo server running on Python 3 and deployed in threaded mode with socket activation would generate invalid registries. With this patch it is now possible, when this deployment mode is used, to opt-out addons preload by setting the following environment variable: ODOO_PRELOAD_ADDONS=no Note: this environment variable is only available for v11.0 as later versions does not preload anymore (cf: 1a39c9b)
-
Christophe Simonis authored
-
Nicolas Lempereur authored
Since 953a693d link not corresponding to a route are tought multilang by default. Thus in the mass mailing, if the user had not the default language on the website he would have eg. a /fr_FR/unsubscribe_from_list placeholder in the mail. The placeholder is replaced by a real link pinpointing to the items the given person would unsubscribe to, but having /fr_FR/ part prevented that. With this PR, there is a dummy route so /unsubscribe_from_list is explicitely known as not multilang. opw-1850696 closes #24912 Co-authored-by:
Goffin Simon <sig@odoo.com>
-