Commit Graph
6732 Commits
Author SHA1 Message Date
Géry Debongnie 6e6ae4cbf9 [IMP] improves the scrolling behaviour
the mail menu is a client action, so not subject to the same template
as regular views.  so, it had to be patched to properly scroll like
other views (meaning: the 'header', left menu and top menu are fixed)

Also, changes the width of the searchbbar into a min-width css property,
to allow it to grow more.  The reason is that we don't want the searchbox
to take two lines (or more), which will force the view_manager_header to be
higher, and which will cause slight issues with the scrollbar (absolutely
positioned)
2014-05-26 09:37:16 +02:00
Géry Debongnie 779aabfc5b [FIX] various css fixes related to scrolling
(1) it seems that position:relative behaviour is undefined in a td,
so it has been moved to the div below oe_application
(2) the left menu bar can now scroll vertically if necessary.
2014-05-23 17:06:50 +02:00
Géry Debongnie b374cf0089 [IMP] fix a css problem with multiple view_manager
when a view_manager is contained inside another, the
css rule for defining a scrollable zone (with position:absolute)
was also applied to the inside view manager.
2014-05-23 16:07:42 +02:00
Géry Debongnie 3c468073d4 [IMP] small css tweaks
correct a few problems introduced by the change to the scrolling area.

Note: body is in overflow:auto to allow scrolling when there is no view
manager (for example, client action)
2014-05-23 15:51:57 +02:00
Géry Debongnie 088b33d0bc [IMP] change scrollable area to main view
Now, only the main view is supposed to scroll (the part below the
header with the view selector).  The left menu, top bar and header
are supposed to stay fixed.  This is done by carefully using
position:relative and absolute.  However, this is likely to
introduce some (many?) issues, perhaps with tooltips position and
such.  The bug hunt is on!
2014-05-23 15:09:48 +02:00
Géry Debongnie 8b132b70c5 [IMP] slightly improve the html structure
of web client: remove an useless div .oe_view_manager_parent
introduced by a clueless developper.
2014-05-23 15:07:09 +02:00
Géry Debongnie c4fc0f5992 [IMP] work on scrollable zone in web client
add a div parent to oe_view_manager_body, and move the searchview
drawer inside oe_view_manager_body.  This is in preparation to the
goal of making the oe_view_manager_body div scrollable
2014-05-22 13:53:26 +02:00
Géry Debongnie a24020e004 [FIX] update the searchview tests
to accomodate the fact that the searchview has been changed.
Two changes need to be accounted:
(1) the drawer html structure has changed (oe_selected class is
replaced by badge, some li tags are replaced by spans, ...) and
(2) the CustomFilters has been split into CustomReports and
SaveFilter, so there is an extra filter in the drawer inputs.

Also, the searchview need a parent to react to the switch_mode event,
so the tests add a fake parent to the view in make_search_view
2014-05-22 09:59:32 +02:00
Géry Debongnie 8159f4a18c [IMP] improves searchview appendTo
after some thought, the extra method insert was not really necessary.
It was at first a way to force the user to give two nodes to determine
where the searchview and the drawer were to be inserted.  However,
the second node can be omitted, a perfectly reasonable default is
to append the drawer just after the searchview.

Then, the role of insert is exactly the same as appendTo, so it makes
sense to override appendTo and remove insert.  Simpler, and the job is done.
2014-05-22 09:55:04 +02:00
Géry Debongnie 36471c3955 [FIX] correctly loads default filters (addon web)
also, hide/show the custom reports list when it is empty/non empty
2014-05-21 14:27:17 +02:00
Géry Debongnie aec3ba08ae [IMP] improvements to inline searchview (web)
this commit splits the widget CustomFilters in two widgets:
CustomReports and SaveFilter.  CustomReports is the widget
displaying the list of reports, and SaveFilter obviously is the
Save Current Filter widget.

The goal was to put the custom reports in the first column and the
Save Current Filter form in the second.
2014-05-21 13:18:30 +02:00
Géry Debongnie 7c6c720425 [IMP] better architecture for searchview/drawer
Before, the searchview and the searchview drawer had to be instantiated by
the user and appended separately to their correct place.  Now, the
searchview is responsible for creating/destroying the drawer, and the
user is responsible for correctly using the insert method with
the node where the searchview/drawer are to be inserted.
2014-05-20 15:27:44 +02:00
Géry Debongnie 2c8dec5daa [FIX] remove an extra border-bottom css rule (addon web)
the border-bottom was set on drawer_container and on drawer,
resulting in a double border.
2014-05-20 11:56:06 +02:00
Géry Debongnie 1c32d93115 [FIX] correctly display the searchview/drawer (addon web)
the searchview has been splitted in two widgets: SearchView and
SearchViewDrawer.  They are dependent of each other, so a drawer
has to be created for each searchview.  This was not the case in
some form views (inline, created by a wizard).
2014-05-20 11:41:28 +02:00
Géry Debongnie 72f532a463 [IMP] hide drawer when switching views (addon web)
the drawer wasn't closed when switching views, which might be a
problem when the user switches to a form view.  Also, renames the
variable 'searchview_drawer' to 'drawer'.
2014-05-20 10:54:58 +02:00
Géry Debongnie c70df56174 [IMP] lots of layout work for inline search view (addon web)
mainly to correctly style the custom filters list.
2014-05-19 17:03:05 +02:00
Géry Debongnie 646de9e5af [FIX] add support for default filters in search view
support for default filters was broken in the previous commit,
now it works again.
2014-05-19 15:40:45 +02:00
Géry Debongnie 7e6d223e9e [IMP] work on inline search view in web client
incomplete work.  So far, the search view widget has been split in
two widgets: SearchView and SearchViewDrawer.  The SearchViewDrawer
has been inserted inline, and some preliminary work has been done
to improve the layout.
2014-05-19 14:16:09 +02:00
Xavier Morel 477d7ad803 Merge branch 'web-trunk' 2014-05-14 15:13:35 +02:00
Launchpad Translations on behalf of openerp e30348e1e0 Launchpad automatic translations update. 2014-05-14 05:55:34 +00:00
Fabien Meghazi f3c8cc50c8 [IMP] Include openerpframework in common assets. Add module list in bundle 2014-05-12 17:18:12 +02:00
Martin Trigaux 27a6d2e9f4 Forward-port of latest saas-4, up to revision 3994 (rev-id jke@openerp.com-20140509131203-4gy3nhlj0v6fk7zv) 2014-05-12 10:10:32 +02:00
Fabien Meghazi dba3e92195 [IMP] Add $.fn.button to jquery.ui noconflict template
bzr revid: fme@openerp.com-20140509133528-9i2kvn0heyxn6ngw
2014-05-09 15:35:28 +02:00
Cedric Snauwaert dee000be14 [FIX]modal: when closing a modal, focus previous one to allow several escape hit key
bzr revid: csn@openerp.com-20140509094836-yhncaqp60od67w7k
2014-05-09 11:48:36 +02:00
Mahendra Barad b4aa0eb76f [MERGE] [ADD] kanban_state_selection widget, allowing to manage kanban_state-like selection fields using bullet + dropdown; priority widget allowing to manage priorities using stars.
bzr revid: tde@openerp.com-20140508160156-b2jekyiajkjp7bse
2014-05-08 18:01:56 +02:00
Thibault Delavallée 7d5de8d90d [IMP] dropdownselection widget renamed kanban state selection
bzr revid: tde@openerp.com-20140508153418-hs6ix3qouy1fu482
2014-05-08 17:34:18 +02:00
Thibault Delavallée 15e28717b4 [FIX] priority widget: css fixes
bzr revid: tde@openerp.com-20140508152516-1rv69jatyswj8e4r
2014-05-08 17:25:16 +02:00
Thibault Delavallée 750cc768c1 [CLEAN] web: cleaned priority widget implementation: cleaned xml / js code
bzr revid: tde@openerp.com-20140508140545-kkogxe1dhbh7ryrk
2014-05-08 16:05:45 +02:00
Richard Mathot (OpenERP) 0ab06fa991 [IMP] Tooltip placement
bzr revid: rim@openerp.com-20140508133931-3ffe66hwgnffvdqu
2014-05-08 15:39:31 +02:00
Vidhin Mehta (OpenERP) 9967c9e19c [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20140508125444-7d1m7qk7bi2hrbmv
2014-05-08 18:24:44 +05:30
Thibault Delavallée dae5ee484a [CLEAN] web: cleaned dropdown selection widget implementation: cleaned css and js code.
bzr revid: tde@openerp.com-20140508123347-ye6pvk1uo5jargec
2014-05-08 14:33:47 +02:00
Thibault Delavallée 0b28fb706f [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140508120955-m29bs4no8uogrm0n
2014-05-08 14:09:55 +02:00
Barad Mahendra 0b9126d0fe [IMP]remove unwanted css
bzr revid: mba@tinyerp.com-20140508083740-g0u9cfef10d94oxh
2014-05-08 14:07:40 +05:30
Barad Mahendra d9f8f11541 [IMP]improve the widget for dropdown selection and priority
bzr revid: mba@tinyerp.com-20140508055735-ekt5gh7w119w2i2j
2014-05-08 11:27:35 +05:30
Fabien Meghazi 4373f85773 [FIX] Do not self close empty elements that are not html void elements
bzr revid: fme@openerp.com-20140507121413-o7jqhexbm1wmitt6
2014-05-07 14:14:13 +02:00
Barad Mahendra d3410a6924 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140507104547-p7pmav8pez08zf1h
2014-05-07 16:15:47 +05:30
Fabien Meghazi 7db3619c37 [REM] html_template and render_bootstrap_template()
bzr revid: fme@openerp.com-20140506163422-vruavrvkcowu09zi
2014-05-06 18:34:22 +02:00
Mohammed Shekha 0e62b9d8df [IMP] Jinja template for database manager
bzr revid: fme@openerp.com-20140506155051-3u3kkb9lpvm06iad
2014-05-06 17:50:51 +02:00
Fabien Meghazi b393c4ac18 [FIX] jQuery.ui - boostrap conflicts
bzr revid: fme@openerp.com-20140506153300-0p1gwnrxihpb4y3r
2014-05-06 17:33:00 +02:00
Fabien Meghazi f6e33eca13 [IMP] do_warn on ClientAction not found
bzr revid: fme@openerp.com-20140506122840-01b9xtewp4wcv42g
2014-05-06 14:28:40 +02:00
Fabien Meghazi c033b660e8 [ADD] openerp.loadBundle()
bzr revid: fme@openerp.com-20140506103649-wrfa25boj2chy6gl
2014-05-06 12:36:49 +02:00
Launchpad Translations on behalf of openerp 2b67c9c77b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061338-jwpj0jxfcnakph24
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061359-p8lxp23aopeb6mwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506063612-leryt792evbx9hsy
2014-05-06 06:36:12 +00:00
Vidhin Mehta (OpenERP) e41508cb8d [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20140505043233-2t2e2vb1yv86hyxp
2014-05-05 10:02:33 +05:30
Mohammed Shekha 5600a79007 [IMP]Improved the database manager, instead of calling html_template, created separate html file which is rendered using jinja2, so that we don't need html_template once pos and edit support render_bootstrap_template.
bzr revid: msh@tinyerp.com-20140502132349-bw9zdyaou4yf8o7q
2014-05-02 18:53:49 +05:30
Gery Debongnie 132ccb7180 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502123355-9dqpwq1g9rrpisxj
2014-05-02 14:33:55 +02:00
Fabien Meghazi db48dbef3e [FIX] database manager
bzr revid: fme@openerp.com-20140501210436-osyrvlue41w63i6f
2014-05-01 23:04:36 +02:00
Antony Lesuisse aa943fae18 [FIX] qweb loading concat mode only, increase cache age to one day
bzr revid: al@openerp.com-20140501204242-jngte754yqyj4nb0
2014-05-01 22:42:42 +02:00
Antony Lesuisse 5e21a4235d [MERGE] saas-4 up to dle@openerp.com-20140501121915-q88k37nd25ietw8c
bzr revid: al@openerp.com-20140501172508-tjennzht30ktw3nz
2014-05-01 19:25:08 +02:00
Fabien Meghazi acf2123123 [MERGE] Web assets moved from manifests to ir.ui.view bundles
bzr revid: fme@openerp.com-20140430151302-e42monb4klz4udw5
2014-04-30 17:13:02 +02:00
Fabien Meghazi 556c1404c2 [FIX] backward compatibility for html_template
bzr revid: fme@openerp.com-20140430132636-p42ehcb0dnc1d3jx
2014-04-30 15:26:36 +02:00