Christophe Simonis
a4bc65cdba
[MERGE] forward port of branch saas-3 up to bdc4dd4
2014-06-27 16:06:37 +02:00
Christophe Simonis
bdc4dd4a65
[MERGE] forward port of branch 7.0 up to 95cff0b
2014-06-27 16:00:28 +02:00
Denis Ledoux
f55e4a5e14
[FIX] web: no switch_mode trigger if not switched
...
The switch mode event was triggered even if the view was not actually switched
This leaded to inconsistencies, like adding the view in the breadcrumb history, while the switch did not happen
2014-06-27 13:03:52 +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
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
Denis Ledoux
b88755c431
[REVERT] 2 previous revision, as it looks like that the fix causes more troubles than it resolve a problem
...
bzr revid: dle@openerp.com-20140501121633-6umc2sxwi0h0lhay
2014-05-01 14:16:33 +02:00
Denis Ledoux
d59cb1eda2
[FIX] web: missing ; from previous revision
...
bzr revid: dle@openerp.com-20140430131739-ywyqb1gh68xbxid1
2014-04-30 15:17:39 +02:00
Denis Ledoux
8d49639933
[FIX] web: reset active_model, id, ids on executing button of type object
...
bzr revid: dle@openerp.com-20140430123727-cnz6k8is2sqe65w0
2014-04-30 14:37:27 +02:00
Martin Trigaux
dd03491df9
sync with 7.0
...
bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo
2014-04-25 13:35:55 +02:00
Martin Trigaux
10d3dd4ec3
[FIX] update to latest version saas code with updated underscore lib
...
bzr revid: mat@openerp.com-20140424160833-p0uf6zzst0pnj3i7
2014-04-24 18:08:33 +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
Mohammed Shekha (OpenERP)
3032f36b88
[FIX]Web: Refixed the issue of context propagation, also removed the view references of current dataset.
...
bzr revid: msh@openerp.com-20131226071228-4qfd2qcz1b5rfji4
2013-12-26 12:42:28 +05:30
Mohammed Shekha (OpenERP)
1496d7a77c
[FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix, also added pairs and object function for sake of simplicity.
...
bzr revid: msh@openerp.com-20131224135526-55b4cd3qyt0j5ugi
2013-12-24 19:25:26 +05:30
Mohammed Shekha (OpenERP)
58d1704162
[FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix.
...
bzr revid: msh@openerp.com-20131224112403-98cgl6lit285kstw
2013-12-24 16:54:03 +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
Mohammed Shekha (OpenERP)
a4bca7c775
[FIX]Web: Fixed the issue of group and search_default propagated in context to next action while executing button action.
...
bzr revid: msh@openerp.com-20131203084821-0amelfix4bji3wr6
2013-12-03 14:18:21 +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
Fabien Meghazi
9ded116baf
[ADD] return_label & return_url in action_manager#load_state for breadcrumb
...
bzr revid: fme@openerp.com-20131118112211-q15p0d7cc8wpku5n
2013-11-18 12:22:11 +01:00
Fabien Meghazi
bb9c83714a
[FIX] Avoid rpc errors on actions.act.url@target='self'
...
bzr revid: fme@openerp.com-20131118102112-znm2mza36md6896n
2013-11-18 11:21:12 +01:00
Christophe Simonis
be7084b988
[FIX] web: do not declare variables inside if() scope
...
bzr revid: chs@openerp.com-20131108160747-1jrpihb66y6vtov5
2013-11-08 17:07:47 +01:00
Christophe Simonis
5311db325c
[FIX] web: filter context before executing actions triggered by buttons in views
...
bzr revid: chs@openerp.com-20131108160627-osiigir6tsr2k783
2013-11-08 17:06:27 +01:00
Thibault Delavallée
a5c6872150
[FIX] views: fixed form view not being able to launch any sidebar action
...
bzr revid: tde@openerp.com-20130808104733-gg0vpwxzy631pj0x
2013-08-08 12:47:33 +02:00
niv-openerp
baef37aec6
[IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
...
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
Thibault Delavallée
20c11d6703
[FIX] Fixed last commits
...
bzr revid: tde@openerp.com-20130725152846-zlfd5gluz15tjg2t
2013-07-25 17:28:46 +02:00
Thibault Delavallée
9e3046d611
[REM] Removed console.log statemetn
...
bzr revid: tde@openerp.com-20130725135535-qjucav1ss11a2sgd
2013-07-25 15:55:35 +02:00
Thibault Delavallée
7f0824e762
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130725135118-urwxu1ilv1m6ljwh
2013-07-25 15:51:18 +02:00
Thibault Delavallée
0810ff005c
[IMP] Better implementation of header hook check
...
- list_view: propagate a deselected flag when (un)checking a row
- list_view: define a get_active_domain method that returns an active domain
when having header hook selected
bzr revid: tde@openerp.com-20130725135001-zt8x1leexf7ion4z
2013-07-25 15:50:01 +02:00
niv-openerp
c767a0d34c
Added semicolons
...
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00