Commit Graph

5610 Commits

Author SHA1 Message Date
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
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
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 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
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 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 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
Amit Vora 254985f417 [FIX] Fixed the generic issue of radio button align.
bzr revid: avo@tinyerp.com-20140401073309-3e0ynl5z1q92hfm8
2014-04-01 13:03:09 +05:30
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
Randhir Mayatra rma-openerp 36e0eb4e2e [IMP] add required icon
bzr revid: rma@tinyerp.com-20140327054950-d126732mv15imvyi
2014-03-27 11:19:50 +05:30
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
Randhir Mayatra rma-openerp bca2c3d8dc [IMP] add icon for action
bzr revid: rma@tinyerp.com-20140325123525-5zzvqfyk6mmz6va3
2014-03-25 18:05:25 +05:30
Randhir Mayatra rma-openerp bddff0f601 [IMP] add class for icon pencil
bzr revid: rma@tinyerp.com-20140324135900-9mufbqb0w2ftsg46
2014-03-24 19:29:00 +05:30
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
Randhir Mayatra (OpenERP) 6cd8ef5c65 [IMP] add icons for stat buttons
bzr revid: rajmyt@gmail.com-20140320094959-4vki69r7715xvl41
2014-03-20 15:19:59 +05:30
Barad Mahendra 007f39fd5b [IMP]improve the css for dropdown selection
bzr revid: mba@tinyerp.com-20140320090147-3znrq8fl5e64722d
2014-03-20 14:31:47 +05:30
Gery Debongnie 3a0fb18035 [IMP] removes the shadow in stat buttons, to give them the 'flat' look (addon web)
bzr revid: ged@openerp.com-20140320082129-o9jrdb962uuso4kb
2014-03-20 09:21:29 +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
Gery Debongnie 373cb908ca [FIX] correctly handle the case where a 'stat button' has a string attribute (it needs to be displayed in a div instead of a span) (addon web)
bzr revid: ged@openerp.com-20140318085525-vllzeycht9841g41
2014-03-18 09:55:25 +01:00
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
Antony Lesuisse 5cc7237f63 [REM] useless jsonrpc tests and controllers
bzr revid: al@openerp.com-20140316141228-0c35ymruttd5mx2j
2014-03-16 15:12:28 +01:00
chm@openerp.com b9ff076c73 [FIX] css: add important in .fa class for FontAwesome font. The font can't be overwrited by themes and custom css without important arguments
bzr revid: chm@openerp.com-20140314164244-siih3eo271govt27
2014-03-14 17:42:44 +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 f4519c11f2 [IMP] css tweaks to stat buttons
bzr revid: ged@openerp.com-20140313124855-h8ez7ajj31u1x9vf
2014-03-13 13:48:55 +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
Antony Lesuisse b0888ec29b [MERGE] db dump/restore new zip based file format
bzr revid: al@openerp.com-20140312181724-hs26iumd4na2avns
2014-03-12 19:17:24 +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 ee47810674 [IMP] css tweaks to stat buttons
bzr revid: ged@openerp.com-20140312134538-7b3o22lakb8qk45a
2014-03-12 14:45:38 +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
Kersten Jeremy bd90911698 [FIX] Replace overflow scroll into overflow auto by default
bzr revid: jke@openerp.com-20140305142849-5ustm55y0qp4k5hm
2014-03-05 15:28:49 +01:00
Christophe Simonis 5d95027f0a [IMP] web: database manager: restore copy database
bzr revid: chs@openerp.com-20140305124444-1jzxmffrm7502t4e
2014-03-05 13:44:44 +01:00
Thibault Delavallée 5c45aac7ef [IMP] [MONKEY] Re-apply changes introduced at version 3755.
This commit was a forward-pord of saas-1 commits.
Commit by msh
[FIX]Fixed the issue of cleditor, on window resize blur event not triggered except firefox so due to which value disappears from the container.

bzr revid: tde@openerp.com-20140305105922-cqw9vrvk306jynco
2014-03-05 11:59:22 +01:00
Thibault Delavallée cc23ddd0ce [IMP] [MONKEY] Re-apply changes introduced at version 3664 that was
a forward port of 7.0 commits.
Commit 1 by fme.
[FIX] html widget: fix cleditor width when the field was invisible before becoming editable
Commit 2 by tde.
[IMP] cleditor: stop using custom font-size, font-family.

bzr revid: tde@openerp.com-20140305105751-w1i47ytx73ac5gkr
2014-03-05 11:57:51 +01:00
Thibault Delavallée 17a23c60b8 [IMP] [MONKEY] Re-apply changes introduced at version 3328.
Original commit by chm.

[FIX] cleditor: When the DOM is modify, the event resize try to call refresh and refresh has not DOM available. Correction : If the DOM as no prent, don't call refresh.

bzr revid: tde@openerp.com-20140305105455-1ewix4pm9m5ob1bm
2014-03-05 11:54:55 +01:00
Thibault Delavallée bff34f4014 [DUMMY] Void commit with a space change, because this cause a crash in bazaar.
bzr revid: tde@openerp.com-20140305104931-xnftljkziznsi9qq
2014-03-05 11:49:31 +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
Paramjit Singh Sahota a64ed6673c [MERGE] Merged lp:~openerp/openerp-web/saas-3
bzr revid: psa@tinyerp.com-20140305050903-8n1prme78ou7n2h2
2014-03-05 10:39:03 +05:30
Paramjit Singh Sahota 97cff89b3d [REM] REmoved the jquery.cleditor.min.js for the lib.
bzr revid: psa@tinyerp.com-20140305050612-8z0jpohvg026l2xi
2014-03-05 10:36:12 +05:30
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
Paramjit Singh Sahota 2331b14f57 [UPDATE] Updated the cleditor lib from v1.3.0 to v1.4.4 to fix the INTERNET EXPLORER issues.
bzr revid: psa@tinyerp.com-20140304132534-8dyuusqda5vsdcit
2014-03-04 18:55:34 +05:30
Martin Trigaux 7bb95a4468 Update undescore.js to version 1.6 and underscore.string.js to version 2.3
bzr revid: mat@openerp.com-20140304125528-97w5kbv3ry028kn9
2014-03-04 13:55:28 +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
Kersten Jeremy b2045b91ac [IMP] Improve dipslay of form_embedded_html for mail Template. Removed the big margin, and add scroll on overflow
bzr revid: jke@openerp.com-20140228135224-my13sabs7f7h3c60
2014-02-28 14:52:24 +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
Denis Ledoux b0f1e57269 [FIX] web: oe_form_uri is not always a link (many2one readonly no_open for instance), therefore, apply css only for a.oe_form_uri, to add the underline. Color was already added by another rule.
bzr revid: dle@openerp.com-20140220135030-tt6isdwum15zt6i8
2014-02-20 14:50:30 +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
Christophe Simonis 2c4466258d [FIX] web: do not float buttons in header bar to the left. This make them invisible if they are the sole children of the header.
bzr revid: odo@openerp.com-20140219163213-8z4fxio7p7nzesf0
2014-02-19 17:32:13 +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
Christophe Simonis 487dee4851 [IMP] web: generic sass/css Makefile
bzr revid: chs@openerp.com-20140213142842-u7r5axxewqjfsd1c
2014-02-13 15:28:42 +01:00
Christophe Simonis 9e6c111409 [FIX] web: correct navbar position
bzr revid: chs@openerp.com-20140213142643-y0wtmbv3fzh8f0wt
2014-02-13 15:26:43 +01:00
Martin Trigaux ce778f2000 [MERGE] [FIX] css: Fixed the issue of statubar not aligned with buttons in chrome browser.
bzr revid: mat@openerp.com-20140213145755-txvtwqbfc83vnw9o
2014-02-13 15:57:55 +01:00
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
Christophe Simonis 9d670cd45f [FIX] web: navbar must have a z-index at 0 to be hidden when passing pad in fullscreen
bzr revid: chs@openerp.com-20140212180932-z1vtcfrif0rzsozu
2014-02-12 19:09:32 +01:00
Olivier Dony 6a29b0ae0f [FIX] Layout was broken in the debugging `View Logs` (perm_read) popup, fixed + boostrapified
bzr revid: odo@openerp.com-20140212141959-w2s4f960jwbknzx4
2014-02-12 15:19:59 +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
Christophe Matthieu e2898a1d59 [IMP] web: update lib bootstrap 3.1.0
bzr revid: chm@openerp.com-20140211111118-ur6xntyf6o9lwsac
2014-02-11 12:11:18 +01:00
Gery Debongnie c8e23ffe28 [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140211082642-ndnt79zjgjlcyr6a
2014-02-11 09:26:42 +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
Gery Debongnie ff89abba85 [FIX] correctly displays tooltips in sales/sales team (they previously were cut in half by incorrect padding) (addon web)
bzr revid: ged@openerp.com-20140210100439-icqps10dvtdhlvv0
2014-02-10 11:04:39 +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
Martin Trigaux ea3c17a2e9 [MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView widget
This avoids getting the error 'Cannot call method 'getParent' of undefined'

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

bzr revid: mat@openerp.com-20140205102107-5ggbbkyr172855uu
2014-02-05 11:21:07 +01:00
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00