- Jun 10, 2016
-
-
Simon Lejeune authored
* Remove dependency on less-plugin-clean-css which distribution packages are broken on debian stretch and derivated. * Updated documentation. * Lessc provides a `--compress` argument that could solve this issue. According to the documentation at http://lesscss.org/usage/: "[...] Compress using less built-in compression. This does an okay job but does not utilise all the tricks of dedicated css compression[...]" However, using this argument works on lessc 2.5.3 but not on 1.4.2 (`--compress` arg is present but seems to be break some rules i haven't been able to put my finger on). * Finally, use the minification of the StylesheetAsset that takes care of removing the spaces, the comments and the sourcemap with regexes. fixes issue #9113
-
Xavier Morel authored
Closes #12131 [FIX] report: don't hide errors in custom reports If a custom report's render_html raises a KeyError for some reason, Report.get_html would swallow the exception and fallback on generic HTML rendering, usually blowing up with unfathomable errors of missing rendering context data. Check if a custom report object exists instead of waiting for a KeyError.
-
Marius Vaišvila authored
Closes #12131
-
Olivier Dony authored
-
Dhinesh D authored
Surprisingly it doesn't work to write without ids Closes #12369
-
Dhinesh D authored
Closes #12370
-
Joren Van Onder authored
Introduced by e9b1254a. This commit made sense but there are certain POS modules that send the order to the backend before validation and thus depend on there always being a creation date, even if the order has not been validated yet. This ensures that we don't end up with an undefined creation_date in the backend. opw-680590
-
Simon Lejeune authored
A lock occurs when the user wants to print a report having multiple barcode while the server is started in threaded-mode. The reason is that reportlab has to build a cache of the T1 fonts before rendering a barcode (done in a C extension) and this part is not thread safe. We attempt here to init the T1 fonts cache at the start-up of Odoo so that rendering of barcode in multiple thread does not lock the server. Another workaround was to set an explicit lock around the reportlab's function call, but it's more dangerous as it may introduce undetectable lock between python and postgresql. Thanks to @odony and @KangOl. Fixes #12236
-
- Jun 09, 2016
-
-
Denis Ledoux authored
This is related to revision c8aac116 `message_follower_ids` is a one2many field on the thread. To copy them, you must create new `mail.followers` records, and not linking the followers of the project being duplicated to the duplicated project.
-
Denis Ledoux authored
When cancelling and resetting to draft an invoice, delete only the invoice report attachment from the attachment, not all of them. The reason why the report is removed from the attachments on the invoice resetted to draft is explained in db0def38 opw-680295
-
Denis Ledoux authored
Since duplicating a project copies the project tasks, with the followers, the project followers must remain as well. This is done in the already overriden method `copy` instead of simply adding `copy=True` on the according one2many field, since this field is defined on the inherited model `mail.thread`, and to add `copy=True`, in the old api, we would have to re-define the `message_follower_ids` field within the `project.project` model completely, making sure to copy all properties opw-680313
-
Nicolas Martinelli authored
When a user imports a CSV file on Windows, the "CSV Format Options…" field does not appear. This is an issue since it might be necessary to tune these options depending on the file, e.g. change the encoding. For some unknown reason, on Windows, the file type is empty whatever the browser used. Therefore, we fall back on the extension of the file. opw-680347
-
Goffin Simon authored
The field "carrier_id" must be hidden for the incoming stock picking. In stock picking view form, for an incoming stock picking, the Destination Location Zone must be hidden for an outgoing stock picking, the Source Location Zone must be hidden Introduced by 2cb3a90c opw:676411
-
Jeremy Kersten authored
When tracking value is converted to be rendered as a message_post, we convert the date/datetime with the current local from momentjs. Related to #12327 Courtesy of @aab-odoo for help and review.
-
Quentin De Paoli authored
-
Nicolas Martinelli authored
When a journal entry includes taxes, it is impossible to duplicate it because of an unbalanced entry error. Indeed, by default the taxes are computed at the creation of the account move lines, leading to the creation of a new tax line, therefore unbalancing the account move. Fixes #11919 opw-676788
-
- Jun 08, 2016
-
-
Denis Ledoux authored
This reverts commit 07e6f28d. This was no longer possible to create a picking from scratch. `Inventory > Your Company: Receipts > Create` Because `picking_type_id` is not in the res returned by the above call to default_get Even by forcing `picking_type_id` in the `fields` list, it doesn't return the value in the fields.
-
Denis Ledoux authored
The button "Convert to opportunity" in the mail notifications sent when posting a message on an opportunity just coudln't work as it attempted to call the `convert_opportunity` method without one of its required method parameter. opw-680017
-
Denis Ledoux authored
When removing a picking from a wave, it should simply remove the link between the picking and the wave, not remove the picking itself. opw-677590
-
Goffin Simon authored
The field "carrier_id" must be hidden for the incoming stock picking. opw:676411
-
Nicolas Martinelli authored
In the website portal summary ('/my/home'), a long invoice number might overlap the date. opw-677567
-
- Jun 07, 2016
-
-
Christophe Simonis authored
-
Denis Ledoux authored
The evaluated lang is within the variable `d.context['lang']` `lang` contains the non-evaluated `t` attribute, so, in the case of `report_saleorder`, `doc.partner_id.lang` opw-680074
-
Christophe Simonis authored
-
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
-
Nicolas Martinelli authored
In the case of a purchase pricelist based on the supplier price, the price selected is incorrect if the supplier is not in the list of suppliers of the product. Indeed, in this case, the price of the first supplier is chosen. We also need to make sure to go through all the pricelist items found. opw-678440
-
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
-
Nicolas Martinelli authored
When an invoice is created automatically thanks to the cron task, the superuser is used. However, this implies that the company of the superuser will be used for the account invoice creation, leading to potentially incorrect taxes and fiscal positions. opw-669714
-
Martin Trigaux authored
The date was positioned inside the h1 and was badly rendered (field too small) Fixes #2476
-
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
-