Commit Graph

622 Commits

Author SHA1 Message Date
Simon Lejeune 195fa93168 [MERGE] backend front end integration
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Géry Debongnie 63c702f009 [IMP] better layout with pure css for web client
this patch removes javascript calls to adjust the layout.  It manages
to do the correct layout with only css, which will correct quite a few
issues.
2014-06-10 16:22:02 +02:00
Géry Debongnie 6b4a227cd4 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-30 09:22:12 +02:00
Olivier Dony e276ac33f6 [MERGE] Forward-port saas-4 up to bf135ad 2014-05-28 17:45:31 +02:00
Géry Debongnie f4bcf5fa28 [FIX] adjust viewtop when breadcrumbs are involved
due to the way breadcrumbs work, the method adjust_view_top was
not called at the correct time.  This had the unfortunate consequence
that the main view was on top of the header.
2014-05-28 16:44:54 +02:00
Denis Ledoux 6ed774de61 [FIX] web: on new ir actions act_window target current, change the active* params from context for the dataset only
This fix is related to a37bad205b
This previous fix did solved the issue of its purpose, but had a side effect for actions using these active* params, e.g. search views
For instance, Go to Project > Projects, click on any project, you are than redirected to tasks/issues of this project
If you reload the page, an error pops up, complaining that active_id cannot be found
2014-05-28 15:50:02 +02:00
Géry Debongnie 5cc8f9ca42 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-28 10:37:16 +02:00
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Géry Debongnie 70052e1fd6 [FIX] correct some issues with scrolling area
the height of the oe_view_manager_header is variable, and the top can't
be positioned correctly with pure css without a lot of work, so this
commit adds a touch of javascript to make sure that the view is
correctly positioned.
2014-05-27 14:21:52 +02:00
Denis Ledoux a37bad205b [FIX] web: on launching ir_actions_act_window, reset the active_* params if the target is current
This commit is related to 8d49639933 and b88755c431
When hitting buttons of type object, the active_model and active_id(s) were kept, and, therefore, when calling a feature using the active* args, this feature used the active* args from the previous action.
Nevertheless, concerning wizards, the active* args should be indeed the active* args of the previous action, as wizards expects to have the active* args from the previous action. Thus, we reset these active* args only when this is not a wizard (target === 'current')
For example, from a sales order, hit the 'view invoice' button, and on the invoice, hit the 'send by email' button: The active_id in the send by email wizard were the id of the sale order, not of the invoice
2014-05-26 17:05:02 +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 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 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 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
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
Cedric Snauwaert 347985e050 [FIX]tooltip: overwrite bootstrap default for tooltip
bzr revid: csn@openerp.com-20140417085954-mirh4eeotsorlyeo
2014-04-17 10:59:54 +02:00
Cedric Snauwaert 20556abc08 [MERGE]clean and refactored tooltip from branch trunk-tipsy-to-boostrap
bzr revid: csn@openerp.com-20140416102659-vft9tfuqmax0qx3q
2014-04-16 12:26:59 +02:00
Cedric Snauwaert c8607c8b81 [FIX]few cosmetic of code
bzr revid: csn@openerp.com-20140411122753-qzxb29uwkw89mrxs
2014-04-11 14:27:53 +02:00
Cedric Snauwaert 049539809d [FIX]modal strict to bootstrap: no resize and only use 3 size, large-medium-small instead of changing width of modal
bzr revid: csn@openerp.com-20140410151940-w0m1ljjqgo0eysgp
2014-04-10 17:19:40 +02:00
Cedric Snauwaert e95ca69113 [REF]add bootstrap modal window based, cleaned, refactored from trunk-ui-to-boostrap-modal branch
bzr revid: csn@openerp.com-20140410100631-5v6a71oi5wyunbda
2014-04-10 12:06:31 +02:00
Christophe Simonis f1d3f2a0c4 [MERGE] forward port of branch saas-3 up to revid 3995 chs@openerp.com-20140407144625-jfimvsx4mgrkztqv
bzr revid: chs@openerp.com-20140407161728-ccudwnqo970ac8ay
2014-04-07 18:17:28 +02:00
Denis Ledoux c0db6aec56 [FIX] web: do not reload record on dialog close if the wizard return an action
bzr revid: dle@openerp.com-20140402165008-y19pnbb35eerrnwx
2014-04-02 18:50:08 +02:00
Denis Ledoux 0e4cfe0add [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 9157 revid:dle@openerp.com-20140320181252-4gqcog22p1ex0pz7
bzr revid: chs@openerp.com-20140320134212-9nbuc7uqla4uiyf7
bzr revid: dle@openerp.com-20140320112958-slajf0ho0jtl7u60
bzr revid: dle@openerp.com-20140320161349-olyte7xt35nfj3dg
bzr revid: dle@openerp.com-20140320181737-68q9xh9jhfjynjip
2014-03-20 19:17:37 +01:00
Christophe Simonis 03c31de4dd [FIX] web: when filtering out context, also strip *_view_ref keys
bzr revid: chs@openerp.com-20140320131014-3v5qfjxq9unqu5fs
2014-03-20 14:10:14 +01:00
Kersten Jeremy e50b3bf7ff [FIX] Only set table-row for kanban view (for drag and drop), Else the switch between eg view Calendar and view form (without pass by another view (on IE)) does not work properly.
lp bug: https://launchpad.net/bugs/1294059 fixed
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: jke@openerp.com-20140318165622-kb4j5zz899lciz8v
2014-03-18 17:56:22 +01:00
Christophe Simonis acb010a985 [MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-18 12:27:43 +01:00
Christophe Simonis 49f26ffbc8 [MERGE] forward port of branch saas-2 up to revid 3950 dle@openerp.com-20140220141302-3paib80ixiyi66qg
bzr revid: chs@openerp.com-20140220161753-ec6l9ser1pbnmzgk
2014-02-20 17:17:53 +01:00
Martin Trigaux 59aa0e88d9 Forward-port of latest saas-2 bugfixes, up to rev.3902 revid:mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: odo@openerp.com-20140219163348-5fpbm3rgpkq7kjw5
2014-02-19 17:33:48 +01:00
jke@openerp.com 50849309d1 [FIX] web_calendar: correct timezone handling when creating new events
bzr revid: odo@openerp.com-20140219163134-dzmx34yffnithn30
2014-02-19 17:31:34 +01:00
Antony Lesuisse e4579fdbbd [IMP] actionmanager report port to the new synchronous pyeval api.
bzr revid: al@openerp.com-20140217224626-3s0q34x0jw8t4okg
2014-02-17 23:46:26 +01:00
Cecile Tonglet 5ef7c4a6a1 [FIX] getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: cto@openerp.com-20140217104920-fu8hcqd51bh7qnrp
2014-02-17 11:49:20 +01:00
Olivier Dony 15a1aef33c [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3901 dle@openerp.com-20140214114445-krexrwm9o2nrxepk
The following fixes have intentionally been reverted,
as the code has significantly changed and the bugs cannot
be reproduced:
 - web_calendar fix (revid:dle@openerp.com-20140214114258-0hcsfdwyl61gph0v)
 - CSS fix for buttons (revid:mat@openerp.com-20140213145755-txvtwqbfc83vnw9o)

bzr revid: odo@openerp.com-20140217102806-qg6kwk2jomdvvmlj
2014-02-17 11:28:06 +01:00
Olivier Dony 2223ba5600 [FIX] search view: slightly more readable error when search filters fail to evaluate
Prints the error details instead of:
  Uncaught TypeError: Cannot read property 'length' of undefined' addons/web/static/src/js/views.js

bzr revid: odo@openerp.com-20140212141346-hpw05sv3ctr243db
2014-02-12 15:13:46 +01:00
Martin Trigaux 23de024718 [IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
2014-01-31 11:28:36 +01:00
Martin Trigaux 3a07e0a012 [FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29 15:14:38 +01:00
jke-openerp f9b6ff0760 [REF] Refactoring according to the review of CHS
bzr revid: jke@openerp.com-20140113174338-4fkx4zs8cw6k20y3
2014-01-13 18:43:38 +01:00
Vidhin Mehta (OpenERP) f12a8e94ac [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20131220073414-spf39j62hv7btxt9
2013-12-20 13:04:14 +05:30
Martin Trigaux 07f2a7c1f9 [MERGE] forward port of latest saas-2 until rev 3893 dle@openerp.com-20131218112416-2vtaq442qo8opq4u
bzr revid: mat@openerp.com-20131218165033-4djghawrzllkeckg
2013-12-18 17:50:33 +01:00
Denis Ledoux cb0074ab15 [FIX] web: context propagation was broken on buttons of action and object type.
The context on the button must be propagated to the resulting action

bzr revid: dle@openerp.com-20131218112416-2vtaq442qo8opq4u
2013-12-18 12:24:16 +01:00
Christophe Simonis 9241d5f699 [FIX] when executing action received from a button call, set active_id and active_ids if there is one, remove existing if not; always set active_model
bzr revid: chs@openerp.com-20131211163609-i3s2mlncf5n91uda
2013-12-11 17:36:09 +01:00
Christophe Simonis 920ba45935 [FIX] filter the context keys only on the result action of the button
bzr revid: chs@openerp.com-20131211161810-hetgizet5mv3xkys
2013-12-11 17:18:10 +01:00
bth-openerp 6ccb6423ea [IMP]Destroy tooltip.
bzr revid: bth@tinyerp.com-20131206062152-15fi8v8xokyux40m
2013-12-06 11:51:52 +05:30
bth-openerp 63d66614c5 [IMP]Add attribute.
bzr revid: bth@tinyerp.com-20131205073431-rcmnwyph2fn0hzu8
2013-12-05 13:04:31 +05:30
bth-openerp ff5cc4d5d3 [IMP]Container added for tooltip.
bzr revid: bth@tinyerp.com-20131205064903-222sb09tcsy4x79u
2013-12-05 12:19:03 +05:30
bth-openerp 5d874a4acb [IMP]Improved css and offset for tooltip.
bzr revid: bth@tinyerp.com-20131204115824-tbq4nys4c0d2c327
2013-12-04 17:28:24 +05:30
bth-openerp 165d289384 [IMP]Removed tipsy library and add placement in tooltip.
bzr revid: bth@tinyerp.com-20131203125113-fuapp6wpvmcif1c5
2013-12-03 18:21:13 +05:30
bth-openerp 062e96cc07 [IMP]Add bootstrap tooltip.
bzr revid: bth@tinyerp.com-20131203101317-bznca04cdosg0x3z
2013-12-03 15:43:17 +05:30
Christophe Simonis 9f52ab382b [MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Fabien Meghazi 5f40fc7c08 [ADD] return_label & return_url in action_manager#load_state for breadcrumbs
bzr revid: fme@openerp.com-20131118123808-85i8csvgodgjei18
2013-11-18 13:38:08 +01:00