Commit Graph

4466 Commits

Author SHA1 Message Date
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
Cédric Snauwaert af03a3e4e0 [FIX] export: make the 'Close' button works fine with modal
bzr revid: mat@openerp.com-20140430115650-334th9boorlb80aw
2014-04-30 13:56:50 +02:00
Richard Mathot (OpenERP) 03cfbf0f46 [MERGE] from lp:openerp-web
bzr revid: rim@openerp.com-20140430080103-tc4a9ow7rwp3b5nk
2014-04-30 10:01:03 +02:00
Fabien Meghazi f144f3a7c7 [REM] useless load_script
bzr revid: fme@openerp.com-20140430073342-nyjdb88soxggzkvr
2014-04-30 09:33:42 +02:00
Fabien Meghazi 22725bd29f [MERGE] upstream
bzr revid: fme@openerp.com-20140429142729-y4kfuohn4lsklnud
2014-04-29 16:27:29 +02:00
Simon Lejeune 6bef64f513 [MERGE] trunk
bzr revid: sle@openerp.com-20140422123804-dnjnwfyfrpxjgrlo
bzr revid: sle@openerp.com-20140424124720-ihcrqojmnmj0k66q
bzr revid: sle@openerp.com-20140428162227-sbvq5ogtshpz0vw6
bzr revid: sle@openerp.com-20140429124237-dhk3378fvche068v
2014-04-29 14:42:37 +02:00
Kunal Chavda (OpenERP) 6f51331d52 [MERGE][FIX] Position of m2o autocompletion on too small and non scrollable screens
bzr revid: rim@openerp.com-20140429112237-jdnd04gr1t2qot5r
2014-04-29 13:22:37 +02:00
Fabien Meghazi dde0c9324b [IMP] Convered qunit test suite to template
bzr revid: fme@openerp.com-20140428182451-u4mgen9669gnldva
2014-04-28 20:24:51 +02:00
Vidhin Mehta (OpenERP) 4312b921f3 [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20140425130739-ug3n26htiqrky5j3
2014-04-25 18:37:39 +05:30
Martin Trigaux dd03491df9 sync with 7.0
bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo
2014-04-25 13:35:55 +02:00
Chirag Dodiya (OpenERP) 775e553d5a [IMP]Improved code for add <p> tag
bzr revid: cod@tinyerp.com-20140425101340-znewo5agt8vdl5mw
2014-04-25 15:43:40 +05:30
Chirag Dodiya (OpenERP) 616c20a0f7 [MRG]Merge lp:openerp-web
bzr revid: cod@tinyerp.com-20140425061936-csz156gyzu0holkw
2014-04-25 11:49:36 +05:30
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
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Cedric Snauwaert 8ddf7a21b7 [FIX]calendar tooltip attachment container
bzr revid: csn@openerp.com-20140423145235-ajph1xj2l492q1sy
2014-04-23 16:52:35 +02:00
Fabien Meghazi d4b534e7be [MERGE] upstream
bzr revid: fme@openerp.com-20140423123735-fc38fzp3mtai8xnb
2014-04-23 14:37:35 +02:00
Denis Ledoux 5ff7146e15 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 4179 revid:dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g
bzr revid: dle@openerp.com-20140417101315-2pjn31wb7ald3qe4
bzr revid: dle@openerp.com-20140417161003-g3mchwrucp6ab8tu
bzr revid: dle@openerp.com-20140422160712-iq4yur3jmw5n01ar
2014-04-22 18:07:12 +02:00
Denis Ledoux 6083ed4b46 [FIX] web: abitility to do exact id matching with child_of operator for searchs on many2one fields
bzr revid: dle@openerp.com-20140422150918-nxv2v4bcvi6u3v6g
2014-04-22 17:09:18 +02:00
Gery Debongnie f584b030bc [FIX] correct fix for the scrolling problem in graph view: the view now saves its scrolling position before redrawing itself (addon web_graph)
bzr revid: ged@openerp.com-20140422150316-m51u750732re8qib
2014-04-22 17:03:16 +02:00
Christophe Simonis 8a1b43be67 [MERGE] forward port of branch saas-4 up to revid 3981 dle@openerp.com-20140418151400-1g98vljq3cjv0czs
bzr revid: chs@openerp.com-20140422094727-7hi9bv3wm1bi0ov9
2014-04-22 11:47:27 +02:00
Vidhin Mehta (OpenERP) 4a5e671166 [FIX]destroy tooltip because after expanding inner menu, paren menu ellipsis deactived.
bzr revid: vme@tinyerp.com-20140421092638-1qq85mrfrpt0rjc1
2014-04-21 14:56:38 +05:30
Cedric Snauwaert 115c586e0a [FIX]tooltip: fix bootstrap bug when using auto placement and element was removed before the tooltip actually show resulting in an error
bzr revid: csn@openerp.com-20140418152511-f11mzqefa791vgl2
2014-04-18 17:25:11 +02:00
Denis Ledoux b250c5f9f5 [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 4003 revid:dle@openerp.com-20140417161003-g3mchwrucp6ab8tu
bzr revid: dle@openerp.com-20140418151400-1g98vljq3cjv0czs
2014-04-18 17:14:00 +02:00
Vidhin Mehta (OpenERP) 099ba54e28 [IMP]add tooltip to menu with bootstrap.
bzr revid: vme@tinyerp.com-20140418133036-lspgwn0fywl5zrn3
2014-04-18 19:00:36 +05:30
Cedric Snauwaert d535196bb6 [FIX]pretty tooltip: attach tooltip to body to insure that some element don't move over the place.
increase tooltip z-index to be visible when a modal is open

bzr revid: csn@openerp.com-20140418101235-08yqheh70wi4hb6g
2014-04-18 12:12:35 +02:00
Martin Trigaux fa4e285be7 [FIX] FieldMany2One: avoid error when saving changes in popup from a related fields (opw 606601)
bzr revid: mat@openerp.com-20140418092033-mvqng3thuy61kfoq
2014-04-18 11:20:33 +02:00
Kunal Chavda (Open ERP) 8b2bc4da90 [MERGE]with latest.
bzr revid: kch@tinyerp.com-20140418084142-d8lm531l8dyk7roo
2014-04-18 14:11:42 +05:30
Simon Lejeune 545e8ae529 [MERGE] trunk
bzr revid: sle@openerp.com-20140417150234-45cmuz6bnandmxiv
2014-04-17 17:02:34 +02:00
Cedric Snauwaert 4aec292e5c [FIX]tooltip: when not in debug mode, display tooltip in form view with bootstrat as well
bzr revid: csn@openerp.com-20140417140452-afqwxqv8pbvpbs3m
2014-04-17 16:04:52 +02:00
Gery Debongnie 8ae48fae7d [IMP] simplify the stat button html structure (one less span) (addon web)
bzr revid: ged@openerp.com-20140417133630-q001n7sjrt9xw0to
2014-04-17 15:36:30 +02:00
Denis Ledoux 7c668d8eac [FIX] web: double click on save button was trying to save the data two times if there is some latency, event target should be used instead of delegate target
bzr revid: dle@openerp.com-20140417101217-3fwnm76qne6f1vwk
2014-04-17 12:12:17 +02:00
Denis Ledoux f928ba4f10 [FIX] web: double click on save button was trying to save the data two times if there is some latency
bzr revid: dle@openerp.com-20140417101000-6gtyxntkm5d7zcoy
2014-04-17 12:10:00 +02:00
Cedric Snauwaert 336fba01e5 [FIX]tooltip: should not use placement auto since it is currently bugged in bootstrap
(see: https://github.com/twbs/bootstrap/issues/13268)

bzr revid: csn@openerp.com-20140417095944-3k2c8829tm6lmxmo
2014-04-17 11:59:44 +02:00
Cedric Snauwaert 77172b410b [MERGE]merge with latest trunk
bzr revid: csn@openerp.com-20140417090153-m6d65ubew0wlr9ic
2014-04-17 11:01:53 +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
Simon Lejeune 6c6310bd38 [MERGE] trunk
bzr revid: sle@openerp.com-20140414155401-0h8yjg06ig4gdb1s
bzr revid: sle@openerp.com-20140415192015-z1p7ehl2882jfxfc
bzr revid: sle@openerp.com-20140416163644-yuaup4qapgbsbmec
2014-04-16 18:36:44 +02:00
Cedric Snauwaert 7990c39127 [FIX]modal: button were not showing in calendar
bzr revid: csn@openerp.com-20140416151543-im41f9rpqj6ll742
2014-04-16 17:15:43 +02:00
Denis Ledoux ecd96fc0a6 [ADD] web: in view form, when opening a many2one, use get_formview_action method of orm to get the window action to open
bzr revid: dle@openerp.com-20140416143548-i5l6kl00ixgd9x4w
2014-04-16 16:35:48 +02:00
Thibault Delavallée cbd17e3a9f [FIX] char_domain widget: better use of options to compute the model in which
we want to select records.

bzr revid: tde@openerp.com-20140416133402-k3qjrtieevfxz743
2014-04-16 15:34:02 +02:00
Cedric Snauwaert b7f3808824 [FIX]modal not correctly destroying from DOM at exit
bzr revid: csn@openerp.com-20140416120034-sps3a7dc2mgpwfzt
2014-04-16 14:00:34 +02:00
Barad Mahendra 756e2a56b8 [REV]unwanted changes
bzr revid: mba@tinyerp.com-20140416105227-nk3q8bq15wwcsgrh
2014-04-16 16:22:27 +05:30
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
Mohammed Shekha 91930b470d [FIX]Fixed the issue of reference field throws traceback that view is undefined, the reason is that reference field passing DefaultFieldManager while creating instance of many2one widget and DefaultFieldManager is eventually extending instance.web.widget not instance.web.form.FormWidget and hence DefaultFieldmanager will nto having view attribute, instead of calling self.view.do_onchange, trigger changed_value which is going to do the same job.
bzr revid: msh@tinyerp.com-20140416083857-sug0k4a28nkvgg27
2014-04-16 14:08:57 +05:30
Thibault Delavallée 482638ab27 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140416082917-lnqc60vm3cid3gl6
2014-04-16 10:29:17 +02:00
Christophe Simonis 457b877160 [MERGE] forward port of branch saas-3 up to revid 4000 dle@openerp.com-20140415130951-ckuv8nsl17qkb300
bzr revid: chs@openerp.com-20140415142910-c3fqzce7wju83f5e
2014-04-15 16:29:10 +02:00
Thibault Delavallée f39fb269a4 [FIX] chardomain field: fixed button action
bzr revid: tde@openerp.com-20140415135145-1wks35wufs9b1etq
2014-04-15 15:51:45 +02:00
Thibault Delavallée 02d07ac47e [ADD] web: form: added char domain widget coming from mass_mailing. This widget
is used to compute the number of records according ot a domain, and to allow
selecting documents.

bzr revid: tde@openerp.com-20140415133914-v8fm6wn7up9ds85i
2014-04-15 15:39:14 +02:00
Thibault Delavallée 33ebae745d [REV] Reverted changes about sidebar as we now have
a widget to handle things like selection in a list view.

bzr revid: tde@openerp.com-20140415132528-0spzmcb2xmphxpwn
2014-04-15 15:25:28 +02:00
Denis Ledoux f8d5ef0f80 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 4174 revid:dle@openerp.com-20140415130732-bud8xb3pzgxw2imr
bzr revid: dle@openerp.com-20140415101427-a6r7lgy50x9bdah3
bzr revid: dle@openerp.com-20140415130951-ckuv8nsl17qkb300
2014-04-15 15:09:51 +02:00
Thibault Delavallée 654700fb36 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140408150638-saavkesrvi58jce1
bzr revid: tde@openerp.com-20140411075558-bhjojsbsivb6erq3
bzr revid: tde@openerp.com-20140414090314-jt83lipdphehyz4e
bzr revid: tde@openerp.com-20140415094006-3zmwct81mqx17mb8
2014-04-15 11:40:06 +02:00
Barad Mahendra 16e024512d [Merge]with trunk
bzr revid: mba@tinyerp.com-20140415093106-xb91mel6e85mjwel
2014-04-15 15:01:06 +05:30
Kersten Jeremy 65a6b922b5 [FIX] Add prototype watch in js object. That will allow to listen change on some library for example. It's used to know if jquery is overrided by an external script.
bzr revid: jke@openerp.com-20140414145802-osjcjj01f8ehwsqc
2014-04-14 16:58:02 +02:00
Cedric Snauwaert 6b020549f8 [FIX]modal windows: when pressing esc key, modal-backdrop was not removed
bzr revid: csn@openerp.com-20140414140652-g06gl0mguyhta5px
2014-04-14 16:06:52 +02:00
Simon Lejeune faadf0fec4 [FIX] get_file error: the exception can be the only node and must be json parsed
bzr revid: sle@openerp.com-20140414105333-05jona7myntifamw
2014-04-14 12:53:33 +02:00
Martin Trigaux 3a27186643 [MERGE] [FIX] FormView: avoid multiple creations of the same line in o2m fields when the save action fails (e.g. forgot one required field)
This is done by removing the added action 'prepend_on_create' that can be present as many time as we pressed the save button

lp bug: https://launchpad.net/bugs/1265705 fixed

bzr revid: mat@openerp.com-20140414081003-290q4v21q01m4rsi
2014-04-14 10:10:03 +02:00
Christophe Simonis df3c6b7502 [FIX] web: do not try to close a destroyed dialog. trigger "closing" signal on close by top-right "X" button
bzr revid: chs@openerp.com-20140411162426-60bfybim5aqojsxx
2014-04-11 18:24:26 +02:00
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
Barad Mahendra c28afcf88e [IMP]fix typo
bzr revid: mba@tinyerp.com-20140411130708-2pymt9n3qovpcmlu
2014-04-11 18:37:08 +05:30
Cedric Snauwaert c8607c8b81 [FIX]few cosmetic of code
bzr revid: csn@openerp.com-20140411122753-qzxb29uwkw89mrxs
2014-04-11 14:27:53 +02:00
Rashmin Lumbhani (OpenERP) daf69ced12 [IMP]add blocked reason dialog
bzr revid: rlu@tinyerp.com-20140411122320-o0zmebvaz0985mrx
2014-04-11 17:53:20 +05:30
Barad Mahendra 850b4f198a [Merge]with trunk
bzr revid: mba@tinyerp.com-20140408123619-j3qv10fsnrxqn6a9
bzr revid: mba@tinyerp.com-20140411045426-dngn51p0qw4nduig
2014-04-11 10:24:26 +05:30
Fabien Meghazi e1bf418856 [MERGE] trunk
bzr revid: fme@openerp.com-20140410173524-9oz7irm59a5d8d7g
2014-04-10 19:35:24 +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
Fabien Meghazi 8e14e7a870 [WIP] AssetsBundle
bzr revid: fme@openerp.com-20140409161648-sx87vc0saj30f68x
2014-04-09 18:16:48 +02: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
Thibault Delavallée ab12151b58 [FIX] web: fixed fieldbarchart, now accepting JSON; fixed statinfo, now properly managing values
bzr revid: tde@openerp.com-20140408123922-tqg2t3it3sm2dw44
2014-04-08 14:39: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
Thibault Delavallée a43998c41f [IMP] web: stat buttons: some CSS fixes + added barchart button
that display a barchart. Whoo.

bzr revid: tde@openerp.com-20140408113107-y9zstny6a0ybi38l
2014-04-08 13:31:07 +02:00
Thibault Delavallée a74eb749ae [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140401100513-e4iglorrxnj0ne8j
bzr revid: tde@openerp.com-20140403122017-zl668mpi0w5gwps0
bzr revid: tde@openerp.com-20140408083733-8plf5daah4c8yxxx
2014-04-08 10:37:33 +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
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
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 2686f48dd9 [FIX] web: correct company info popup closing
bzr revid: chs@openerp.com-20140407101324-vhm0d9r2nf0m7ve3
2014-04-07 12:13:24 +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
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
Barad Mahendra 002f33961e [IMP]fix typo
bzr revid: mba@tinyerp.com-20140403132033-4b5yj6uy0mfokao5
2014-04-03 18:50:33 +05:30
Barad Mahendra debd43e78c [Merge]with trunk
bzr revid: mba@tinyerp.com-20140331091837-ysy7r74256f83kqv
bzr revid: mba@tinyerp.com-20140403123846-rfcktmyc3drda5y5
2014-04-03 18:08:46 +05:30
Mohammed Shekha f9d143c216 [FIX]Fixed the issue of duplicated one2many lines, weired behavior when you add one2many line and then add another line withour filling required field and then click on save, then remove added one2many line for which we didn't filled required data and then save it, you will get duplicated lines.
bzr revid: msh@tinyerp.com-20140403070844-6ogpdursukue2zoh
2014-04-03 12:38:44 +05:30
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
Fabien Meghazi 055cae2151 [WIP] load script
bzr revid: fme@openerp.com-20140402112709-vbm7p35s980p0s2u
2014-04-02 13:27:09 +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 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
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
Thibault Delavallée 423f81bf5c [IMP] view_form: Many2One: when choosing not to have the possibility
of creating values in a many2one, also avoid displaying an 'error displayer'
that allow to create a new record.

bzr revid: tde@openerp.com-20140327103809-nmvc4102y4kp8v1r
2014-03-27 11:38:09 +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
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
Thibault Delavallée 2f0b59be37 [IMP] list_view: allow displaying string-based buttons in list view
and not only img-based buttons.

bzr revid: tde@openerp.com-20140320173907-5b02atnispbznqmj
2014-03-20 18:39:07 +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
Barad Mahendra 002f663d29 [IMP]imrpove the style of dropdodwnselection
bzr revid: mba@tinyerp.com-20140320055524-szvqd1d8i2sgpe2l
2014-03-20 11:25:24 +05:30
Gery Debongnie 8ac730074a [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140319090153-aczgy9uqqw72702x
2014-03-19 10:01:53 +01:00
Gery Debongnie f4cfed3f0e [IMP] improves the look of the stat buttons in form view: the statinfo widget displays the information on two lines, the padding/margin/width have been adjusted. (addon web)
bzr revid: ged@openerp.com-20140319085718-9v1l3pb43ee6qws6
2014-03-19 09:57:18 +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
Thibault Delavallée c2e13ccb3b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140318164215-4k7fx6r3b4uden6h
2014-03-18 17:42:15 +01:00
Barad Mahendra 0c621f4776 [IMP]improve the dropdown selection widget
bzr revid: mba@tinyerp.com-20140318132948-85nnbkbwqri8gnld
2014-03-18 18:59:48 +05:30
Kersten Jeremy af8147fc95 [FIX] Display placeholder on IE9.
The hack was not working since we migrate jQuery 1.8 to 1.9 because $.browser has been removed.

bzr revid: jke@openerp.com-20140318130655-yqgj851enc0293hr
2014-03-18 14:06:55 +01:00
Christophe Simonis a2f9619e26 [MERGE] forward port of branch saas-3 up to revid 3975 chs@openerp.com-20140318115516-sn3laxqseam1oz3f
bzr revid: chs@openerp.com-20140318124050-ul3reev0vvmgqxz8
2014-03-18 13:40:50 +01:00
Christophe Simonis 541a5d3f82 [MERGE] forward port of branch saas-2 up to revid 3904 chs@openerp.com-20140318112743-tqv492026y2pnbff
bzr revid: chs@openerp.com-20140318115516-sn3laxqseam1oz3f
2014-03-18 12:55:16 +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
Thibault Delavallée 1a086bca82 [IMP] sidebar in list view: context should be the one of the dataset, allowing context propagation, not
void default context.

bzr revid: tde@openerp.com-20140318102501-pi6qcaz1zbu71tsh
2014-03-18 11:25:01 +01:00
Thibault Delavallée b987405134 [IMP] Sidebar: added a new section for the sidebar, the buttons section.
When having actions to display in the 'more' menu and if the action id is present
in the context, get the action out of the menu to display a specific red button.
This is used to highlight some specific action to do in a given flow. For example
when going to a list view from a button, with an action that should be the next
one to perform, it allows to display the button once at least one record is
selected.

bzr revid: tde@openerp.com-20140318092955-vym3d7xkl3mmf62i
2014-03-18 10:29:55 +01:00
Barad Mahendra 955f6c4cd7 [IMP]improve dropdown
bzr revid: mba@tinyerp.com-20140318092012-4ch33v0e4ej88t2z
2014-03-18 14:50:12 +05:30
Barad Mahendra 90a3059c4e [Merge]with trunk
bzr revid: mba@tinyerp.com-20140318084350-816ejedablhvr2ms
2014-03-18 14:13:50 +05:30
Gery Debongnie e8198d74b6 [IMP] various tweaks to stat_button, to fix issues mentioned in code review. This is mostly cosmetic cleanups, only notable change is that stat_button is now a proper html button instead of a label (addon web)
bzr revid: ged@openerp.com-20140317152710-c33q8kua33o001la
2014-03-17 16:27:10 +01:00
Gery Debongnie af61fd53bc [IMP] removes the tooltip when mouse hovers over a 'percentpie' widget (addon web)
bzr revid: ged@openerp.com-20140314142155-u8suij5tikxwd0zi
2014-03-14 15:21:55 +01:00
Gery Debongnie d849c6521d [IMP] removes the 'stat_button' widget and modifies button to fulfill that role. Now, a button with a class 'oe_stat_button' will be displayed differently (look in form views) (addon web). Also removes the useless widget x2many
bzr revid: ged@openerp.com-20140314134456-wy6ya3zz72zx3yo2
2014-03-14 14:44:56 +01:00
Martin Trigaux 53922c9593 [FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)
bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4
2014-03-14 14:28:54 +01:00
Martin Trigaux 08e07af590 [FIX] pager: do not try to toggle the visibility if the pager do not exists yet
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-14 12:27:09 +01:00
Denis Ledoux 477a87e2b1 [FIX] web: widget selection on many2one in search view is deprecated, it was used in some cases but it is now pointless as the basic many2one handle these cases
bzr revid: dle@openerp.com-20140313182004-symalqn8m9offm14
2014-03-13 19:20:04 +01:00
Gery Debongnie 500fc0790c [IMP] chooses better color for the percentpie widget in form view
bzr revid: ged@openerp.com-20140313141216-o3w9ykphm0nuo61q
2014-03-13 15:12:16 +01:00
Gery Debongnie d2637811de [IMP] adds PercentPie and X2Many widgets to formview. PercentPie takes a field 'float' and displays a read-only pie chart to visualize the corresponding percent. X2Many takes a 1tomany or a manytomany field and display a read only string '<number of records> <label>'
bzr revid: ged@openerp.com-20140313124843-d4tc5zdz3lx2r8kt
2014-03-13 13:48:43 +01:00
Martin Trigaux 71d8f8f1c4 [FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching
bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu
2014-03-13 13:38:11 +01:00
Martin Trigaux 82692f11a0 [MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format (id, name)), instead of sorting on the tuple (and then id), sort on the name_get value to match what is shown on the screen
bzr revid: mat@openerp.com-20140312150435-shq9hy3b9njkhxsn
2014-03-12 16:04:35 +01:00
Gery Debongnie 0a71d06be3 [IMP] work in progress on stats buttons. The goal is to allow buttons with dynamic/statistical informations in form views (addon web)
bzr revid: ged@openerp.com-20140312132213-hclaw6jc87u220zq
2014-03-12 14:22:13 +01:00
Kersten Jeremy e4c3847eb7 [FIX] remove test commits
bzr revid: jke@openerp.com-20140311173519-kdk52vqcrl25r6g6
2014-03-11 18:35:19 +01:00
Christophe Simonis c3827cb8f7 [MERGE] forward port of branch saas-3 up to revid 3967 jke@openerp.com-20140311093515-02xw8phrcqhgz6zx
bzr revid: chs@openerp.com-20140311132200-1bln6gaj80njyh18
2014-03-11 14:22:00 +01:00
Kersten Jeremy 849d0ad860 [TEST] Log for debug
bzr revid: jke@openerp.com-20140311122729-ullchqwem8725iw2
2014-03-11 13:27:29 +01:00
Kersten Jeremy 09e5ec2345 [TEST] Log for debug
bzr revid: jke@openerp.com-20140311105910-v1k3l0r8ga1lubp6
2014-03-11 11:59:10 +01:00
Denis Ledoux 6e9f3ad806 [FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being behind jquery ui dialogs. Besides, this pane should always be on top, therefore we can assume that setting 9999 will not have bad side effects
bzr revid: dle@openerp.com-20140311104947-is5qpw71y1m2oakf
2014-03-11 11:49:47 +01:00
Xavier ALT c033e5a535 [FIX] web: on SearchPopup creation concat build context even if we have initial_ids
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context

lp bug: https://launchpad.net/bugs/1209295 fixed

bzr revid: mat@openerp.com-20140311091522-03imwd5rj3rmwapl
2014-03-11 10:15:22 +01:00
Martin Trigaux 618c8b9100 [FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)
bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-07 15:12:57 +01:00
Martin Trigaux 22f86f097a [MERGE] [FIX] export wizard: better behaviour when saving new fields list
- Show the fields list once we save the first one
- When delete a list, remove the selected fields
- When add a list, do not remove the selected fields

bzr revid: mat@openerp.com-20140305100843-ircqtucf1pkn3wzd
2014-03-05 11:08:43 +01:00
Denis Ledoux 1761704af2 [FIX] web: view form fieldselection, use name_search instead of cascading search and name_get
One rpc call won
Moreover, res_company in server overwrite name_search for company field in res users preferences, to display all allowed companies of the user, and not just the one allowed by record rules, so the user can change to the companies he is allowed to.

bzr revid: dle@openerp.com-20140304173838-c7uimmey8gvi3b64
2014-03-04 18:38:38 +01:00
Mohammed Shekha (OpenERP) f29f1e6f04 [FIX]Fixed the issue of o2m sorting by column, m2o field does not give proper result for sorting because whole value of m2o [id, value] going to compare for sorting.
bzr revid: msh@openerp.com-20140304110659-4uu38feetsjj0tt5
2014-03-04 16:36:59 +05:30
Martin Trigaux a1a5bc6c06 [MERGE] [FIX] view list: pagination problem when delete records in list view
When delete a record, correctly display the number of remaining items displayed (eg: 1-79 of 99)
When no more items in a page, force switch to previous page
When no more pager, reload the content to display potential items in next page

bzr revid: mat@openerp.com-20140303164114-pzeuu9hxvq17lx02
2014-03-03 17:41:14 +01:00
Mahendra Barad (OpenERP) 5b2993b0ca [Merge]with trunk
bzr revid: mba@tinyerp.com-20140228131907-byupoh7m80vbw5yl
2014-02-28 18:49:07 +05:30
Fabien Meghazi c1d9449a57 [MERGE] upstream
bzr revid: fme@openerp.com-20140227101745-k6iseaz765qnflnm
2014-02-27 11:17:45 +01:00
Mahendra Barad (OpenERP) da18856463 [IMP]fix typo
bzr revid: mba@tinyerp.com-20140226111646-e8f7lnawrw082i03
2014-02-26 16:46:46 +05:30
Mahendra Barad (OpenERP) 4a220f70c9 [IMP]priority widget on click star
bzr revid: mba@tinyerp.com-20140226100509-ra9n6ia24b7ofc22
2014-02-26 15:35:09 +05:30
Martin Trigaux 16a5c45114 [FIX] home action: open the linked menu in addition to execute the action. The menu tree is now correctly displayed instead of only messaging.
bzr revid: mat@openerp.com-20140221165706-79uqffr5nk4zbj5e
2014-02-22 03:57:06 +11:00
Xavier Morel bb7eb52699 [REM] RPC from js/qunit tests
They're a pain in the ass, they never worked right and they're basically
useless. Screw it.

bzr revid: xmo@openerp.com-20140221143518-hv3rjkw2b00ughvh
2014-02-21 15:35:18 +01:00
Mahendra Barad (OpenERP) d8544c4960 [IMP]improve the tooltip on star
bzr revid: mba@tinyerp.com-20140221132956-w6vrflrta8rn51sf
2014-02-21 18:59:56 +05:30
Mahendra Barad (OpenERP) cdf0d28469 [IMP]fix typo
bzr revid: mba@tinyerp.com-20140221122146-p5uopfg2djso3ii2
2014-02-21 17:51:46 +05:30
Christophe Simonis b79f35471e [FIX] testing: rpc tests works directly on the source database instead of copying it
bzr revid: chs@openerp.com-20140221095500-5cer5exzdei76y1d
2014-02-21 10:55:00 +01:00
Kunal Chavda (Open ERP) 1434c34bba [MERGE]With latest trunk.
bzr revid: kch@tinyerp.com-20140221062327-zbfqjr0asc4mrr2l
2014-02-21 11:53:27 +05:30
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
Xavier Morel cdc83a0763 [FIX] dataset.read_ids should always return records in the order of the parameter ids
BufferedDataSet.read_ids assumes the input and output orders are the same, and
returns wonky results when not the case, which in turns fucks up its cache as
it associates ids and records incorrectly.

bzr revid: xmo@openerp.com-20140225162813-8ofxpiy1012eehgk
2014-02-25 17:28:13 +01:00
Gery Debongnie f94f50c7e8 [FIX] fixes a crash caused by incorrect use of date/datetime fields of the form 'date:interval': the list view in some case tried to format the strings as a date, and it could not parse it.
lp bug: https://launchpad.net/bugs/1279382 fixed

bzr revid: ged@openerp.com-20140224110554-y007810prx7qg5yi
2014-02-24 12:05:54 +01:00
Denis Ledoux 2a4d8bc6d5 [ADD] web: add no_create option in view_form, allowing to remove create and edit (and quick create)
Before, we used to use selection widget to hide or disable the create and edit of many2one fields, but this is actually an abuse of the selection widget, this is not its purpose

bzr revid: dle@openerp.com-20140220141302-3paib80ixiyi66qg
2014-02-20 15:13:02 +01:00
Mahendra Barad (OpenERP) 26f27f7be0 [IMP]fix typo
bzr revid: mba@tinyerp.com-20140220060209-3j6vxpbdy47ahg5o
2014-02-20 11:32:09 +05:30
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
Christophe Simonis bb89e54866 [FIX] web: set default: handle false values + correct display of selection fields
bzr revid: odo@openerp.com-20140219163237-ns5zbzxvtrr3a6ed
2014-02-19 17:32:37 +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
Mahendra Barad (OpenERP) fd4b54a9cf [IMP]create four different widget for priority and dropdown_select for kanban and form view
bzr revid: mba@tinyerp.com-20140219132851-vyynhi29hla4k5ly
2014-02-19 18:58:51 +05:30
Mahendra Barad (OpenERP) 2c0141bace [Merge]trunk
bzr revid: mba@tinyerp.com-20140219095729-4296e2b5xm7quaf0
2014-02-19 15:27:29 +05:30
Mahendra Barad (OpenERP) cea18d95ca [IMP]save record on status change
bzr revid: mba@tinyerp.com-20140219095242-jppybyffehlqqmy0
2014-02-19 15:22:42 +05:30
Denis Ledoux c7b4f44b22 [FIX] web: fix handling of manyone with selection widget
Following the remove of widget selection handling in ir_ui_view of revision 4854.4.298 revid:al@openerp.com-20140121112759-zavwqdyv8kdq4oys

bzr revid: dle@openerp.com-20140218162125-bwse328ybq9d6c2v
2014-02-18 17:21:25 +01:00
Martin Trigaux 8be121ff69 [MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: mat@openerp.com-20140218143111-yot645o83gxvkujb
2014-02-18 15:31:11 +01:00
Martin Trigaux 2e831ab7c3 [IMP] data: skip read_ids call when got no id (opw 604099).
This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.

bzr revid: mat@openerp.com-20140218101438-yqim33cvtg6wt4mw
2014-02-18 11:14:38 +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
Martin Trigaux 9cc13d4216 [MERGE] [FIX] home action: fixing the broken field 'action_id' on the res.users form (lost with 6.1->7). This field executes a custom action at page load.
bzr revid: mat@openerp.com-20140214131800-9vwuxe9b2zki35il
2014-02-14 14:18:00 +01:00
Mahendra Barad (OpenERP) d95e3835e2 [IMP]priority widget and dropdown_select widget for direct write instead call method
bzr revid: mba@tinyerp.com-20140214114904-x2fg98k7xo8lxe4w
2014-02-14 17:19:04 +05:30
Martin Trigaux d65df64cdd [IMP] always click on first link to have menus and breadcrumb
bzr revid: mat@openerp.com-20140214111707-7zzpeccs9aanfdct
2014-02-14 12:17:07 +01:00
Martin Trigaux 8877c10161 [FIX] login: look at the value of action_id on the current res.users to execute the action instead of the first link (Inbox). Bring back 6.1 behaviour.
bzr revid: mat@openerp.com-20140214111540-sbn3y6ou3vrjza15
2014-02-14 12:15:40 +01:00
Mahendra Barad (OpenERP) 8ba46238ae [Merge]trunk
bzr revid: mba@tinyerp.com-20140214072005-1teoisyk2ljq6sw9
2014-02-14 12:50:05 +05:30
Mohammed Shekha (OpenERP) a8943b416a [FIX]Web, Statusbar: Fixed the issue of statubar in chrome is aligned, it is aligned in inline block.
bzr revid: msh@openerp.com-20140213115556-irdodahpw0atgy5u
2014-02-13 17:25:56 +05:30
Martin Trigaux 409c3cfe9f [FIX] data: _.find (prefered to older _.detect) may return undefined if no match and would trow an error when applying .values
Instead returns undefined which is handled below.
This does not solve the issue when records are not loaded properly but gives a better information on the reason.

bzr revid: mat@openerp.com-20140213085008-pnq4r0ebfl072u78
2014-02-13 09:50:08 +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
Denis Ledoux 749e05ccb8 [FIX] close autocomplete listing on input
Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.

Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``

bzr revid: dle@openerp.com-20140210140032-06dnlxepcc5ae21f
2014-02-10 15:00:32 +01:00
Xavier Morel 0821af1af9 [FIX] close autocomplete listing on input
Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.

Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``.

bzr revid: xmo@openerp.com-20140210123416-cfc0x24bfkiv4lse
2014-02-10 13:34:16 +01:00
Martin Trigaux b75c52f3ed [IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field
bzr revid: mat@openerp.com-20140206102409-4lbx7ofsgz8speni
2014-02-06 11:24:09 +01:00
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00
Cecile Tonglet df0076c67d [FIX] getParent() js error when clicking to fast on menu items of dashboards
bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
2014-02-04 16:05:44 +01:00
Xavier Morel ae3223907b [FIX] modules initialization when testing
broken "adaptation" to single-instance openerp would only initialize the first
set of dependencies, any further module would see its test runs without itself
or its dependencies being guaranteed to be initialized/installed into the
current openerp instance.

bzr revid: xmo@openerp.com-20140131152640-coxqulkdb0xupbvq
2014-01-31 16:26:40 +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
Antony Lesuisse f051043a26 [MERGE] trunk-website-al
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-31 01:52:02 +01:00
Gery Debongnie 1c42440313 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140130155402-h4y6k4ydk6s2yasv
2014-01-30 16:54:02 +01:00
Gery Debongnie 8ed584d1ac [FIX] simplify a computation of raw_fields to make sure it doesn't crash (_.contains expects a list, and not a string) (addon web)
bzr revid: ged@openerp.com-20140130153700-2lno0uefta93ex53
2014-01-30 16:37:00 +01:00
Fabien Meghazi b0fa27dc7c [IMP] Quick fix for cros support in webclient
bzr revid: fme@openerp.com-20140130151146-twct15ruxq179ryu
2014-01-30 16:11:46 +01:00
Gery Debongnie 2149c1af03 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140130135056-74l65y4v24ohlwcq
2014-01-30 14:50:56 +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
Christophe Simonis 83345e4414 [MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd
2014-01-29 11:10:04 +01:00
Gery Debongnie a482809cf9 [FIX] correctly compute the attribute 'length' in a query_group so that the list view properly display groups when grouped by 'date:interval' (addon web)
bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-29 10:23:59 +01:00
Martin Trigaux 802d64ca92 [MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains
* Alter datetime.now(), generate a local datetime (add utcnow() which generates a UTC datetime)
* Implement datetime.replace() to manipulate local datetimes
* Implement date.today(), generates a local date
* Implement datetime.toJSON(), returns a javascript Date (assumes datetime attributes are local)
* Add conversion hook in JSON and JSONP handlers, automatically converts a Date object to a UTC datetime formatted according to server formats

Should allow the generation of correctly working (from the end-user's POV) [Today] filters, amongst other things.
Eg: a local expression in a domain for 'Today 00:00:00' would now be expressed as 'datetime.datetime.now().replace(hour=0, minute=0, second=0)' (no .strftime) and will be converted to UTC when sent to the server

bzr revid: mat@openerp.com-20140128133706-4yp610pp5w06tcia
2014-01-28 14:37:06 +01:00
Chirag Dodiya (OpenERP) 0abd187bec [IMP]Improved code to set message of quick add wizard
bzr revid: cod@tinyerp.com-20140123132241-zfd0e3la6ebrvtd5
2014-01-23 18:52:41 +05:30
Mahendra Barad (OpenERP) a33461433c [IMP]improved kanban state as boostrap btn and dorpdown
bzr revid: mba@tinyerp.com-20140123122600-hqo3g9c5l6r24o3t
2014-01-23 17:56:00 +05:30
Xavier Morel 5b7ade9db1 [ADD] ways to correctly handle local datetimes in e.g. domains
* change datetime.now() to generate user-local naive datetimes
* add datetime.utcnow() behaving as the old now()
* add date.today() generating a user-local date (for the current day)
* add datetime.replace() to replace any specific attribute of the
  datetime object (except tzinfo, for now)
* datetime.toJSON() now returns the equivalent javascript Date object
  (warning: uses the datetime attributes directly, since datetimes are
  naive if they were created with utcnow() the Date result is going to
  be complete nonsense). With the previous commit datetime.now()
  generates a user-local now() which is converted to the correct UTC
  datetime when sent to the server.

This means it becomes possible to generate datetime bounds for the
user's local today with either

    datetime.datetime.now().replace(hour=0, minute=0, second=0)

or

    datetime.datetime.combine(
        datetime.date.today(),
        datetime.time())

and once send over JSON-RPC the server will get the local datetime
in UTC to the server's format.

nb: user-local means "in the timezone of the user's browser" in this
context.

bzr revid: xmo@openerp.com-20140122151911-akn1nr6e739eg92s
2014-01-22 16:19:11 +01:00
Xavier Morel 36eedfab43 [ADD] JSONify Date objects to a UTC datetime in OpenERP server format
This way, the client can send genuine local Date objects without
caring too much, the server will get them in an expected format. This
can then be used by leaving Date objects in domains, and have these
date objects end up correctly in the server without creators of
domains having to manually serialize them to UTC from a local datetime
somehow.

bzr revid: xmo@openerp.com-20140122135426-zm80cj5wm9iebs76
2014-01-22 14:54:26 +01:00
Gery Debongnie d0806ed3f7 [FIX] makes the querygroup methods compatible with the 'field:interval' format of groupbys accepted by read_group
bzr revid: ged@openerp.com-20140122124449-4nodai5vkoz3eryf
2014-01-22 13:44:49 +01:00
Mahendra Barad (OpenERP) c17dd063be [Merge]Merge with trunk
bzr revid: mba@tinyerp.com-20140122100109-woxq4e1fhnhsr1xz
2014-01-22 15:31:09 +05:30
Martin Trigaux 9f3ab4599c [FIX] FieldStatus: restore trigger get_selection on value change. Was removed rev 3738.
Without this a change of record in a form view would not recompute the list of states as well as a change of state due to a button

bzr revid: mat@openerp.com-20140121151255-jke0zbobb0ilpqid
2014-01-21 16:12:55 +01:00
Martin Trigaux 3c3ab07e2f [FIX] format_value: correctly compose if block, we are doing python here...
bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88
2014-01-21 15:26:25 +01:00
Martin Trigaux 36048a8442 [IMP] always apply substring and call directly str_to_date
bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo
2014-01-21 11:50:58 -02:00
Martin Trigaux 9a0a02060f [FIX] format_value: when formating to date, make sure not converting from a datetime string as would make timezones apply and lead to a possible day change
bzr revid: mat@openerp.com-20140121132725-k9f8hna3lg7nq7g8
2014-01-21 11:27:25 -02:00
Martin Trigaux 263693e44e [FIX] search: add delay of 250us (was 0) on autocomplete fields in search bar and m2o fields.
This avoids making a search request for each keypressed

bzr revid: mat@openerp.com-20140120160147-q7lg4j93c836ec44
2014-01-20 17:01:47 +01:00
Martin Trigaux 2dc722ac80 [FIX] format_value: consider text fields te same way as char fields for empty values
bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk
2014-01-17 19:31:41 +08:00
Fabien Meghazi c0dda700f1 [MERGE] upstream
bzr revid: fme@openerp.com-20140116181519-xtzhzm7u98u6xz18
2014-01-16 19:15:19 +01:00
Denis Ledoux 5649e0bbf2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx
bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1
bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k
bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2014-01-16 17:14:15 +01:00
Gery Debongnie 66c78675dc [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140116144400-2t13mcnlsnpsez7p
2014-01-16 15:44:00 +01:00
Thibault Delavallée 7416766f6a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140116110102-6jo2ta5fjkfppu1j
2014-01-16 12:01:02 +01:00
Christophe Simonis 0e870fc7a7 [MERGE] forward port of branch saas-2 up to revid 3897 dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: chs@openerp.com-20140115221349-3lw7b0kpo3f2d04l
2014-01-15 23:13:49 +01:00
Denis Ledoux 6109102e91 [FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Martin Trigaux 2170efe270 [MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Martin Trigaux 3f4c637674 [IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)
bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
2014-01-14 15:57:20 +01:00
Fabien Meghazi dec6f2569e [MERGE] upstream
bzr revid: fme@openerp.com-20140114133953-ku7af6v3z9y7qap2
2014-01-14 14:39:53 +01:00
Fabien Meghazi 01f3648d3a [ADD] javascript hooks for LoginForm and debug forwarding
bzr revid: fme@openerp.com-20140114111707-ts3ik25p4o2vysxb
2014-01-14 12:17:07 +01:00
Xavier ALT 9a84e25342 [FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works
bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum
2014-01-14 11:04:39 +01:00
Christophe Matthieu 65583f01ef [MERGE] Some fix for bootstrap issues
bzr revid: chm@openerp.com-20140114094735-ek8y73c7n0llq1hf
2014-01-14 10:47:35 +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
Fabien Meghazi 75e02860c2 [REM] Removed Login from webclient
bzr revid: fme@openerp.com-20140113173808-1clqlztx6fs79h2k
2014-01-13 18:38:08 +01:00
Martin Trigaux cc553cc507 [FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter
bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w
2014-01-13 18:23:47 +01:00
Gery Debongnie 98bd9a3fc3 [FIX] the SearchQuery.add methods now properly removes the 'at' and 'merge' keys before propagating options, so the tests should now pass (addon web)
bzr revid: ged@openerp.com-20140110154812-kazqirnie3kwtl4m
2014-01-10 16:48:12 +01:00
Mahendra Barad (OpenERP) fa1e5f6487 [IMP]improve widget legend
bzr revid: mba@tinyerp.com-20140108104051-5yhbtj4y1w87ygr2
2014-01-08 16:10:51 +05:30
Olivier Dony 1bb2fccb9d [FIX] web: avoid crash when the Home client action is called without `action` param
E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.

bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe
2014-01-07 17:11:54 +01:00
Mahendra Barad (OpenERP) 2e732f0aaf [IMP]added the legend widget for priority and kanban state
bzr revid: mba@tinyerp.com-20140107131121-unl7honraf5d9tna
2014-01-07 18:41:21 +05:30
Mahendra Barad (OpenERP) d7e09b669c [IMP]
bzr revid: mba@tinyerp.com-20140107125832-fzt8cceyj3et7hgy
2014-01-07 18:28:32 +05:30
Thibault Delavallée 3d9459ba9d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140103151458-8hl5qlmswpxdvd7v
2014-01-03 16:14:58 +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
jke-openerp 0bec0a3ef9 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131220145133-rgipx3bsh79isnxg
2013-12-20 15:51:33 +01:00
RGA(OpenERP) 805fef4f47 [IMP] legend widget
bzr revid: rgaopenerp-20131220140824-2zr27ool75k60u1w
2013-12-20 19:38:24 +05:30
RGA(OpenERP) 6ad2ea0202 [IMP] legend widget
bzr revid: rgaopenerp-20131220121019-h1o0lllprbo02uqa
2013-12-20 17:40:19 +05:30
RGA(OpenERP) ab6f79e759 [IMP] legend widget
bzr revid: rgaopenerp-20131220101940-90ialtu8fqcdborg
2013-12-20 15:49:40 +05:30
Gery Debongnie 2dffdc7c96 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20131219151851-m5av5iz9e3km2s2u
bzr revid: ged@openerp.com-20131220091306-lbsixx9c1robif1m
2013-12-20 10:13:06 +01:00
Mahendra Barad (OpenERP) fdcb64ef8c [IMP]improve the legend widget
bzr revid: mba@tinyerp.com-20131220084846-875n332j1m1igip7
2013-12-20 14:18:46 +05:30
Vidhin Mehta (OpenERP) f12a8e94ac [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20131220073414-spf39j62hv7btxt9
2013-12-20 13:04:14 +05:30
Vidhin Mehta (OpenERP) 5e5483bde4 [FIX]for dialog box stick to page.
bzr revid: vme@tinyerp.com-20131220073241-xi7v47jecgewapw2
2013-12-20 13:02:41 +05:30
Fabien Meghazi 90b63ee28c [FIX] support client_options.action and client_options.post_login_action
bzr revid: fme@openerp.com-20131219180628-s95y5ryomnbgvko2
2013-12-19 19:06:28 +01:00
Fabien Meghazi 6754d72a93 [FIX] webclient reference
bzr revid: fme@openerp.com-20131219134601-9lgi8d3x7e02umoq
2013-12-19 14:46:01 +01:00
Fabien Meghazi 5d3891835b [ADD] Client.client_options
bzr revid: fme@openerp.com-20131219130445-tvola5kfm86b3blf
2013-12-19 14:04:45 +01:00
Mahendra Barad (OpenERP) 752fa2e2a5 [IMP]improved css as well as improved stagemode widget
bzr revid: mba@tinyerp.com-20131219083851-c2hp4dddtpfxm0l6
2013-12-19 14:08:51 +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
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
jke-openerp e4469e0aeb [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131218131034-61e6su19shmrgakz
2013-12-18 14:10:34 +01:00
Xavier ALT 9491755b8b [FIX] web: only show in 'Advanced Search', fields that are actually searcheable and avoid duplicate 'ID' field
bzr revid: xal@openerp.com-20131218113547-myl7eihvw5vbzkaa
2013-12-18 12:35:47 +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
Chirag Dodiya (OpenERP) 9ca1c1394c [IMP] Improved the name of wizard Instead of Add XXX set Create a XXX
bzr revid: cod@tinyerp.com-20131218050716-8zsx7a2k3fme9w0f
2013-12-18 10:37:16 +05:30
Martin Trigaux cfd24d9822 [FIX] view_list_editable: toggle visibility (using force_visibility attribute) for readonly changes, using effective_invisibility instead of invisibility attribute (opw 601970)
bzr revid: mat@openerp.com-20131217104111-u9bnqvz7rd5rzwnc
2013-12-17 11:41:11 +01:00
Kunal Chavda (Open ERP) 3fcd2e2440 [IMP]Improved code for set tooltip placement on top or bottom on the basis of display area.
bzr revid: kch@tinyerp.com-20131217093546-49lg5i0rm1kx9oli
2013-12-17 15:05:46 +05:30
Vidhin Mehta 56a78ab3a4 [FIX]Issue of trunk in website branch.
bzr revid: vme@tinyerp.com-20131217073042-13d3aa7vgct4l3xw
2013-12-17 13:00:42 +05:30
Kunal Chavda (Open ERP) 529c31104c [MERGE]with latest.
bzr revid: kch@tinyerp.com-20131217065045-4gk6sda3rfxp3f88
2013-12-17 12:20:45 +05:30
RGA(OpenERP) 8d509498b6 [IMP] add stage mode widget
bzr revid: rgaopenerp-20131216125602-r10t3se7hgvoy73w
2013-12-16 18:26:02 +05:30
Xavier Morel 21700e5e28 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131213093827-cew27ajx3mlu91h3
2013-12-13 10:38:27 +01:00
Xavier Morel 0fd50c4750 [REM] leftover logging
bzr revid: xmo@openerp.com-20131213093542-sdomq8skpwq5wrgv
2013-12-13 10:35:42 +01:00