Commit Graph

89636 Commits

Author SHA1 Message Date
Thibault Delavallée 7785a3bc83 [FIX] website_forum: fixed last merge done a bit quickly: addd can_answer functional field, fixed edit_answer and edit link / route. 2014-07-01 14:07:53 +02:00
Frederic van der Essen 94c23e16d5 Merge branch 'master' into master-pos-restaurant-cleanup-v8-fva 2014-07-01 13:44:36 +02:00
Christophe Matthieu a3aa8616a8 Merge pull request #853 from odoo-dev/master-tour-kill-log-chm
[IMP] tour.js: raise an error when phantomjs run a tour and an other running tour has been detected.
2014-07-01 13:38:53 +02:00
Christophe Matthieu 6a2f3e2c2a [IMP] tour.js: raise an error when phantomjs run a tour and an other running tour has been detected. 2014-07-01 13:37:41 +02:00
Frederic van der Essen 7842b62880 [MERGE] from master 2014-07-01 13:32:28 +02:00
Frederic van der Essen c4049bc356 [WIP] removing incomplete fidelity points feature for the v8.0 release 2014-07-01 13:02:02 +02:00
Olivier Dony 5b83e88c25 [MERGE] Fwd-port of 7.0 up to 3d31341 2014-07-01 12:28:55 +02:00
Olivier Dony 3d3134108d [FIX] web_linkedin: update master img CDN domain, recently changed 2014-07-01 12:22:28 +02:00
Thibault Delavallée c9c5f6231f Merge pull request #675 from odoo-dev/master-search_view-crm-tde
[IMP] addons: search view cleaning / improvements due to the new search view display. Changes have been done in the main addons: crm, account, project, project_issue, hr_recruitment, purchase, sale.

Main changes :
- removed most of group_by in classic views (as most of them are usefull in a report view)
- removed all group_by in report views (as the new graph view allow to group on every field, no need to declare them)
- added some custom filters in various addons to help the user experience
- removed some useless icons / helps
2014-07-01 12:17:10 +02:00
Thibault Delavallée b411b88fc8 [IMP] website_blog: minor improvements in post form view (use group) 2014-07-01 11:37:35 +02:00
Thibault Delavallée 691fc394af Merge pull request #771 from odoo-dev/master-forum-imp-tde
[IMP] forum: better management of karma-based actions, using calculated fields and view simplification
2014-07-01 11:35:33 +02:00
Martin Trigaux f825b6043b [FIX] rml: avoid reports ending by zero (opw 608073)
Commit b6a7402 (reverted at f8671cb) was almost correct, the PageReset should be added at the end of each stories but only if we have one more stories.
The PageReset will force the page count to be reseted at zero which means that last page of report would have been at zero.
2014-07-01 11:29:22 +02:00
Thibault Delavallée 44a5268c00 [IMP] addons: search view cleaning / improvements due to the new search view display 2014-07-01 11:28:08 +02:00
Antony Lesuisse 5a73fb7500 [FIX] tour.js: tour shop
wait that the snippets are loaded before clicking on the picture and open the media editor.
2014-07-01 10:57:38 +02:00
Thibault Delavallée 2a4ec367a9 [IMP] [FIX] website_forum: cleaned and improved the management of available actions based on the user's karma. The karma levels are now stored on the forum itself, allowing customization. The various check of karma are done at model level and not at controller level anymore, leading to a more secure and easier to inherit behavior. 2014-07-01 10:29:37 +02:00
ged-odoo 6d7f845374 Merge pull request #846 from odoo-dev/master-autocomplete-quick-fix-ged
[FIX] prevent an incorrect state in autocompletion
2014-07-01 10:24:55 +02:00
Jérôme Maes d03afb14df [FIX] im_chat, im_livechat : style, js notification and bundle without achtung lib 2014-07-01 10:03:24 +02:00
Fabien Meghazi 79195f1800 Add support for the @media attribut in css bundles 2014-07-01 10:02:55 +02:00
Géry Debongnie 4ab85f2fb3 [FIX] prevent an incorrect state in autocompletion
When going up and wrapping around, the focus was on a hidden separator,
so hitting enter = stacktrace.  Now, the focus goes on the last
selectable list item.-
2014-07-01 09:39:26 +02:00
Olivier Dony 9132b1d306 [IMP] ir.filters: new filters are local to the menu/action by default
Allow binding an optional `action_id` to filters.
The web client will try to identify the specific
action ID when saving new filters. If no contextual
action exists, the filter is saved globally for
the model.

This will automatically keep filters within their
original menu when there are several menus/actions
leading to a given list of documents.
In some cases the action_id will not match the
filter model, which should be fine (e.g. when opening
a many2one completion popup for model `foo` within
a menu of model `bar`).

It is also still be possible to have a filter apply
to all actions/menus for a given model by manually
deleting the action_id value in the filter
(e.g. via the Manage Filters debug menu).

When updating a filter the action_id value is ignored
so that old global filters will be gradually replaced
by new "local" filters.

Also added an _order to ensure stable ordering of the
filters.
2014-07-01 03:29:05 +02:00
Olivier Dony 686fea4b3e [IMP] search views: more generic name for saved filters
Also rename variables to a more neutral term
that will hopefully remain untouched (custom filters)
regardless of the UI label.
2014-07-01 03:29:04 +02:00
Olivier Dony 3ce42a2ddb [IMP] search: softer CSS for search autocompletion popup 2014-07-01 02:08:47 +02:00
Fekete Mihai aa768850c9 [IMP] l10n_ro: Update Romanian Localization
(Manual rebase+cleanup of PR #720 at 7e9faa6)
2014-07-01 00:45:43 +02:00
Simon Lejeune f8e9fde25b [FIX] correct context resetting when changing user lang 2014-06-30 21:10:15 +02:00
sle-odoo 50fae5e8ea Merge pull request #842 from odoo-dev/trunk-fix-navbar-cache-sle
[FIX] navbar cache: do not use ormcache as it does not handle kwargs. in...
2014-06-30 20:08:37 +02:00
Simon Lejeune 2870af3b49 [FIX] navbar cache: do not use ormcache as it does not handle kwargs. instead, only get the root menu_ids in rendering context 2014-06-30 19:45:12 +02:00
Fabien Meghazi 7990caaf02 Fix another encoding issue 2014-06-30 19:26:14 +02:00
Fabien Meghazi 4f2b5f12fc Fix typo 2014-06-30 19:17:47 +02:00
Niels Huylebroeck e15bd7eec1 Fixing a problem where the exact match returns a single item.
The function get_data_for_reconciliations expects a list at line 473 to loop over.
Without this fix you get TypeError: string indices must be integers, not str
2014-06-30 18:50:37 +02:00
sle-odoo 839a70511c Merge pull request #814 from odoo-dev/master-report-translation-fix-sle
Master report translation fix sle
2014-06-30 18:46:13 +02:00
Fabien Meghazi 45215a231d Fix indentation normalization 2014-06-30 18:41:29 +02:00
Antony Lesuisse 8de012946b [MERGE] web search lazy autocompletion by ged
Search many2one only when they are slected
Remove dependecy on jquery.ui automcomplete.
2014-06-30 18:32:24 +02:00
Jeremy Kersten e77594c3c3 [IMP] website: backport 5112421a (unslug)
Update the regexp to be not case sensitive
2014-06-30 18:29:20 +02:00
Simon Lejeune af4cd36c83 [MERGE] upstream 2014-06-30 17:48:08 +02:00
sle-odoo 78c2de35c2 Merge pull request #838 from odoo-dev/master-navbar-imp-response-time-sle
[IMP] cache the load_menus method to improve website performances
2014-06-30 17:43:38 +02:00
Antony Lesuisse 0ef85c5a60 [FIX] test phantomjs manually delete localstorage 2014-06-30 17:23:38 +02:00
Cédric Snauwaert 42a0b433ed Merge pull request #836 from odoo-dev/master-hashchange-fix-csn
[FIX]do not double bind click on menu due to on_hashchange
2014-06-30 17:16:14 +02:00
Antony Lesuisse 3bb7866384 [FIX] test phantomjs clear localstorage before running tests 2014-06-30 16:32:02 +02:00
Géry Debongnie 6a174c43f6 Merge remote-tracking branch 'odoo/master' into master-autocompletion-ged 2014-06-30 16:13:38 +02:00
Géry Debongnie 88bb66e784 [FIX] fix tests in autocompletion 2014-06-30 16:13:02 +02:00
Simon Lejeune 959caf2596 [IMP] cache the load_menus method to improve website performances 2014-06-30 15:32:53 +02:00
Géry Debongnie cde4ad1159 [IMP] remove useless code
the 'first' attribute is not used anymore
2014-06-30 14:58:12 +02:00
Fabien Meghazi 74e0b948fa Better error management, proper feedback on encoding errors 2014-06-30 14:45:41 +02:00
Géry Debongnie 2c43d60518 [FIX] don't display separators in the drawer
now, separators (defined by the tag 'group'!) are only displayed
in the autocomplete and not in the searchview drawer
2014-06-30 14:42:05 +02:00
Olivier Dony 63d8fc6e8c [IMP] google_drive: `google_drive_client_id` param should only be readable by uid 1
It is an internal ID that the user or web client
never needs to read, it is used only server-side.
2014-06-30 14:33:00 +02:00
Olivier Dony 7a88100961 [IMP] account.invoice.report: default `Year` filter should include draft invoices without `date`
This affects the result when Draft invoices are included,
so that they actually appear even without any `date` value,
as they are often meant for the current year.
2014-06-30 14:25:20 +02:00
Jeremy Kersten f4733aa895 [FIX] website - force to test isdigit on a string else a tb "'int' object has no attribute 'isdigit'" can exist if the page var was right and so already and int 2014-06-30 12:27:49 +02:00
Cedric Snauwaert 359ea4a8ff [FIX]do not double bind click on menu due to on_hashchange 2014-06-30 12:27:34 +02:00
Jeremy Kersten 7ba41e75e2 [FIX] Website pager - Be sure that page in get param is a digit else use page 1.
Need to find which controller add ?page= instead of &page= because google find some url with '?page=1?page=2' --> page = '1?page=2'. According to google, the referrer is the old website.
2014-06-30 12:10:49 +02:00
Olivier Dony 4d74d9ef53 [FIX] auth_signup: discard signup values that may overwriting existing info 2014-06-30 12:02:35 +02:00