- Dec 10, 2015
-
-
Christophe Matthieu authored
* add the branding in translation mode * change javascript to add the lang in the context (automatically removed in the rte => allow to create record and edit when use an other default language of en_US) * avoid double saved
-
Christophe Matthieu authored
If translate=True AND if sanitize=True (By default sanitize=True) the html field use automatically html_translate method.
-
Christophe Matthieu authored
If translate=True AND if sanitize=True (By default sanitize=True) the html field use automatically html_translate method.
-
- Dec 09, 2015
-
-
Denis Ledoux authored
When creating a new event, with just you as attendee, then edit again the event and add someone else, the user is twice in the attendee of the event. This reverts the part done in `calendar.py` of revision 8483ca57 Even when you create an event for a job interview, this is not mandatory to set yourself as attendee. You can maybe be added by default, but you cannot force the user to be set as an attendee of the event. e.g. An HR officer can schedule a meeting for a job interview, with the department manager and the job applicant alone, without himself, thus. opw-658528
-
Jeremy Kersten authored
Default IntConverter (as well as Float, ...) doesn't support negative value by default with werkzeug. http://werkzeug.pocoo.org/docs/0.11/routing/
-
Denis Ledoux authored
When attempting to define a goal using a model that does not have any `inherits` - which happens most the time-, it was not possible to choose the `Field to Sum` and the `Date Field`, due to the domain set in the view which is no longer working in 9.0. The domain is no longer working because: - The onchange result for a one2many for which the value is set to `[(6, 0, [])]` is now `[]`, while, in 8.0, the tuple with the command `6` and the empty list was preserved - the empty list `model_inherited_model_ids` is considered as `True` by py.js, and therefore it fallbacks to `model_inherited_model_ids[0]`, but as this is an empty list, it crashes. The solution proposed in this revision solves the issue, while making the domain applied on these fields less fragile. opw-658892
-
Jeremy Kersten authored
This reverts commit c01c10c4.
-
Martin Trigaux authored
In some loading cases, the all_filters may not be loaded yet so fail at the evaluation. Making it safer and check the content. opw 659052
-
Jeremy Kersten authored
Default IntConverter (as well as Float, ...) doesn't support negative value by default with werkzeug. http://werkzeug.pocoo.org/docs/0.11/routing/
-
Cédric Snauwaert authored
-
Goffin Simon authored
A user with employee rights should be able to create a timesheet line. opw:658083
-
Denis Ledoux authored
Regression introduced in aae980b4 When attempting to use the context, always check that it is set first. It was no longer possible to reset a password from the login form opw-659017
-
Géry Debongnie authored
this prevents the following problem: clicking on a message generated by an opportunity in discuss leads to the lead form view.
-
Olivier Dony authored
The QWeb image widget allows passing either max_width, max_height or both, but the controller required both. We'll consider a 0px dimension request as meaning: "appropriate value according to ratio".
-
Jeremy Kersten authored
Method refactored by commit 94716a3f and 198164dd
-
Cédric Snauwaert authored
some incoming mail containing class like "fa-spin" or "modal in" have an unwanted behavior in Odoo, incoming mail should not have special classes, so we remove all the class that are not in the whitelist.
-
Nicolas Martinelli authored
Commit 486cd330 was not correctly forward ported. We also add a specific message if the quotation is in state 'draft'. Fixes #9226
-
Aaron Bohy authored
- display full content of messages in Discuss - no content helpers in inbox and starred improved - mark as read tooltip instead of mark ad done - decrease font size in chat windows - increase chat windows dimensions - display avatars in chat windows - chat window background is now white - notes are displayed with a darker background
-
Géry Debongnie authored
-
Aaron Bohy authored
However, users shouldn't be allowed to have xss in their name, imo.
-
Aaron Bohy authored
Clicking on this icon redirects to the client action (for now at least). By quickly clicking several times on it, we try to restore the scroll position of a channel that not yet exists. This rev. prevents from getting a traceback in that case.
-
Thibault Delavallée authored
-
Thibault Delavallée authored
Do not restrict followers-based alias to members of non public channels. Otherwise you may have issues defining a public mailing list with a subscription step. People still wouldn't be able to post on a public channel using a restricted alias.
-
Thibault Delavallée authored
When using a template adding the signature, do not re-add it when posting the message on a document. For example the Sale Order - Send by Email templates generated two signature in the email. This issue has been introduced when migrating mail to the new API.
-
Nicolas Martinelli authored
When the delimiter '@' is used in the composer, a regular expression is built in order to suggest followers. However, if this regular expression is incorrect, it causes a crash since RegExp will throw a syntax error. Since a new regular expression is built for each new character the user types, this situation can occur very easily. For example, typing '@(' will cause a crash. This fix replaces characters which may easily lead to a syntax error by a space.
-
Martin Trigaux authored
-
- Dec 08, 2015
-
-
Jeremy Kersten authored
When no update has been done on website, we don't have this default-lang data/attribute. So we use an hack to find the default lang which one is the shortest because no lang is present in the url.
-
Jeremy Kersten authored
-
Christophe Simonis authored
Method expect a recordset.
-
Denis Ledoux authored
Most occurences of the fullscreen feature have been removed in the below revision: eebdbb677fdee1163c16ec2bb967f37e1e4b69e Only the field has been left. This isn't allowed to go fullscreen without a direct user click by most browsers, for security purposes. opw-658838
-
Thibault Delavallée authored
message_get_email_values is declared as receiving cr, uid, id. However this method is an override of a multi method. A decorator has been added to tell that id is actually a list of ids and avoid list encapsulation issues with the result. This way the method parameters are not changed. [CLEAN] mail: removed some unused imports, by the way
-
Thibault Delavallée authored
This computed field allows to know whether the current user is a channel member or not. This is necessary to fix the join / leave action button on channels. It was still based on the followers and has not been updated with the new v9 model of channel members.
-
Thibault Delavallée authored
Now that channels can follow documents, restricted aliases are a bit too restricted. We consider that followers-based aliases accept emails from the direct followers (message_partner_ids) or member of non public channels (message_channel_ids, filetered public field). This way we avoid having public channels added by mistake, leading to information leak.
-
Thibault Delavallée authored
It is not interesting to be able to add chat channels to document.
-
Thibault Delavallée authored
Not being able to add / remove members of a channel through its form view is quite limitating. Also added the followers widget in the channel form view in technical mode. Indeed it is sometimes necessary to be able to check a channel followers.
-
Aaron Bohy authored
Concerns only chat messages.
-
Goffin Simon authored
When making several expenses for the same analytic account, it can be possible that these expenses have the same product but different price unit(e.g.:this is the case for plane ticket with a vairiable price according to the time). Then the function "_get_sale_order_line" must check for all the existing confirmed SO lines if there is one which matches with the analytic account, the product and the price before creating a new SO line. opw:658383
-
Nicolas Martinelli authored
Time is now localized in the discussion.
-
Christophe Simonis authored
-
Nicolas Martinelli authored
In a multi-currency environment, the difference amount computed will be affected by the exchange rate change. In other words, if the exchange rate changes between the invoice date and the payment date, this difference will be reflected in the difference amount. For example: - Company currency is USD, invoice currency is EUR - At invoice date, 1 USD = 1 EUR - At payment date, 1 USD = 0.9 EUR - An invoice of 1000 EUR is created - A payment of 1000 EUR is done Without this fix, a payment difference of -100 EUR is shown. The reason is that at invoice date, we expect a payment corresponding to 1000 USD, which is equal to 900 EUR at payment date. This fix doesn't do any currency conversion if the payment currency is the same than the invoice currency, to prevent any exchange rate difference shown. Indeed, if an invoice is 1000 EUR, a user expects that a payment of 1000 EUR will not show any payment difference. Note that this doesn't fix the payment difference amount when an invoice in a given currency is paid in another currency. opw-658177
-