Commit Graph

73069 Commits

Author SHA1 Message Date
Fabien Pinckaers 5cc81dd64f Fixes 2014-07-02 18:18:29 +02:00
Antony Lesuisse 58481cee00 website crawl test report number of sql queries 2014-07-01 22:45:20 +02:00
Simon Lejeune 186b56519d Merge remote-tracking branch 'odoo/master' into master-allow-translate-on-noedit-sle 2014-07-01 17:17:40 +02:00
Simon Lejeune 95446047ee [IMP] website translator: allow to translate a page even when you can't edit it 2014-07-01 17:02:04 +02:00
Antony Lesuisse 3c7c8f904f [FIX] web_tests dont assume an act_window
if mail module is installed it could be a client action
2014-07-01 16:49:53 +02:00
Fabien Meghazi 656cd8ce30 Merge remote-tracking branch 'odoo/master' into master-sass-in-bundles-fme 2014-07-01 15:38:30 +02:00
Fabien Meghazi a0d2df72f6 Rename sha to version in bundle controllers 2014-07-01 15:18:39 +02:00
qdp-odoo f2a2a8cca4 [FIX] account: default value for with_last_closing_balance field set to True 2014-07-01 14:46:38 +02:00
Fabien Meghazi 4042135bc4 Merge remote-tracking branch 'odoo/master' into master-sass-in-bundles-fme 2014-07-01 14:26:40 +02:00
Fabien Meghazi a49ebae676 [IMP] Lazy module_boot() loading
Removed 'modules' item in ir.ui.view rendering context.
Replaced by lazy helper get_modules_order
2014-07-01 14:22:56 +02:00
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
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
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
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
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 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
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
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
Simon Lejeune af4cd36c83 [MERGE] upstream 2014-06-30 17:48:08 +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
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
Géry Debongnie cde4ad1159 [IMP] remove useless code
the 'first' attribute is not used anymore
2014-06-30 14:58:12 +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
Cedric Snauwaert 359ea4a8ff [FIX]do not double bind click on menu due to on_hashchange 2014-06-30 12:27:34 +02:00
Fabien Meghazi 499fd91924 Merge remote-tracking branch 'odoo/master' into master-sass-in-bundles-fme 2014-06-30 10:17:44 +02:00
Antony Lesuisse 6e553db4cb Merge branch 'master' into master-autocompletion-ged 2014-06-30 02:13:42 +02:00
Antony Lesuisse ebd74cedcc [FIX] purchase_requisition test of PO's 2014-06-30 02:12:42 +02:00
Antony Lesuisse 22f4c315a3 [IMP] automatic fiscal positions for simple cases
Add group of countries res.country.group
Add get_fiscal_position method a method to compute a fiscal position based on company_id, partner_id, delivery_id
The meaning of res.partner.fiscal_position is now a forced a fiscal position.
The default implementation should handle simple cases, like VAT in UE and sales
tax in the US, but the method can be overriden to handle more complex ficals
rules.
2014-06-30 02:12:41 +02:00
Antony Lesuisse 810a2e6357 Merge branch 'master' into master-autocompletion-ged 2014-06-30 01:54:49 +02:00
Antony Lesuisse 5209fbc7ed [REM] useless icon send a message
The action is available from the wall.
2014-06-30 01:51:40 +02:00
Antony Lesuisse e634ec806f [IMP] website crawler log show query/s 2014-06-29 21:39:30 +02:00
Antony Lesuisse 78e044b5c7 [IMP] test impprove HTTPCase opener
Simplify website crawler using the generic HTTPCase opener
2014-06-29 20:04:30 +02:00
Simon Lejeune 9cf4c03167 [FIX] display an error message instead of True when a group prevent to edit a report 2014-06-29 17:15:00 +02:00
Simon Lejeune 6f0e48fb41 [FIX] wrong header in report_vat 2014-06-29 16:43:55 +02:00
Simon Lejeune 64fdc4bbcf [REF] no more hardcoded html in report.py 2014-06-29 15:54:18 +02:00
Simon Lejeune 864962a000 [FIX] only render the navbar when everytging is in rendering context 2014-06-29 15:44:56 +02:00
Simon Lejeune eff2c4fd91 [MERGE] upstream 2014-06-29 13:57:58 +02:00