Commit Graph

89485 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Antony Lesuisse 6cb138026a [FIX] odoo.py dont force push simple
Everybody should upgrade to v2
2014-06-30 11:22:22 +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
Antony Lesuisse f9e24e1918 [IMP] module loading and tests profiling
Add a loglevel 25 to log some INFO to runbot
Add timers for loading and testing
Silence empty test suite
ir_logging use relative pathname, warning this doesnt work for --addons-path modules yet.
2014-06-29 18:58:15 +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 3dedc29f4e Merge remote-tracking branch 'odoo/master' into master-report-translation-fix-sle 2014-06-29 15:45:05 +02:00
Simon Lejeune 864962a000 [FIX] only render the navbar when everytging is in rendering context 2014-06-29 15:44:56 +02:00
Antony Lesuisse 16f9a1c57b [IMP] module loading and tests profiling
Add a loglevel 25 to log some INFO to runbot
Add timers for loading and testing
Silence empty test suite
2014-06-29 14:48:14 +02:00
Simon Lejeune eff2c4fd91 [MERGE] upstream 2014-06-29 13:57:58 +02:00
antonylesuisse c4c13f1b61 Merge pull request #823 from sebalix/master-fix-db-duplicate
[FIX] dbmanager duplicate db, use shutil.copytree to duplicate the filestore
2014-06-29 04:43:57 +02:00
jeff@osbzr.com 67a2106e3a [IMP] l10n_cn: upgrade to 1.8, including small business chart
Also removed empty translation files.

This is a manual rebase of PR #802
2014-06-29 04:12:15 +02:00
Antony Lesuisse 4bc43e6ac2 [FIX] website snippet editor initialisation 2014-06-29 04:01:24 +02:00
Antony Lesuisse c60798d3b0 MERGE] odoo bus, im_chat and im_livechat
Add a generic bus for instant communication based on postgres LISTEN/NOTIFY and HTTP comet.
Both threaded and gevent greenlet mode are supported. Chat should now work on every platform.

im_chat improvements
- proper support for multiple windows
- present, away and offline status
- improved data model for multi user chat session

im_livechat improvements
- standard css js assets are now used
- qweb templates are now used instead of jinnja
2014-06-29 04:01:13 +02:00
Antony Lesuisse 25d0a3ecb1 [FIX] phantomjs test remove injection
It's now deprecated, assets bundles should be used instead.
2014-06-28 19:59:59 +02:00
Antony Lesuisse 4ff1c333d9 [IMP] menuitems cleanups
Remove Tools
Move cron, action rules and subscription to Automation
Move and rename ir_property models to Parameters
2014-06-28 17:32:01 +02:00
seb 34a931f845 [FIX] server: db service, fix the filestore copy when duplicating a database 2014-06-28 16:37:29 +02:00
Simon Lejeune 891c890d73 [FIX] handle the case where request is bound, request.website exist but is None 2014-06-27 19:12:44 +02:00
Simon Lejeune 76039b2a37 [FIX] only render the navbar when website is set (ie not during tests of the reports) 2014-06-27 18:28:34 +02:00
Simon Lejeune 20f4da67b3 Merge remote-tracking branch 'odoo/master' into master-report-translation-fix-sle 2014-06-27 18:17:15 +02:00
sle-odoo 8915883a43 Merge pull request #813 from odoo-dev/master-fix-pos-barcodeint-init-sle
[FIX] point of sale and barcode interface 'mini webclien' initialisation
2014-06-27 17:20:40 +02:00
Simon Lejeune 10ce35040b [FIX] point of sale and barcode interface 'mini webclien' initialisation 2014-06-27 17:18:26 +02:00