- Jun 07, 2016
-
-
Nicolas Lempereur authored
dict.fromkeys doesn't duplicate the passed 'values', hence the code created a table with several times the same instance of values dict. opw-679203
-
Jos De Graeve authored
The product_id is the one of the timesheet line, not the one of the order (which actually is the one of the first line). Closes #12013
-
Denis Ledoux authored
In the Filters, Group By and Favorites dropdowns, when clicking outside the `li` elements but still inside the dropdown menu itself (like on the dividers, or next to the advanced search `Apply` button), the dropdowns was closed. This behavior was annoying when doing an advanced search with a field using the datetime picker, as, to close the datetime picker, you have to click outside it, and when you did, it closed automatically the filter dropdown... So you had to open it again to finally apply the filter. opw-674310
-
Olivier Dony authored
Both website_sale and website_quote have logic to independently confirm sales orders when a successful payment transaction is processed. Rev 46c5f93b introduced an extra check and logging for transactions with mismatching amounts in website_sale, but the same change was not done in website_quote. Consequently, when both modules were installed, the tx mismatch check was bypassed by website_quote, and a spurious logging message was emitted by website_sale if the website_quote logic had executed first. This patch makes tx handling consistent in both modules, and avoids the misleading log message when both modules are installed.
-
Simon Lejeune authored
this avoid to overwrite the configuration file at each update. closes #11722
-
Christophe Simonis authored
Mobile virtual keyboards will often capitalize the first letter of an input text field, which is annoying as odoo logins are case-sensitive. This will no longer happen thanks to this new attribute. X-port of commit odoo/enterprise@b8632f8bb62c5507c67bf30ca184f06b3ddd1cb3
-
Christophe Matthieu authored
issue: The rendering is altered because the browser doesn't know how to parse the html and css content
-
Jeremy Kersten authored
Commit odoo/odoo@9be7a9535ca1c5a9884ef06b7a567bf42ebdce0a changes the week number computation to match calendar and pivot views. Now, calendar don't use isoWeek format by default, but the weekNumber from locale(), So we need to adapt also the format for title. closes #12068, closes #9629
-
Denis Leemann authored
Closes #12317
-
Holden Rehg authored
Closes #12305
-
Xavier Morel authored
(a method that returns nothing is not callable through XML-RPC) Backport of dc043cf1 to 9.0 Fixes #12289 and tinyerp/erppeek#87
-
Olivier Laurent authored
-
- Jun 06, 2016
-
-
Denis Ledoux authored
The billed quantity field on the purchase order line must exclude the cancelled invoice, as a cancelled invoice is not considered as invoiced. `draft` could be considered as well, but we do not take the chance now, as this field is used when creating a new invoice, to determine the quantity to invoice. Therefore, if there are draft invoices with some quantities invoiced, it can make sense to reduce the quantity in this new invoice. Nevertheless, it must not be the case for cancelled invoices. opw-679363
-
Denis Ledoux authored
When both selected, these filters are expected to display Invoices - OR - Refunds. It was not the case, because the web client expects to receive the domains normalized when concatenating domains together with a `|` statement. Selecting both filters resulted in the below domain: ``` [ '|', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`, ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')), ] ``` Instead of ``` [ '|', '&', ('state','in',['open','paid']), ('type','in',('out_invoice','in_invoice'))`, '&', ('state','in',['open','paid']), ('type','in',('out_refund','in_refund')), ] ``` opw-679246
-
Goffin Simon authored
endDate appeared twice in event_details opw:678823
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Goffin Simon authored
To apply this domain ('bom_count', '=', 0) in the product template view, the field bom_count must be in the view. opw:679095
-
Denis Ledoux authored
The test `test_balanced_exchanges_gain_loss` failed on Jun 6, because it created a specific rate for today's date at midnight (e.g. on Jun 6, 201x-06-06 00:00:00) for the test purpose, but a rate is created in the demo data for Jun 6 midnight exactly: `base.rateUSDbis`, making the test confused about which rate to use. We solve this by making the test use the rate `base.rateUSDbis`, modifying the rate for its own need, instead of creating a new rate.
-
Jérome Maes authored
-
Denis Ledoux authored
This is similar to revision 54140331 opw-673716
-
Christophe Matthieu authored
Avoid the DOCTYPE tranlation. If this tag is changed, the html rendering is altered. The other effet is that the web_editor wrap the content with <span> to translate, but some explorer eject tags (doctype, head content, script, style, meta) et insert this tags in the body. NB: DOCTYPE is not a node but a text.
-
Goffin Simon authored
The last depreciation date must be take from the last posted depreciation line. opw:679212
-
- Jun 05, 2016
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- Jun 03, 2016
-
-
Quentin De Paoli authored
-
Denis Ledoux authored
The sub-select used to fetch companies rates was wrong in the case rates with no company set were entered before rates for specific companies. e.g., for USD, the below rates: Date Rate Company 2016-02-13 0.721400 2016-02-25 0.738800 1 2016-02-26 0.740000 1 the sub-select returned Rate Start End 0.721400 2016-02-13 0.738800 2016-02-25 2016-02-26 0.740000 2016-02-26 while it was expected to return Rate Start End 0.721400 2016-02-13 2016-02-25 0.738800 2016-02-25 2016-02-26 0.740000 2016-02-26 as the rate 0.721400 ended on 2016-02-25, since a new rate specific to this company 1 was added at that date. opw-678726
-
Xavier Morel authored
fixes #12280
-
Nicolas Lempereur authored
Module sales_team was auto installed if base and mail was installed, but this isn't wanted as it is already a depends of crm and sale modules which should be anyway installed for sales team to have a meaning. This could lead to a glitch with the sale apps displayed whilst it should not be. opw-679223
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Ravi Patel authored
Context: Source document on invoice created through a credit note with the modify option Current issue: create an invoice from a sale order, validate it, Create a refund with the modify option The first invoice is reconciled with the refund The new draft invoice doesn't have a source document and can't be reached from the SO Expect result: The new draft invoice should have the sale order as the source document
-
- Jun 02, 2016
-
-
Olivier Dony authored
Rev. 93e9a4dc tried to speed up the 9.0 name_get() of res.partner by only calling fields_get() once for the whole name_get, instead of calling it lazily. This may have worked for name_get calls on multiple unnamed addresses (name is NULL), but this is a rare occurrence in practice - while now every single name_get() call would incur the full cost of the fields_get() call. That fields_get() call is O(n) in the number of fields, and there can be quite a few for res.partner. Calling it only for the specific 'type' field can easily be about 40x faster than without it. And since name_get() is called for each Many2One field of each record being read (due to convert_to_read()), reading a batch of records with partner fields had become quite a bit slower! Avoiding this cost entirely with lazy fields_get() calls saves quite a lot of time for the common cases. And now that fields_get() specifies a single field, it is cheap enough to be called within the loop. Non-scientific benchmark: account.invoice.search_read() in the list view of invoices took 500ms for 25 invoices _before_ this fix, and 90ms after!
-
Xudong Yang authored
Not evaluated, move the condition to the button Closes #12230
-
Jairo Llopis authored
Cannot link a method before declaring it. Closes #12057
-
Laurent Bélorgey authored
Closes #11226
-
Adrien Peiffer (ACSONE) authored
-
Martin Trigaux authored
HTML content should be escaped before being sanitized. Any content (link, image, code,...) that is acceptable in usual mail.message but should not be interprated when posted on a comment of the forum. Fixes #3737
-
Denis Ledoux authored
If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739
-