Commit Graph

20 Commits

Author SHA1 Message Date
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
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Xavier Morel de13720f0e [IMP] rng of field tag in data xml
also fix nonsensical XML files specifying @ref and @model

bzr revid: xmo@openerp.com-20130429122423-qubsy2ccwo5tb8bq
2013-04-29 14:24:23 +02:00
Antony Lesuisse e197b56778 [FIX] ir_filter fix views
bzr revid: al@openerp.com-20130201164400-4esm2ayd3tlm0fv5
2013-02-01 17:44:00 +01:00
Antony Lesuisse 8fa8551f01 [FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files
bzr revid: al@openerp.com-20121013120924-xix9cbozm8kda7rj
2012-10-13 14:09:24 +02:00
Twinkle Christian (OpenERP) 71f568e7ad [IMP]Remove type field from the view
bzr revid: tch@tinyerp.com-20120807125138-conczgzpufza5co7
2012-08-07 18:21:38 +05:30
Turkesh Patel (Open ERP) 11e85bec65 [IMP] improved search view.
bzr revid: tpa@tinyerp.com-20120730120714-flizwpfl7gr7bmgw
2012-07-30 17:37:14 +05:30
Quentin (OpenERP) 5176db3890 [REF] search views: removed filter_domain if only one element was inside + made some small usability changes
bzr revid: qdp-launchpad@openerp.com-20120622101146-at48blcy298v0p7o
2012-06-22 12:11:46 +02:00
Divyesh Makwana (Open ERP) 823f0cd1de [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20120618104540-ybaga8r37l3q00kz
bzr revid: mdi@tinyerp.com-20120619101333-vf98ly624t18gu7p
bzr revid: mdi@tinyerp.com-20120622061232-4ecb5bkz4cl4p120
2012-06-22 11:42:32 +05:30
Divyesh Makwana (Open ERP) 9422582530 [IMP] Improved the Search View.
bzr revid: mdi@tinyerp.com-20120618094159-uykwrqonzcvnd762
2012-06-18 15:11:59 +05:30
Atul Patel (OpenERP) b4ff70a9d4 [ADD]: ADD sheet tag in remaining object
bzr revid: atp@tinyerp.com-20120615052446-t8xz0hd5pwce40zo
2012-06-15 10:54:46 +05:30
Divyesh Makwana (Open ERP) d87dd53df9 [IMP] Improved the Search View.
bzr revid: mdi@tinyerp.com-20120613085203-hscu337wya33xm6r
2012-06-13 14:22:03 +05:30
Divyesh Makwana (Open ERP) a24bd9f532 [Merge] Merge with main server.
bzr revid: mdi@tinyerp.com-20120612051546-1zgaes8f5so9hy2o
2012-06-12 10:45:46 +05:30
Fabien Pinckaers 56288e88dc [IMP] removing select=? and adding version=7
bzr revid: fp@tinyerp.com-20120609124045-sbopsbiiffcnjzfv
2012-06-09 14:40:45 +02:00
Divyesh Makwana (Open ERP) 1cb74dcebd [IMP] Added missing filter string and removed all filters related to a date field and added the related date field in the search view.
bzr revid: mdi@tinyerp.com-20120606060114-fm3dy5wv1mpfu35i
2012-06-06 11:31:14 +05:30
Fabien Pinckaers f83ba4af41 [IMP] reviewed form views following new guidelines
bzr revid: fp@tinyerp.com-20120604183055-3adtk8dtech30amm
2012-06-04 20:30:55 +02:00
Olivier Dony b521325b94 [IMP] ir.filters: unassigned filters are now global
bzr revid: odo@openerp.com-20120511094654-0qn0yr9yz4hbbzab
2012-05-11 11:46:54 +02:00
Olivier Dony ea87502ba4 [IMP] ir.filters: move to own XML file + improve view for new filter semantics
Filters assigned to NULL users will now become
global/public filters and be visible by everyone

bzr revid: odo@openerp.com-20120510124250-3osbynohfo09gzcy
2012-05-10 14:42:50 +02:00