- Dec 15, 2015
-
-
Aaron Bohy authored
- Don't display livechat button if no operator available - Livechat windows persistence through website pages - Auto popup feature re-introduced (inadvertently removed at rev. f23f57cc) - Operators that are 'away' are available, as 'away' means that the focus isn't on the Odoo tab for at least 10 minutes, but the user is still connected. - Avoid duplicated messages when the visitor is a connected user - Unfold livechat window on first 'close' click as the event is intercepted to ask the user feedback before actually closing the window
-
- Dec 14, 2015
-
-
Denis Ledoux authored
When the partner already had a user, checking `in_portal` of this partner and applying the wizard raised the fact there was already a duplicated user for this email, even if there wasn't. This is because the system relied on the fact the field `user_id` of the `portal.wizard.user` was automatically filled with the partner user if there was one, but it was not the case: This `user_id` field is a simple many2one field, not computed, and the assignation was done nowhere when the partner already had a user. The assignation should be done in the `onchange_portal_id` method of the `portal.wizard` model, like the other fields `partner_id`, `email` and `in_portal`, but if we do it know, as the `user_id` field is not in the view (not even in `invisible`), the web client will ignore it even if returned by this `onchange_portal_id` method. It was therefore pointless to solve this issue by adding the correct `user_id` in the `user_ids` returned by this onchange method. We could add `user_id` in invisible in the view, but existing databases with the current view will not benefit of the bug fix without updating the according view. This revision therefore replaces `wizard.user_id` by `wizard.partner_ids.user_ids[0]` everywhere where it's needed to know if the partner already has a user or not. Besides, it takes care about the fact his user could be disabled (`active` False). opw-659339
-
Thibault Delavallée authored
Otherwise Micheline ratings will be overridden by Raoul ones.
-
Thibault Delavallée authored
Delegate the whole default sales team computation to the _get_default_team_id of sales team to ease the overriding and understanding. Otherwise part of the behavior is implemented in crm, part in sales team, leading to a difficult overriding. Order - team the user is member of - team in context - Direct Sales
-
David Monjoie authored
I checked with aab, and action definition comes after # and not ?.
-
David Monjoie authored
Credits go to qsm for the fix.
-
Raphael Collet authored
-
Olivier Dony authored
During database creation via the database manager, or when using the startup option `--load-language`, the selected language(s) will be installed as soon as either: - the base module is installed/updated (because base_data.xml includes a call to res.lang.install_lang() - the registry is loaded (after loading `base`, the system installs the requested languages, even if the server is not in update/install mode) This is implemented by passing a global config option `load_lang This behavior was modified as of saas-7 by PR for the command-line and for the database manager. In both cases, we don't want the installation to be repeated the next time either of these event occur. Essentially the `load_language`
-
Olivier Dony authored
In case the caller happens to silently catch the exception, leading to hard-to-diagnose registry/routing problems.
-
- Dec 13, 2015
-
-
Odoo Translation Bot authored
-
- Dec 11, 2015
-
-
Quentin De Paoli authored
[FIX] analytic, addentum to commit f6d6762d: added some domains to filter out archived analytic accounts
-
Fabien Pinckaers authored
-
Nicolas Martinelli authored
The propagation of procurement group is not applied when a procurement generates a PO. opw-659331
-
Aaron Bohy authored
The Kanban view has been refactored recently, and the communication mechanism between the view and its cards changed. The cards now communicate with the view by triggering_up custom events. The code in dashboard overrides the function open_record of the Kanban view to allowing opening a record by clicking on a card directly from the dashboard. Unfortunately, this code hasn't been adapted after the Kanban refactoring.
-
Aaron Bohy authored
There was a weird bug on chrome when there was a scrollbar in the sidebar, as the right part of the client action overlapped that scrollbar. The problem was seemingly linked to the use of flex, which is removed by this rev. Courtesy of QSM
-
Nicolas Lempereur authored
If an issue project is changed, depending if the destination project has a set partner ("Customer") or not: - if set, the project issue partner will be set accordingly - otherway the potentially set partner will be conserved Since 3fe06da6 if the project had not partner, the partner was unset which is undesired.
-
Thibault Delavallée authored
Commit bb1200ad introduced the automatic addition of cc as followers of tasks and issues. However it seems to automatically create partners if the address it not recognized. This does not seem a good idea.
-
Quentin De Paoli authored
[FIX] analytic: workaround to re-enable the feature to close an analytic account that has been unfortunately removed by mistake in commit 2a8c077f. It is using an already existing field that wasn't used anymore ('account_type') but as a lot of domains on analytic accounts were - wrong (still using old fields state and type that have been removed as well in the same commit), - or defined directly in the views so, an update of some modules may be needed in order to avoid further problems.
-
Quentin De Paoli authored
[FIX] account_voucher: company_id field of account.voucher has to be a related of the journal's company
-
Quentin De Paoli authored
[FIX] analytic: propagate the context of the related action when opening the analytic chart of account
-
Géry Debongnie authored
They are hidden in mobile mode, but we don't want to deactivate chat windows in website livechat.
-
Géry Debongnie authored
- don't display user name in chat windows - scroll to the new messages separator if it exists (in client action) - increase sidebar width - add correct link href in threads - hide chat window in mobile mode - mail: ignore o_mail_redirect or o_channel_redirect, but redirect anyway
-
Denis Ledoux authored
The `binay_image` and `content_disposition` are moved from the web controller to the `ir.http` model, to be able to override these methods. This makes possible to browse the records images as sudo when the record is published on the website. e.g. to see the partner images on the website `/partners` page from the `website_crm_partner_assign` module. opw-659244
-
Nicolas Lempereur authored
-
Hiral Patel authored
Do not hardcode the version in the search but use the current version of the server. Closes #9987, opw 658811
-
Géry Debongnie authored
when there is a view_id parameter in the url, the web client should honor that request, instead of using default view
-
Arthur Maniet authored
Allow for both sale and purchase taxes since using a sale tax on a writeoff makes sense in cash basis accounting.
-
Nicolas Martinelli authored
Trim message as in Discuss and do not send empty messages
-
Nicolas Martinelli authored
If the user clicks twice on the 'x', the chat window is closed
-
Paulius Sladkevičius authored
The condition was never verified as prod_obj.type is a field. Closes #9931
-
Thibault Delavallée authored
Otherwise all emails are scheduled in the queue.
-
Thibault Delavallée authored
Put the whole adresse, to avoid having it prefixed by a domain.
-
Jeremy Kersten authored
We force to recompute the taxes on all lines when we change the fiscal position. That was already done in backend, with the onchange. But @api.contrains allow to do it on each write on fiscal_position_id field. @api.Depends will not work because it is not a computed field.
-
Christophe Matthieu authored
m2m_tags in list editable view try to get color on validation, the field is invalid because the mutex is pending. Fix: use internal_set_value (don't re-rendering) Issue: steps to reproduce: - Create a new instance, install "sale" - Create a product "prepayment", service, invoice on ordered qties - Create aproduct "project phase", service, invoice on delivered qties, manually track delivered qties - Create a SO with once prepayment, and twice a line with "project phase". ( the name (description) of the lines should be "phase 1" and "phase 2" ) - Create invoice => The prepayment is invoiced - Go back to the SO, try to change the delivered qties of the first phase to 1 - Save => error, odoo doesn't let you save.
-
Raphael Collet authored
Do not hide the menu entries when the column is empty, because the column is not re-rendered after you quick-create records in it.
-
Jeremy Kersten authored
This allow to keep route with an SignedIntConverter with more priority than a StringConverter. The default wight is 100, so force the weight to 50 (default intConverter) was also a fix. But we decide to rewrite the SignedIntConverter based on the intConverter of WerkZeug. So now, a controller '/module/<string:xmlid>', will be matched after '/module/<int:id>". (Same behaviour that before the commit 800ae137)
-
Martin Trigaux authored
-
Fabrice Henrion authored
Group discount related fields Closes #9944
-
Yannick Vaucher authored
comment stating date of currency rates As all rates where moved in demo data Closes #10017
-
Goffin Simon authored
When receiving an email containing two attachments(.docx, .odt) with the chatter the icons displayed for the two attachments were the icon of a zip file instead of the icon of a document file. ps: the dictionnary "mapping" with the mimetypes and the signatures has been changed in a tuple of tuples to keep the order of the mimetypes because all the document files (.docx, .dot) begin by 'PK\x03\x04' and all the zip files by 'PK'. opw:658706
-