Commit Graph

6493 Commits

Author SHA1 Message Date
Cedric Snauwaert 280caaa95c [MERGE]change modal windows to only use bootstrap3
bzr revid: csn@openerp.com-20140411132934-iodyidypjxb7v9ug
2014-04-11 15:29:34 +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 09cd7585e2 [FIX]remove draggable on modal window + clean up
bzr revid: csn@openerp.com-20140410154520-h7790rxb8h2hx2zx
2014-04-10 17:45:20 +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 964e94f8a8 [FIX]forgot to open a dialog
bzr revid: csn@openerp.com-20140410121122-y0a8l1hzd01af8bn
2014-04-10 14:11:22 +02:00
Christophe Simonis e521085fff [MERGE] forward port of branch saas-3 up to revid 3997 dle@openerp.com-20140409093616-3060or02z8zmv8tm
bzr revid: chs@openerp.com-20140410105525-m68vejubszroawfm
2014-04-10 12:55:25 +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
Launchpad Translations on behalf of openerp a8ab53566c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409064154-4bbr668s262a11mn
bzr revid: launchpad_translations_on_behalf_of_openerp-20140410055655-a13zzhsch5dj1w5r
2014-04-10 05:56:55 +00:00
Denis Ledoux f6a6394980 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 4171 revid:dle@openerp.com-20140409093422-imrg2hqozf46kj8d
bzr revid: dle@openerp.com-20140409093616-3060or02z8zmv8tm
2014-04-09 11:36:16 +02:00
Denis Ledoux b00a7562f9 [FIX] web: impossible to click on attach button, for many2many_binary
This fix is related to revision 4169 revid:mat@openerp.com-20140407120612-mjb08yts2oa4k4jz

bzr revid: dle@openerp.com-20140409093422-imrg2hqozf46kj8d
2014-04-09 11:34:22 +02:00
Denis Ledoux a16b0c7907 [IMP] web: select input on add record in list editable
bzr revid: dle@openerp.com-20140408120141-f1fx2e9e8vqatccx
2014-04-08 14:01:41 +02:00
Martin Trigaux 506c08a9af [MERGE] [FIX] many2manytags: make sure the selected tag is added to the field when searched (opw 606045)
bzr revid: mat@openerp.com-20140408082758-zb2acpbfv2r6xidg
2014-04-08 10:27:58 +02:00
Anael Closson d62c9cea68 [FIX] OPW 606045 - view_form: add a m2m tag from search_create_popup doesn't add tag to field
bzr revid: acl@openerp.com-20140407154510-5vxckvf1vpsvl96e
2014-04-07 17:45:10 +02:00
Christophe Simonis ffae380725 [MERGE] forward port of branch 7.0 up to revid 4169 mat@openerp.com-20140407120612-mjb08yts2oa4k4jz
bzr revid: chs@openerp.com-20140407144439-10n8fs6zovodwwtx
bzr revid: chs@openerp.com-20140407144625-jfimvsx4mgrkztqv
2014-04-07 16:46:25 +02:00
Martin Trigaux d0b7e7fc7b [MERGE] [FIX] upload widget: avoid overflow making impossible to click on other buttons than the first one (opw 603125)
bzr revid: mat@openerp.com-20140407120612-mjb08yts2oa4k4jz
2014-04-07 14:06:12 +02:00
Denis Ledoux 2372d30520 [FIX] web: pass name arg to name_search, because it seems that one module (or more) wrongly overwritten the method
bzr revid: dle@openerp.com-20140407110919-e0mvvhldkfe98qlq
2014-04-07 13:09:19 +02:00
Christophe Simonis 2686f48dd9 [FIX] web: correct company info popup closing
bzr revid: chs@openerp.com-20140407101324-vhm0d9r2nf0m7ve3
2014-04-07 12:13:24 +02:00
Denis Ledoux ebb826a510 [FIX] web: applying display name temporary imp of read to search_read also
bzr revid: dle@openerp.com-20140407082445-yjy17jnrw45d8mxg
2014-04-07 10:24:45 +02:00
Gery Debongnie 53cca3a046 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140407080642-b51z9j9cryb72tpc
bzr revid: ged@openerp.com-20140408090852-xmfi9nwd2lzsfbza
2014-04-08 11:08:52 +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
Gery Debongnie 64fecc86b7 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140403144651-9c2a4wi5klvtnw75
2014-04-03 16:46:51 +02:00
Gery Debongnie 9d915db214 [FIX] read_group has been changed to return the results with field:interval as key (for example, date_deadline:week), to avoid name collisions. This commit changes the web client to make sure it properly processes the new result format. No change at all for queries that do not use the field:interval format (addon web)
bzr revid: ged@openerp.com-20140403143534-3jpugw9g8n966n9t
2014-04-03 16:35:34 +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
Christophe Simonis de117cd8ec [MERGE] forward port of branch saas-2 up to revid 3906 chs@openerp.com-20140402083506-w4cywcf0kxxx9xmk
bzr revid: chs@openerp.com-20140402092310-ixv8m1z53j107024
2014-04-02 11:23:10 +02:00
Christophe Simonis 1c3ee251f0 [MERGE] forward port of branch 7.0 up to revid 5270 chs@openerp.com-20140403084524-9rb174osjrbmhgwc
bzr revid: chs@openerp.com-20140402083506-w4cywcf0kxxx9xmk
bzr revid: chs@openerp.com-20140312174526-a5rhh83g0fw8djuc
bzr revid: chs@openerp.com-20140318105837-53vsx5g7fm517cuc
bzr revid: dle@openerp.com-20140326092548-bu4bqinhvco8j5wj
bzr revid: chs@openerp.com-20140402092735-3a23yjl169vvt0iv
bzr revid: chs@openerp.com-20140402112825-ky8rcb3p467ikitc
bzr revid: chs@openerp.com-20140403084808-slnj7uis17kwi9js
2014-04-03 10:48:08 +02:00
Denis Ledoux 0aba30cbaa [FIX] web: data, read_ids, active_test false was mislocated. The context is no more altered, a new one is created
bzr revid: dle@openerp.com-20140402085359-k7e9iy1vqcpgvcqu
2014-04-02 10:53:59 +02:00
Gery Debongnie 4afeee59d1 [FIX] fixes an alignment issue in the template definitions (addon web)
bzr revid: ged@openerp.com-20140402083717-y3p22u2e47d60bbt
2014-04-02 10:37:17 +02:00
Gery Debongnie cf87e07aeb [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140402081047-sh0bjvaabxrtfxmw
2014-04-02 10:10:47 +02:00
Gery Debongnie edf469f1f3 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140402080114-dlody276p3xrmyvq
2014-04-02 10:01:14 +02:00
Gery Debongnie 95b2daf17b [IMP] modifies the web client to be able to use the new 'lazy' parameter of the method readgroup (so now the client can requires a readgroup to be eager/lazy) (addon web)
bzr revid: ged@openerp.com-20140402074122-sf52hult1qkqos81
2014-04-02 09:41:22 +02:00
Martin Trigaux a325b746e2 [FIX] export: Excel data should be in raw format to be handle correctly.
Require server revision 5159 adding attribute raw_data in __export_row method.

bzr revid: mat@openerp.com-20140401123337-a5kwc3tfjzww54g5
2014-04-01 14:33:37 +02:00
Martin Trigaux 269f92998b [IMP] remove useless import
bzr revid: mat@openerp.com-20140401123052-01ylsjx5q3vkoxbq
2014-04-01 14:30:52 +02:00
Martin Trigaux a85d116872 [FIX] default is False, style format is different than DEFAULT_SERVER_DATE{TIME}_FORMAT, datetime is instance of date
bzr revid: mat@openerp.com-20140401100752-twixfgj2gmggy922
2014-04-01 12:07:52 +02:00
Launchpad Translations on behalf of openerp 00f57e0710 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401053916-5sh5hkd0k7j4q6pu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401061016-u413ch6j6f64dd4m
2014-04-01 06:10:16 +00:00
Martin Trigaux 6243d18852 [FIX] export: Excel data should be in raw format to be handle correctly
lp bug: https://launchpad.net/bugs/844569 fixed

bzr revid: mat@openerp.com-20140331151749-cx333j01f1hw5ya8
2014-03-31 17:17:49 +02:00
Launchpad Translations on behalf of openerp 8752221ac2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140328064447-upr58gkij5ne9rm3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073044-67cql7rohzkmuub9
2014-03-29 07:30:44 +00:00
Olivier Dony 9379dc0312 [FIX] chrome.js: detect correct error type for session expired
bzr revid: odo@openerp.com-20140328142309-apraiq42f3xavqda
2014-03-28 15:23:09 +01:00
Martin Trigaux 64ecfa40ec [IMP] cookies: when retrieving session cookie, catch eventual parsing errors and remove cookie if incorrect (opw 605648)
In case of unparsable cookie (modified, corrupted,...), openerp would not load and crash with white screen until expiration.
With the fix goes back to login screen.

bzr revid: mat@openerp.com-20140327120826-2p6ebnojtmdl1wpm
2014-03-27 13:08:26 +01:00
Martin Trigaux a04f73ee80 [IMP] cookies: when retrieving session cookie, catch eventual errors and remove malformed cookie
bzr revid: mat@openerp.com-20140327113401-s3ee7fnexhre9mwb
2014-03-27 12:34:01 +01:00
Denis Ledoux f652402dd7 [FIX] web: read_ids of data.js use method search_read if check_access_rule option is true.
This fix is related to revision 3985 revid:dle@openerp.com-20140326142040-pls0dk2kd03z55ro, which did not worked for buffered dataset (virtual one2many line in view form
search_read is used instead of read to not return records for which we lose the access rights

bzr revid: dle@openerp.com-20140327112456-iyceuf9dnn07hwke
2014-03-27 12:24:56 +01:00
Olivier Dony e80a179d02 [FIX] search widgets: m2o autocompletion had been disabled when @operator or @filter_domain were set, but it was actually useful
Was disabled at rev 3878 revid:xmo@openerp.com-20131107111231-nkrllqv0afqdmix6

bzr revid: odo@openerp.com-20140326170818-sc5hqnmq89ayufso
2014-03-26 18:08:18 +01:00
Denis Ledoux 7acaaf5894 [FIX] web: use search_read instead of read on form reload and record reload in list, to check if the user can still read the record
bzr revid: dle@openerp.com-20140326142040-pls0dk2kd03z55ro
2014-03-26 15:20:40 +01:00
Denis Ledoux 649ef3ed21 [REVERT] 4164 revid:dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8: this fix actually works in saas-3, but not in 7.0, as search_read method is not part of the orm
bzr revid: dle@openerp.com-20140326123513-jkful2m1n2zjgdmv
2014-03-26 13:35:13 +01:00
Denis Ledoux 162ad1c0f1 [FIX] web: on record reload (form & list view), use search_read instead of read, to check if the user can still read the record (security rules)
bzr revid: dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8
2014-03-26 12:30:36 +01:00
Launchpad Translations on behalf of openerp a8d14c47df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140325072122-d9jgtji9dmmytg8d
2014-03-25 07:21:22 +00:00
Christophe Simonis fc760dd0d0 [FIX] web: no need to initialize wsgi handler in postload anymore
bzr revid: chs@openerp.com-20140324093038-3nguocje3lia03jp
2014-03-24 10:30:38 +01:00
Launchpad Translations on behalf of openerp 25d2a09812 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140324061240-jlo8rbxvlnlt5a3r
2014-03-24 06:12:40 +00:00
Kersten Jeremy 1d4b43eb38 [FIX] Redirect user from /web if a get redirect is found.
If you redirect an user not logged, into /web?redirect=xxx, he was correctly redirect to /web/login?redirect=/web?redirect=xxx. But when user come back on /web?redirect=xxx, he was not redirected to xxx.

The question should be to have only one behavior when we redirect people, as well /web?redirect as well /web/login?redirect. But because we use both in actual code, we need to accept both for retro-compatibility.

bzr revid: jke@openerp.com-20140321115018-x4e3l3d1v0tp0dyo
2014-03-21 12:50:18 +01: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