Commit Graph

3776 Commits

Author SHA1 Message Date
Xavier Morel de1f6488a7 [CHG] there always is an editor in the editable listview, destroy just before creating the new one
bzr revid: xmo@openerp.com-20120726143320-4cdze45po1g581lu
2012-07-26 16:33:20 +02:00
Xavier Morel 7ccf2ad2a5 [FIX] if value may not be a promise, return the wrapped value if wrapping it anyway
bzr revid: xmo@openerp.com-20120726143141-4wbrqq29qqhvwhqw
2012-07-26 16:31:41 +02:00
Antony Lesuisse 69e712eba1 [MERGE] trunk
bzr revid: al@openerp.com-20120726125552-nielbhlik5qg3jzq
2012-07-26 14:55:52 +02:00
Minh Tran 6e48ab4204 Resizing of the About dialog to match the golden ratio
bzr revid: mit@openerp.com-20120726122006-5y3tm5r2fwk0m233
2012-07-26 14:20:06 +02:00
niv-openerp 73e248cdda [FIX] problem in firefox, actions bar not working correctly
bzr revid: nicolas.vanhoren@openerp.com-20120726142957-3gsqbssdi1l6x7dl
2012-07-26 16:29:57 +02:00
niv-openerp 26aaa7d9a7 [IMP] improvement to cache control
bzr revid: nicolas.vanhoren@openerp.com-20120726142057-7nf7wii9t37b6xo0
2012-07-26 16:20:57 +02:00
Xavier Morel bf4c39cdf1 [FIX] arrow keys handling in editable listview field when field is not a text-based input
* Correctly handle HTMLInputElement#selectionStart throwing an error
  (checkbox and radio)

* Correctly handle elements without a selectionStart at all (select)

=> should ~always let the go-to-other-field behavior go through

bzr revid: xmo@openerp.com-20120726123819-74n1gl01p6befgkp
2012-07-26 14:38:19 +02:00
niv-openerp 66a7dc6359 [IMP] customized pager of list view
bzr revid: nicolas.vanhoren@openerp.com-20120726123259-ffeg8342bcbgal8o
2012-07-26 14:32:59 +02:00
niv-openerp 9375df5ae7 [IMP] made pager disappear in form view when in create mode
bzr revid: nicolas.vanhoren@openerp.com-20120726115742-jjihwmc0uzw11bn0
2012-07-26 13:57:42 +02:00
Xavier Morel 7183f749b1 [FIX] trigger DOM blur event on searchview root to allow autocomplete to close-on-blur
bzr revid: xmo@openerp.com-20120726113311-axgwfq4d71rc1u50
2012-07-26 13:33:11 +02:00
Xavier Morel b09a121bd0 [IMP] clear out internal autocomplete cache of searchview on blur
ensures consecutive searches of the same element will behave correctly
(trigger a new autocompletion instead of nooping the second time
around because the new value is the same as the old/stored one)

bzr revid: xmo@openerp.com-20120726113105-d73fere31qdy8wda
2012-07-26 13:31:05 +02:00
niv-openerp 712897852d [IMP] corrected some code documentation
bzr revid: nicolas.vanhoren@openerp.com-20120726102719-ct3c5tx06izemg21
2012-07-26 12:27:19 +02:00
niv-openerp 547e281f6f merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120726101422-2607vesxr52z3t1j
2012-07-26 12:14:22 +02:00
niv-openerp 19a41bd97a [IMP] minor improvement to the fullscreen mode
bzr revid: nicolas.vanhoren@openerp.com-20120726100111-c2y5x9viawnhryrd
2012-07-26 12:01:11 +02:00
niv-openerp f6e615cedc Changed my mind about method naming
bzr revid: nicolas.vanhoren@openerp.com-20120726095653-bi90exba20x8gu4n
2012-07-26 11:56:53 +02:00
niv-openerp 5d80e9a3e7 Small optimization
bzr revid: nicolas.vanhoren@openerp.com-20120726095231-k30uufa9ny2bo28h
2012-07-26 11:52:31 +02:00
niv-openerp dd7e7d2c56 Removed mode in favor of actual_mode
bzr revid: nicolas.vanhoren@openerp.com-20120726095104-txzid0fb9tn3t1ne
2012-07-26 11:51:04 +02:00
Antony Lesuisse c59c7f3237 [FIX] listview dont show sidebar by default
bzr revid: al@openerp.com-20120726092618-atzkidy1gpd25n6w
2012-07-26 11:26:18 +02:00
Antony Lesuisse b65161c4ea o2m popup rename cancel in discard
bzr revid: al@openerp.com-20120726091920-1rnj1vw8ef1j8w98
2012-07-26 11:19:20 +02:00
Antony Lesuisse 94d59d49f2 reorder base.xml
bzr revid: al@openerp.com-20120726091734-x930oturbzz37e8w
2012-07-26 11:17:34 +02:00
Antony Lesuisse 3d1616851a [FIX] login after database creation
bzr revid: al@openerp.com-20120726090712-5htfyn5keu2svh5c
2012-07-26 11:07:12 +02:00
Xavier Morel 239131a716 [FIX] login widget initialization sequence: don't go mucking around with the login's before it's even been started
bzr revid: xmo@openerp.com-20120726081234-2lrq3ksrauxc4m3z
2012-07-26 10:12:34 +02:00
Xavier Morel d304f9fbb7 [CHG] rename this. to this.
because why make things simple when you can make them fucked up

bzr revid: xmo@openerp.com-20120726075359-b0uvuuagrfsf7nhb
2012-07-26 09:53:59 +02:00
Launchpad Translations on behalf of openerp 3d769b791f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120726043951-szroslwg9qznbwtq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120726045038-jmmedz7bhfwg6evv
2012-07-26 04:50:38 +00:00
Antony Lesuisse 678eab6132 [IMP] convert login and database manager into client actions
bzr revid: al@openerp.com-20120726013628-23xi8czcxl8jymbn
2012-07-26 03:36:28 +02:00
Antony Lesuisse 3a6f429d0d [FIX] support arbitrary icons
bzr revid: al@openerp.com-20120726005835-g1l6kg8yge225fd8
2012-07-26 02:58:35 +02:00
Antony Lesuisse 3a793019b6 [FIX] client action urls
bzr revid: al@openerp.com-20120726004227-w9vqt8jv6gtn7l9p
2012-07-26 02:42:27 +02:00
Antony Lesuisse 5d0839264b [MERGE] bounce effects, minor fixes in saas
bzr revid: al@openerp.com-20120726002318-m6bjvivktv16s8re
2012-07-26 02:23:18 +02:00
niv-openerp e406b7759a Fixed problem with m2mtags
bzr revid: nicolas.vanhoren@openerp.com-20120725143150-x6u8pfira3wbc8mg
2012-07-25 16:31:50 +02:00
niv-openerp fe8b2937c9 Solved problems with switch_mode
bzr revid: nicolas.vanhoren@openerp.com-20120725141832-4zqw6g0zf9m4hfro
2012-07-25 16:18:32 +02:00
niv-openerp 31621f412a wip
bzr revid: nicolas.vanhoren@openerp.com-20120725141333-ueaj3e0i8imlwvre
2012-07-25 16:13:33 +02:00
niv-openerp 00ca8067a9 [FIX] re-enable thobber that was desactivated due to previous bug
bzr revid: nicolas.vanhoren@openerp.com-20120725133740-m06but4htp4bkb1q
2012-07-25 15:37:40 +02:00
niv-openerp 17bec7e6d7 [FIX] forgot to add spin.js
bzr revid: nicolas.vanhoren@openerp.com-20120725123634-y3qy8epzkps3gxi6
2012-07-25 14:36:34 +02:00
niv-openerp 175d5ff509 [IMP] added option "no_open" in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120725123543-fzzefu57lwy5xksd
2012-07-25 14:35:43 +02:00
Christophe Simonis 0924a29e7a [FIX] backbonify Client
bzr revid: chs@openerp.com-20120725093437-hig5jtkdol9uagca
2012-07-25 11:34:37 +02:00
Xavier Morel 9cc2f4fb25 [IMP] extract 'set element as new widget root and replace old one in DOM' in its own method
also fix OldWidget to use it, as it had not been fixed when #replaceWith was extracted out of setElement

bzr revid: xmo@openerp.com-20120725091916-g9t5qmaeeqcceuk1
2012-07-25 11:19:16 +02:00
Xavier Morel 0310d5ae73 [REM] #events can't be a function anymore
bzr revid: xmo@openerp.com-20120725091331-jvhgyf427cuxbwl4
2012-07-25 11:13:31 +02:00
Antony Lesuisse 3235ed8a18 [MERGE] trunk
bzr revid: al@openerp.com-20120725082646-ff6ljt0pquvm0dup
2012-07-25 10:26:46 +02:00
Antony Lesuisse 974d4f4f10 rename widget event namespace
bzr revid: al@openerp.com-20120725082446-eahrub8qigektert
2012-07-25 10:24:46 +02:00
Antony Lesuisse a4f1ce69ab [FIX] throbber use an image. fva will fix the aliasing.
Also check http://commons.wikimedia.org/wiki/Category:Throbbers

bzr revid: al@openerp.com-20120725080439-j7f44tb0fbp90cm0
2012-07-25 10:04:39 +02:00
Antony Lesuisse 1d766a2bc6 [MERGE] trunk
bzr revid: al@openerp.com-20120725074053-e3gltrdfzm8bb7j8
2012-07-25 09:40:53 +02:00
Launchpad Translations on behalf of openerp 930dd711ed Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120725043706-7gh4e1622s0jedal
bzr revid: launchpad_translations_on_behalf_of_openerp-20120725045231-nh45u4rfluqv50oa
2012-07-25 04:52:31 +00:00
Xavier Morel 46a0370273 [IMP] avoid losing the exact value of tree/@editable when checking for editability status
bzr revid: xmo@openerp.com-20120724171419-czll83665nptk3n3
2012-07-24 19:14:19 +02:00
Xavier Morel 38cb3de518 [FIX] attempt to make editability handling more logical and simpler to manage.
Also less buggy, with a bit o' luck

bzr revid: xmo@openerp.com-20120724170550-150vimuk6bvzh8y8
2012-07-24 19:05:50 +02:00
Xavier Morel df05d2cd20 [ADD] focus previous/next field when using the left/right arrow while at the start/end of a field
bzr revid: xmo@openerp.com-20120724150112-r8liahdyaxmx49o8
2012-07-24 17:01:12 +02:00
niv-openerp b98723a1fe [IMP] improved throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-07-24 16:12:20 +02:00
Xavier Morel 35bb49701c [IMP] keep focus in the same column when navigating to the previous/next record with up/down arrows
bzr revid: xmo@openerp.com-20120724135655-hjk2l0mxvncker4q
2012-07-24 15:56:55 +02:00
Minh Tran fceb94cb8a Changed style of About dialog box to match login page style
bzr revid: mit@openerp.com-20120724134652-t783h7glntytr3kv
2012-07-24 15:46:52 +02:00
Sanjay Gohel (Open ERP) 730d5555f6 [IMP]improve code
bzr revid: sgo@tinyerp.com-20120724132804-orglytcvcsl0l1i8
2012-07-24 18:58:04 +05:30
niv-openerp d6ef80f21e [IMP] Changed throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724132414-27ylo4ls48agwnel
2012-07-24 15:24:14 +02:00
Xavier Morel 6b719b708f [IMP] trigger a new search when clicking on the searchview's spyglass
Required reifying the purely decorative spyglass (created via :before)
into an actual button and moving that button to the right place (after
removing all decorations set by default on buttons e.g. shadows &al).

apr request.

bzr revid: xmo@openerp.com-20120724124607-bc1nsywtth7cn11i
2012-07-24 14:46:07 +02:00
Xavier Morel 2f10bc4071 [IMP] validation of search_default values for m2o fields
Just because the search_default is an array does not mean it's a
name_get apparently: there are many cases of a single id wrapped in an
array (``[id]``).

So ensure that the search_default is an array *of length 2 whose
second element is a string* before considering it a name_get and using
it as-is (without resolving the label via an explicit name_get).

Also, error out for any m2o search_default which is an array of length
> 1 (unless the second element is a string as per description above).

bzr revid: xmo@openerp.com-20120724115659-l0n0gjr91bcop13z
2012-07-24 13:56:59 +02:00
Stephane Wirtel 8b21ef114a [MERGE] lp:~openerp-dev/openerp-web/trunk-review_module_desc-psi
bzr revid: stw@openerp.com-20120724081255-p2v1misdj36snvxu
2012-07-24 10:12:55 +02:00
Jiten (OpenERP) e15e32feb2 [IMP] Remove form sheet width and background.
bzr revid: jra@tinyerp.com-20120724061814-d0y5ujh3q13e5faj
2012-07-24 11:48:14 +05:30
Jiten (OpenERP) 625e9b18a8 [MERGE] Merged from trunk.
bzr revid: jra@tinyerp.com-20120724060929-8v6t3ss5ykxi9jam
2012-07-24 11:39:29 +05:30
Sanjay Gohel (Open ERP) 7dd12d1352 [MERGE]merge with parent branch
bzr revid: sgo@tinyerp.com-20120723050900-rzkxh5cz7ieclrke
bzr revid: sgo@tinyerp.com-20120724053220-34tos5izh2kmk18t
2012-07-24 11:02:20 +05:30
Antony Lesuisse 6f9fbb5d7a [MERGE] overlay editable list a la rache
bzr revid: al@openerp.com-20120723174341-byh5ep8pg15kpeg9
2012-07-23 19:43:41 +02:00
Antony Lesuisse 07fb6d88b9 [MERGE] trunk
bzr revid: al@openerp.com-20120723173450-2yxayvyoiiiw9tcw
2012-07-23 19:34:50 +02:00
Christophe Simonis 8df25dc683 [FIX] hide topbar on login page
bzr revid: chs@openerp.com-20120723162223-amclassz6dzneayq
2012-07-23 18:22:23 +02:00
Antony Lesuisse ce7580492b [IMP] m2o no tabindex=-! for open button will be handled by a keyboard shortcut
bzr revid: al@openerp.com-20120723153039-3xstwq2a1pcc67gh
2012-07-23 17:30:39 +02:00
niv-openerp 8218e1cc80 [FIX] another problem with translation wizard
bzr revid: nicolas.vanhoren@openerp.com-20120723152224-pmll06c6j3hk1hjd
2012-07-23 17:22:24 +02:00
niv-openerp 50a5ccebe7 [FIX] problem with translate dialog
bzr revid: nicolas.vanhoren@openerp.com-20120723151113-nvh8l72duewcotvx
2012-07-23 17:11:13 +02:00
niv-openerp bef7ef9620 [IMP] Modified loading message
bzr revid: nicolas.vanhoren@openerp.com-20120723135937-3tuwpzdhn3311mg1
2012-07-23 15:59:37 +02:00
niv-openerp 071dce2cb9 [FIX] problem with wizards
bzr revid: nicolas.vanhoren@openerp.com-20120723134914-4rrmeysncsancwfq
2012-07-23 15:49:14 +02:00
Sanjay Gohel (Open ERP) d6c4462c6c [IMP]improve code
bzr revid: sgo@tinyerp.com-20120723050314-bpdzcgt0ttc0fagu
2012-07-23 10:33:14 +05:30
Antony Lesuisse a6e85cfd5a [REM] setValue, event namespacing
bzr revid: al@openerp.com-20120721201253-z35xjhao0r1mv6l1
2012-07-21 22:12:53 +02:00
Antony Lesuisse 3611d585b3 [MERGE] trunk
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
2012-07-21 22:11:23 +02:00
Antony Lesuisse 1f515f7e6f [MERGE] client singleton
bzr revid: al@openerp.com-20120721180941-rkqg6gqml8do49wl
2012-07-21 20:09:41 +02:00
Thibault Delavallée 5729e9c663 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120720143542-i30g07waybug8cts
2012-07-20 16:35:42 +02:00
niv-openerp c73e736db0 [FIX] small problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20120720142023-8a1m5b30yvoywnbs
2012-07-20 16:20:23 +02:00
niv-openerp ec3ff22aed [FIX] rare problem during save
bzr revid: nicolas.vanhoren@openerp.com-20120720141304-dpmw02lx7u2ureia
2012-07-20 16:13:04 +02:00
niv-openerp c9ff048d92 [IMP] debug mode
bzr revid: nicolas.vanhoren@openerp.com-20120720130100-olttd8ovamdtywtt
2012-07-20 15:01:00 +02:00
niv-openerp 52f6f0bd04 [IMP] Changed some "Cancel" buttons to links
bzr revid: nicolas.vanhoren@openerp.com-20120720124430-gbhow8qcipsrieb4
2012-07-20 14:44:30 +02:00
niv-openerp 5759d97daa [IMP] changed place of buttons in relation popups
bzr revid: nicolas.vanhoren@openerp.com-20120720123528-fpskc2r42d06z28r
2012-07-20 14:35:28 +02:00
Thibault Delavallée 284e793936 [IMP] cleditor: removed source link. Updated get_value to be more consistent.
bzr revid: tde@openerp.com-20120720115046-fp0do72zy3cs2p2w
2012-07-20 13:50:46 +02:00
Thibault Delavallée 28b3d3eac4 [IMP] text_html widget: cleaned a bit the code.
bzr revid: tde@openerp.com-20120720113358-y5mt98w1ug9ljbvo
2012-07-20 13:33:58 +02:00
Thibault Delavallée 956011bc09 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120720082055-p04uzdmt8fm0xqne
2012-07-20 10:20:55 +02:00
Launchpad Translations on behalf of openerp ad9f16238d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120720043734-rqxoubj45utde2nb
bzr revid: launchpad_translations_on_behalf_of_openerp-20120720044532-0x70lsjeu7dcpj56
2012-07-20 04:45:32 +00:00
Minh Tran bff386ea36 fixed alignment of 'add to dashboard' button in searchview
bzr revid: mit@openerp.com-20120719160456-vp9hip9f67d1ij84
2012-07-19 18:04:56 +02:00
Minh Tran 3c1dd6c0c2 fixed cursor too close to search icon in searchview
bzr revid: mit@openerp.com-20120719155837-g64bmhzesl7ode8t
2012-07-19 17:58:37 +02:00
Minh Tran bd538220f3 fixed offset of topbar dropdown menu
bzr revid: mit@openerp.com-20120719153605-ivanvuvl3mv88bl3
2012-07-19 17:36:05 +02:00
Minh Tran cf6af909fb fixed visual glitch in topbar dropdown menu
bzr revid: mit@openerp.com-20120719152804-zcxvuaicpzfubdv1
2012-07-19 17:28:04 +02:00
Thibault Delavallée 8a56b182a8 [CLEAN] Removed some unnecessary code and comments.
bzr revid: tde@openerp.com-20120719151154-2u1rni4pxwik21o9
2012-07-19 17:11:54 +02:00
Christophe Simonis dccbf4fa81 [FIX] Client must do the session_bind
bzr revid: chs@openerp.com-20120719111414-ivf6lq2iymws0ytm
2012-07-19 13:14:14 +02:00
Jiten (OpenERP) 4571448bd0 [IMP] Start to improve DB management looks same as other views of apps.
bzr revid: jra@tinyerp.com-20120719102204-3eg2fmjdweouyjxl
2012-07-19 15:52:04 +05:30
Xavier Morel ac5dc58367 [IMP] focus the clicked field when starting a row edition by clicking on a cell
bzr revid: xmo@openerp.com-20120719095742-lps9xjsrvhn5fnlh
2012-07-19 11:57:42 +02:00
Sanjay Gohel (Open ERP) 4ec356892c [IMP]code improvement
bzr revid: sgo@tinyerp.com-20120719095139-6zwcjzs0d12m4wgm
2012-07-19 15:21:39 +05:30
Sanjay Gohel (Open ERP) 7692acdc2c [IMP]statusbar widget improve for stages clickable
bzr revid: sgo@tinyerp.com-20120719091446-qg93k0j6gqlb8udj
2012-07-19 14:44:46 +05:30
Thibault Delavallée 2a268329c5 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120713080041-54367204xp0ypozb
bzr revid: tde@openerp.com-20120713142609-5dmznm8j8pdnr177
bzr revid: tde@openerp.com-20120716083004-h8gibdwvpyvzm74m
bzr revid: tde@openerp.com-20120717075907-omr38xg4lw68j4g1
bzr revid: tde@openerp.com-20120718110900-4r1sjlpksebly5q4
bzr revid: tde@openerp.com-20120719083341-qwmi9ogr0pdsrcfg
2012-07-19 10:33:41 +02:00
Xavier Morel 06104ba553 [FIX] shitty undoc flag so saving a form doesn't forget/miss a row being edited
bzr revid: xmo@openerp.com-20120719082352-pqq02u03fo09rcwe
2012-07-19 10:23:52 +02:00
Raphael Collet 6dc3b76255 [IMP] in dialog box 'Set Default', for many2one fields, show display_name instead of value (id)
bzr revid: rco@openerp.com-20120719081914-lchgb4k409fam1te
2012-07-19 10:19:14 +02:00
Launchpad Translations on behalf of openerp b8129fc2de Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120719044629-d54b2fz9zz2brmfa
bzr revid: launchpad_translations_on_behalf_of_openerp-20120719045354-dkjm64h7hz2zhqqg
2012-07-19 04:53:54 +00:00
Minh Tran 8632675b82 re alignment of dropdown menu
bzr revid: mit@openerp.com-20120718143539-0b1abwzq24f66s50
2012-07-18 16:35:39 +02:00
Christophe Simonis d680c7597f merge upstream
bzr revid: chs@openerp.com-20120718143252-4026zfkh5hcfcpr1
2012-07-18 16:32:52 +02:00
Minh Tran e72f791b13 improved style of kanban vignette dropdown menu
bzr revid: mit@openerp.com-20120718142708-5okzuclspou6khot
2012-07-18 16:27:08 +02:00
Antony Lesuisse be4e0b19a8 [FIX] remove print statements
bzr revid: al@openerp.com-20120718142534-lbanv7do95szh4j5
2012-07-18 16:25:34 +02:00
Antony Lesuisse e0aafd1c5e [FIX] Disable cache middleware for debug mode
bzr revid: al@openerp.com-20120718142235-x4uwzsar7ak6sxgk
2012-07-18 16:22:35 +02:00
Fabien Pinckaers 7778555827 [IMP] mit's improvement
bzr revid: fp@tinyerp.com-20120718140717-ewwl4bhkdtxhqebj
2012-07-18 16:07:17 +02:00
Xavier Morel 03dd20254e [IMP] use 'Save' as label of the button to save an editable list row
bzr revid: xmo@openerp.com-20120718140131-eop88n524hwvrguw
2012-07-18 16:01:31 +02:00
Xavier Morel 9096f2c45c [ADD] reimplement o2m's cancel-on-blur when no alteration has been done by the user to the row being edited (new or not)
bzr revid: xmo@openerp.com-20120718134607-bukj6c5lysmqeer3
2012-07-18 15:46:07 +02:00
Xavier Morel f19e5ff9bc [IMP] don't collapse newlines in list cells
bzr revid: xmo@openerp.com-20120718133712-0pbdahv62rf0nslc
2012-07-18 15:37:12 +02:00
Xavier Morel 85a8641e2c [FIX] cancel edition when deleting a record, so we're not left with a phantom editor for the deleted record on top of an other row
bzr revid: xmo@openerp.com-20120718133115-8cn8wqf1ra8pjrnv
2012-07-18 15:31:15 +02:00
niv-openerp 6001d4fcb4 [FIX] temporarily desactivate commits 2748 & 2747 because there are problems with werkzeug versions
bzr revid: nicolas.vanhoren@openerp.com-20120718132735-t2lg790pl9g4ccgj
2012-07-18 15:27:35 +02:00
Christophe Simonis 5a918cf01d [IMP] session_bind is done by openerp.init(). As result, Clients can have template like any other widget as qweb template are loaded. This make the code cleaner as show_common() does not return a deferred anymore.
bzr revid: chs@openerp.com-20120718131004-gvn63r3ihzxyzvy3
2012-07-18 15:10:04 +02:00
Xavier Morel 65ac59f42a [ADD] when tabbing from the last field in an edition row, go to next edition as if we'd hit [return]
extract common code for 'save current edition and move on to next edition' to a private method

bzr revid: xmo@openerp.com-20120718130751-g8htb78n54z1b9hv
2012-07-18 15:07:51 +02:00
Xavier Morel 0f054b57c1 [IMP] add ability to change row using up/down key while editing list
* Allow asserting state of record being edited (creating or modifying) through Editor#is_editing
* Improve setup_events to also dispatch keydown events

bzr revid: xmo@openerp.com-20120718124359-q0udajwbuhzpqjmi
2012-07-18 14:43:59 +02:00
Xavier Morel 71ede66dce [FIX] handling of @onwrite
extraction was broken: using _.bind/3 will partially apply the
function (first argument) on top of binding it to a context (second
argument), but the partial application will be from the *left* (which
is pretty much the only one making sense, short of kwargs).

handle_onwrite_record took its arguments the wrong way around: the
partially applied one was specified on the right and the "actually
applied" one was on the left, so it used the wrong argument and ended
up blowing up the rest of the code.

bzr revid: xmo@openerp.com-20120718101744-bbbshq60x2kqhob6
2012-07-18 12:17:44 +02:00
niv-openerp aad9ce6416 [IMP] added possibility to only highlight the first line in read only m2o
bzr revid: nicolas.vanhoren@openerp.com-20120718101729-k1rxexdzozy5cx5i
2012-07-18 12:17:29 +02:00
Purnendu Singh (OpenERP) cdec9e9f15 [MERGE] Merge with main web
bzr revid: psi@tinyerp.com-20120718055907-6k33i2t34r38q4ec
2012-07-18 11:29:07 +05:30
Christophe Simonis c7491d99d8 [IMP] web: WebClient and EmbedClient now share some code
bzr revid: chs@openerp.com-20120717160050-a33xw47xais8bv04
2012-07-17 18:00:50 +02:00
niv-openerp 8f247dcab5 [IMP] improved static files delivery
bzr revid: nicolas.vanhoren@openerp.com-20120717145525-hfs15vizjdzdwuht
2012-07-17 16:55:25 +02:00
Minh Tran 7bc0699330 various improvements
bzr revid: mit@openerp.com-20120717144733-jxlf113kuwga98ug
2012-07-17 16:47:33 +02:00
niv-openerp a3aad2fe1c [FIX] some problem with browser caching, now uses Cache-Control: no-cache
bzr revid: nicolas.vanhoren@openerp.com-20120717141354-3dw33sh8oohtbte0
2012-07-17 16:13:54 +02:00
Xavier Morel 01e6e3ec07 [IMP] DOWNCASE ALL THE THINGS
apparently and contrary to what I remembered, we're still supposed to use underscore_separated method names, not camelCase

bzr revid: xmo@openerp.com-20120717132308-wvpldtprt33heee3
2012-07-17 15:23:08 +02:00
Xavier Morel c3368bf2bb [FIX] use native DOM methods to programmatically set focus on an element
jQuery breaks the expected ordering of triggered consequential events
to a focusing (a blur event on the source field, a focus event on the
destination one), which in turn breaks the expectations of the
auto-saving o2m, making the o2m field attempt to auto-save immediately
after having saved a row (via the [Return] key) e.g. create a new row
in a list o2m, press [Return], the widget creates a new empty row and
immediately tries to save it resulting — depending on the view's setup
— in either an empty row being saved or a bunch of fields being marked
as invalid even though the user hasn't done anything yet.

Bypass jquery to avoid this issue.

jQuery tracker ref: http://bugs.jquery.com/ticket/12094

bzr revid: xmo@openerp.com-20120717130251-q2cjoj6rkxh0bvdq
2012-07-17 15:02:51 +02:00
Fabien Pinckaers d4f5d52177 [IMP] remove unused code
bzr revid: fp@tinyerp.com-20120717074428-rx5ats1eie4ct432
2012-07-17 09:44:28 +02:00
Fabien Pinckaers 74bbdf0f6f [IMP] clear separator
bzr revid: fp@openerp.com-20120717065240-l9cdhc1ti34sqkkr
2012-07-17 08:52:40 +02:00
Fabien Pinckaers 7d1d504036 [IMP] remove menu_tips old code
bzr revid: fp@openerp.com-20120717064431-qtn1zooodo71iezt
2012-07-17 08:44:31 +02:00
Fabien Pinckaers 8cd7293033 imp
bzr revid: fp@tinyerp.com-20120716214415-hbhpgqts7t0viu06
2012-07-16 23:44:15 +02:00
Fabien Pinckaers 1eceef8dc1 [IMP] CSS
bzr revid: fp@tinyerp.com-20120716212022-01084sff7foscbx5
2012-07-16 23:20:22 +02:00
Fabien Pinckaers 81386f1428 [IMP] CSS
bzr revid: fp@tinyerp.com-20120716211840-vzy5yga4fwma71jd
2012-07-16 23:18:40 +02:00
Fabien Pinckaers 48c40843ba [IMP] css
bzr revid: fp@tinyerp.com-20120716203552-u1co2og8xsa5xsfh
2012-07-16 22:35:52 +02:00
Fabien Pinckaers be5b557651 [IMP] CSS right align of sums in list footer
bzr revid: fp@tinyerp.com-20120716180750-0soa4w3ui7w03xjm
2012-07-16 20:07:50 +02:00
Fabien Pinckaers 8ef6167ec1 [IMP] breadcrum separator fade, cause lots of sequence have slash in the prefix 'PO/001'
bzr revid: fp@tinyerp.com-20120716173117-znn02l6ida07pt15
2012-07-16 19:31:17 +02:00
Christophe Simonis 9f34b1ebaf [FIX] do not absolutify data uri when merging css files
bzr revid: chs@openerp.com-20120716142918-813sn1z197ily3un
2012-07-16 16:29:18 +02:00
Fabien Pinckaers 402d455f5b [IMP] css
bzr revid: fp@tinyerp.com-20120716111324-xi5x9w0broortnls
2012-07-16 13:13:24 +02:00
Xavier Morel 75c2845fb5 [ADD] default_get support on new row creation
bzr revid: xmo@openerp.com-20120716110430-9uv352m46d3mn1bx
2012-07-16 13:04:30 +02:00
Frédéric van der Essen 6d9cf3fe2d [IMP] point_of_sale: no scrollbar in fullscreen mode
bzr revid: fva@openerp.com-20120716094637-n2mdh94pb147ggc0
2012-07-16 11:46:37 +02:00
Jiten (OpenERP) a14e505845 [MERGE] Merged from trunk.
bzr revid: jra@tinyerp.com-20120716073108-7zlweyipa1u4l1oh
2012-07-16 13:01:08 +05:30
Jiten (OpenERP) 5bba0c8e6b [ADD] Add css and sass file for bounce animation effect.
bzr revid: jra@tinyerp.com-20120716072644-ls2q54fr5o8fjyd7
2012-07-16 12:56:44 +05:30
Jiten (OpenERP) 66d1d0e334 [IMP] Improved code.
bzr revid: jra@tinyerp.com-20120716070523-iim1n7ghl1a0tg6o
2012-07-16 12:35:23 +05:30
Fabien Pinckaers 21832994f9 [IMP] css
bzr revid: fp@openerp.com-20120715123009-evvlbucsex188s7b
2012-07-15 14:30:09 +02:00
Fabien Pinckaers 856ee39450 fix
bzr revid: fp@openerp.com-20120714200142-n8tkm5zyltgxbm25
2012-07-14 22:01:42 +02:00
Fabien Pinckaers 55ecea546b [IMP] layout
bzr revid: fp@openerp.com-20120714165856-wqv4ldiu3y8ovln4
2012-07-14 18:58:56 +02:00
Fabien Pinckaers 734d54a3f5 [IMP] layot
bzr revid: fp@openerp.com-20120714153155-t7j43co12g460fla
2012-07-14 17:31:55 +02:00
Fabien Pinckaers a1adf04114 imp
bzr revid: fp@openerp.com-20120714002056-q6xtj18jpj4fmy0w
2012-07-14 02:20:56 +02:00
Fabien Pinckaers 50f048e0a5 [IMP] subtotal
bzr revid: fp@openerp.com-20120714001607-02vp586jbeeeyjih
2012-07-14 02:16:07 +02:00
Fabien Pinckaers 01d15a2812 [IMP] dialogs
bzr revid: fp@openerp.com-20120714000519-ksf14svlnp6xljri
2012-07-14 02:05:19 +02:00
Fabien Pinckaers 84c2888dde [IMP] layout web, mianly dialogs and improved mit merge
bzr revid: fp@openerp.com-20120713222528-5sflq6ah9redrcry
2012-07-14 00:25:28 +02:00
Fabien Pinckaers 06d6dfcf8a merge
bzr revid: fp@openerp.com-20120713203434-p7z6u5qltl7dxe3f
2012-07-13 22:34:34 +02:00
Antony Lesuisse ccde4ad6af [FIX] declare bus class
bzr revid: al@openerp.com-20120713163621-1a4mj8e01970ks44
2012-07-13 18:36:21 +02:00
Antony Lesuisse d54911358b [MERGE] display the db manager when no db defined
bzr revid: al@openerp.com-20120713162436-gfd89ocleaqhb43h
2012-07-13 18:24:36 +02:00
Antony Lesuisse 51b5b75058 [FIX] fp misindentation
bzr revid: al@openerp.com-20120713150156-b07dd3qeff5xi3em
2012-07-13 17:01:56 +02:00
Antony Lesuisse 71a5c53072 [IMP] allow xml ids for action_id
bzr revid: al@openerp.com-20120713145740-xkwp0hxy7kou61f0
2012-07-13 16:57:40 +02:00
Minh Tran 259dd3147d relooking one2many listview and changed padding in popup
bzr revid: mit@openerp.com-20120713141237-on8z29w5dnh2at2z
2012-07-13 16:12:37 +02:00
Minh Tran 5d669143c3 Restyling of form listview subtotals
bzr revid: mit@openerp.com-20120713134616-rpntccxdiei562u6
2012-07-13 15:46:16 +02:00
Jiten (OpenERP) cabf707734 [ADD] Add comment for used bounce effect.
bzr revid: jra@tinyerp.com-20120713132723-t5f7kv5gak13lks2
2012-07-13 18:57:23 +05:30
Jiten (OpenERP) 3db53edefc [IMP] Improved code to create bounce effect by CSS.
bzr revid: jra@tinyerp.com-20120713130325-q0c6km66nkv2qi7p
2012-07-13 18:33:25 +05:30
Fabien Pinckaers 2b6cce2c7c [IMP] modal dialogs
bzr revid: fp@tinyerp.com-20120713114737-hqieh0oi6nnnbjqh
2012-07-13 13:47:37 +02:00
Ajay Chauhan (OpenERP) 30e9f89663 [IMP] : Update Description for modules
bzr revid: cha@tinyerp.com-20120713113254-e63czzwtjdpnr7ea
2012-07-13 17:02:54 +05:30
Jiten (OpenERP) a7f2511601 [IMP] Improved code.
bzr revid: jra@tinyerp.com-20120713110904-25smebblug0jawx2
2012-07-13 16:39:04 +05:30
Jiten (OpenERP) 7c7d94f002 [IMP] Improve bounce effect to remove auto scroll and remove useless code.
bzr revid: jra@tinyerp.com-20120713101753-95dnac5u3cm3mwhn
2012-07-13 15:47:53 +05:30
Vidhin Mehta (OpenERP) a653612bec [MERGE]trunk.
bzr revid: vme@tinyerp.com-20120713053101-pqehpyph18myn13a
2012-07-13 11:01:01 +05:30
Vidhin Mehta (OpenERP) 37388344d6 [IMP]change color of placeholder.
bzr revid: vme@tinyerp.com-20120713051228-ujbygcchu78y0rm5
2012-07-13 10:42:28 +05:30
Fabien Pinckaers cc42add5bd [IMP] width of dialog boxes
bzr revid: fp@tinyerp.com-20120712170321-8fxzwxrvj56ef5xq
2012-07-12 19:03:21 +02:00
Fabien Pinckaers 51a198357f [merge] trunk-mit + fix dialog
bzr revid: fp@tinyerp.com-20120712165915-ycc8h67315a1k4dm
2012-07-12 18:59:15 +02:00
Fabien Meghazi ded3223288 [FIX] Fixed oe_avatar class bug
bzr revid: fme@openerp.com-20120712164344-ayd0r47oy90vp9st
2012-07-12 18:43:44 +02:00
Fabien Pinckaers 1a4bd20eaf [IMP] width of dialogs
bzr revid: fp@tinyerp.com-20120712164059-drg0h7dovuh3l26c
2012-07-12 18:40:59 +02:00
Fabien Pinckaers 32f49b71ba [FIX] cleaned dialog box design
bzr revid: fp@tinyerp.com-20120712163444-thvd2zqbwxcff4i5
2012-07-12 18:34:44 +02:00
Fabien Meghazi c9f66e1efc [FIX] Bug in action manager. AFAIK, the parent of a ViewManager should be it's ActionManager
The bug could be experienced with action target new (Eg: debug Edit this Form)

bzr revid: fme@openerp.com-20120712163143-s1nbf88lqz011uhi
2012-07-12 18:31:43 +02:00
Fabien Meghazi c6ee8ca196 [MERGE] trunk
bzr revid: fme@openerp.com-20120712155700-q390mzb6q4falplb
2012-07-12 17:57:00 +02:00
Fabien Pinckaers 940f27a449 [IMP] size of kanban columns
bzr revid: fp@tinyerp.com-20120712152635-3lb33yoxyaailakj
2012-07-12 17:26:35 +02:00
Xavier Morel fa0bf42b5c [IMP] casing of names and descriptions of web addons
bzr revid: xmo@openerp.com-20120712152206-1u32dxecbewxqhr0
2012-07-12 17:22:06 +02:00
Fabien Meghazi 048d96fa63 [IMP] Improved jsdoc
bzr revid: fme@openerp.com-20120712150548-w1m47j9op8p46xpy
2012-07-12 17:05:48 +02:00
Fabien Meghazi 279c349344 [IMP] Do not edit in place pushed breadcrumb items
bzr revid: fme@openerp.com-20120712144623-ttfejkrxv7ep4y12
2012-07-12 16:46:23 +02:00
Fabien Meghazi 87cf418d78 [FIX] Fixed loop bug
bzr revid: fme@openerp.com-20120712121246-m16bo4d0cw7o7oz4
2012-07-12 14:12:46 +02:00
Xavier Morel 0c872cf469 [FIX] trailing comma in array literal creates a single undefined element in IE8
bzr revid: xmo@openerp.com-20120712120657-14j2izo6idppq5aq
2012-07-12 14:06:57 +02:00
Xavier Morel 0bccd9be59 [FIX] tests: update jquery link, fix broken searchview test following merge
bzr revid: xmo@openerp.com-20120712115552-7adsu941o3wjtrmr
2012-07-12 13:55:52 +02:00
Fabien Meghazi b4b5321738 [ADD] Added jsdoc
bzr revid: fme@openerp.com-20120712102725-fjd8izjibbbe0ljg
2012-07-12 12:27:25 +02:00
Thibault Delavallée c183ec5e03 [IMP] TextFieldHtml: updated default values for width/height of cleditor.
bzr revid: tde@openerp.com-20120712101607-hbfqhxymwyq9lf2w
2012-07-12 12:16:07 +02:00
Fabien Meghazi 0aaa773395 [REM] Removed useless argument causing problem in case of buggy load_state
bzr revid: fme@openerp.com-20120712095654-32pj8yrwubf2up1w
2012-07-12 11:56:54 +02:00
Fabien Meghazi 76c0b26198 [ADD] Added doc to breadcrumb items callback
bzr revid: fme@openerp.com-20120712095517-itzfdh52fd0zuzi4
2012-07-12 11:55:17 +02:00
Fabien Meghazi bdd6d0e599 [IMP] Use _.defaults
bzr revid: fme@openerp.com-20120712093708-b5p58jzdn8y78xy4
2012-07-12 11:37:08 +02:00
Fabien Meghazi 7bc9127239 [FIX] Hide only last item on push
bzr revid: fme@openerp.com-20120712091756-g8gsmdxuvte9phse
2012-07-12 11:17:56 +02:00
Thibault Delavallée 66c969e326 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120712081614-t1cv6wmisvaeeae4
2012-07-12 10:16:14 +02:00
niv-openerp 30c3919316 [IMP] made tree view nicer
bzr revid: nicolas.vanhoren@openerp.com-20120712074237-xugmbw19wjjoes9l
2012-07-12 09:42:37 +02:00
Vidhin Mehta (OpenERP) fe36f9b221 [IMP]css apply for placeholder.
bzr revid: vme@tinyerp.com-20120712070912-wf8wmq2wd0xv2wwo
2012-07-12 12:39:12 +05:30
Thibault Delavallée 5a0b486e12 [IMP] Cleditor: cleaned default options.
bzr revid: tde@openerp.com-20120711154447-ojklly0whajbte3y
2012-07-11 17:44:47 +02:00
Xavier Morel 43fb6b3ee3 [CHG] require that Widget#attributes be an object if present, not a function
bzr revid: xmo@openerp.com-20120711152558-9jm096g7mowgfvf5
2012-07-11 17:25:58 +02:00
Fabien Meghazi 8c4af1a1d4 [IMP] Improved kanban dropdown
bzr revid: fme@openerp.com-20120711144440-oksivy1kmcmjm2zw
2012-07-11 16:44:40 +02:00
Xavier Morel 35b5732bba [IMP] keep 'save row' button hidden in o2m list
bzr revid: xmo@openerp.com-20120711144327-gyhad79cmd730tb4
2012-07-11 16:43:27 +02:00
Xavier Morel 8812a84ba8 [FIX] don't let [Return] key hit in a text field bubble, or it validates editable list rows
bzr revid: xmo@openerp.com-20120711143213-ug1u98evn6nxhi5r
2012-07-11 16:32:13 +02:00
Xavier Morel ce11683e92 [FIX] re-enable delete button for o2m list items
bzr revid: xmo@openerp.com-20120711142604-9jw3kikvqje8reu6
2012-07-11 16:26:04 +02:00
Xavier Morel 16559cd6ae [ADD] discard 'link-ish' to editable list view
bzr revid: xmo@openerp.com-20120711142048-covvchmiscjlhji0
2012-07-11 16:20:48 +02:00
Xavier Morel 6b907bb4d0 [FIX] can't perform action on a o2m record which is not saved in db, so forbid it.
Also yet-another-shitty-undoc-change to the way widgets and form view communicate

bzr revid: xmo@openerp.com-20120711141402-1x7frd0v3vc3649e
2012-07-11 16:14:02 +02:00
Fabien Meghazi 571648e4cf [WIP] Merge breadcrumb to actionmanager
bzr revid: fme@openerp.com-20120711133830-677ug7jcoz2y1zoe
2012-07-11 15:38:30 +02:00
Jiten (OpenERP) a899b40b59 [IMP] Improved scrolling when scrolltop/scrollleft are not in range for bounce button.
bzr revid: jra@tinyerp.com-20120711133124-j84maefl1b21i2jo
2012-07-11 19:01:24 +05:30
Xavier Morel 9b570343a5 [FIX] handling of clicking on a row for a record being created (and not existing yet)
bzr revid: xmo@openerp.com-20120711131804-u8l2taeq2k1gc5v0
2012-07-11 15:18:04 +02:00
niv-openerp 55f66ab125 [FIX] corrected problem with quick create in m2m kanban
bzr revid: nicolas.vanhoren@openerp.com-20120711130845-w7w7yibjh1smymbg
2012-07-11 15:08:45 +02:00
Fabien Meghazi 7564a0c1b1 [WIP] Renamed dialog_viewmanager to dialog_widget
bzr revid: fme@openerp.com-20120711130525-qpmsh7qtmtbl65xw
2012-07-11 15:05:25 +02:00
Fabien Meghazi 1144a72e14 [WIP] Move view manager addClass to ViewManagerAction#start
bzr revid: fme@openerp.com-20120711130252-i9erdzo93p6siteq
2012-07-11 15:02:52 +02:00
Fabien Meghazi 4f51eac392 [WIP] Removed content_stop()
bzr revid: fme@openerp.com-20120711125511-b5ku6gigunx2csgz
2012-07-11 14:55:11 +02:00
Fabien Meghazi 88a8f5b5bd [WIP] Rename client_widget and inner_viewmanager to inner_widget
bzr revid: fme@openerp.com-20120711124743-subh6412gul0v0k9
2012-07-11 14:47:43 +02:00
Xavier Morel cd02216c28 [FIX] selector for edit-on-click-on-empty-row
bzr revid: xmo@openerp.com-20120711122424-355c6ed4vnmrr69n
2012-07-11 14:24:24 +02:00
Xavier Morel e431cda2d3 [MERGE} from trunk
bzr revid: xmo@openerp.com-20120711112959-tcb9epdfc9frt6ux
2012-07-11 13:29:59 +02:00
Xavier Morel 3efc9c033a [ADD] create new record when clicking on an empty row
bzr revid: xmo@openerp.com-20120711111027-6vtyoxx17fw8dmvc
2012-07-11 13:10:27 +02:00
niv-openerp f419cb8e02 [IMP] customized werkzeug cache handling for static files
bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh
2012-07-11 12:27:13 +02:00
Xavier Morel c0e9d320f3 [ADD] one more styling hook for the exact type of the field rendered in the cell
bzr revid: xmo@openerp.com-20120711101740-8po45qujkny5gk6a
2012-07-11 12:17:40 +02:00
Thibault Delavallée 14946ef758 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120711095636-gq3whaia3vm3n2lx
2012-07-11 11:56:36 +02:00
Thibault Delavallée 7ba80c40a0 [IMP] cleditor: use cleditor instead of cleditor.min.
bzr revid: tde@openerp.com-20120711095612-a6e2yo0t4dqwf62a
2012-07-11 11:56:12 +02:00
Fabien Meghazi 39fe42848b [MERGE] trunk
bzr revid: fme@openerp.com-20120711093835-rfc1u13zncyrf3jh
2012-07-11 11:38:35 +02:00
niv-openerp 9ca07da784 [IMP] made buttons in o2m red
bzr revid: nicolas.vanhoren@openerp.com-20120711081953-7vlui2plb4tk6p1n
2012-07-11 10:19:53 +02:00
Xavier Morel e0a62b4bed [FIX] modifiers handling in list view, add class for readonly fields
bzr revid: xmo@openerp.com-20120711081116-ao854p4ebsgyelp3
2012-07-11 10:11:16 +02:00
Thibault Delavallée 83c041fe9d [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120710123433-5a9721r0yag21ybh
bzr revid: tde@openerp.com-20120711075641-izq3ulv658gmb2v7
2012-07-11 09:56:41 +02:00
Ajay Chauhan (OpenERP) 90aaa0384f [IMP] : improve title & description for modules
bzr revid: cha@tinyerp.com-20120711071240-qa3l60wcisjmu4w3
2012-07-11 12:42:40 +05:30
Jiten (OpenERP) 90eced57d2 [IMP] Improved code for bounce effect on wrong click area.
bzr revid: jra@tinyerp.com-20120711065000-jf3x8xca67jbsdzo
2012-07-11 12:20:00 +05:30
Paramjit Singh Sahota 2a1350bd7a [MERGE] Merged from openerp-web.
bzr revid: psa@tinyerp.com-20120711061408-0isdrpv5lndk04jp
2012-07-11 11:44:08 +05:30
Sanjay Gohel (Open ERP) 5d4518e902 [MERGE]merge with trunk web
bzr revid: sgo@tinyerp.com-20120710092935-2kgg6c5oppwwcwuw
bzr revid: sgo@tinyerp.com-20120711052338-e6b7termi3pij0vt
2012-07-11 10:53:38 +05:30
Fabien Meghazi d17a664875 [WIP] Clean code
bzr revid: fme@openerp.com-20120710164344-pnnvl7ygs7e96pnx
2012-07-10 18:43:44 +02:00
Fabien Meghazi 14c66c7376 [WIP] Refactor again
bzr revid: fme@openerp.com-20120710162913-6gyda8y3e6vu86ph
2012-07-10 18:29:13 +02:00
Xavier Morel 52723ef052 [FIX] monkey around keyboard handling to ensure we don't cancel a cancelled edition or any other such thing.
maybe the form should be explicitly blurred when saved/cancelled?

bzr revid: xmo@openerp.com-20120710143323-fye927s9k455mqls
2012-07-10 16:33:23 +02:00
Xavier Morel 46da3547ca [IMP] move saving a row from per-row buttons to a single global button replacing [Create]
bzr revid: xmo@openerp.com-20120710143228-mqfuaxw894x9khkc
2012-07-10 16:32:28 +02:00
Xavier Morel 5b6df7ebeb [ADD] Collection#pred as well, while we're at it
bzr revid: xmo@openerp.com-20120710131205-voi1nc5rkvewjr2f
2012-07-10 15:12:05 +02:00
Xavier Morel 079e90afbb [ADD] successor method to list collections, to safely get the "next" record in a nested (groupby) context
bzr revid: xmo@openerp.com-20120710123718-kiot6zzji07a4iao
2012-07-10 14:37:18 +02:00
Thibault Delavallée b1f09441cd [REM] TextFieldHemolt: removed debug log.
bzr revid: tde@openerp.com-20120710123401-9dsdg6tvhczan51l
2012-07-10 14:34:01 +02:00
Xavier Morel 611fc6cc4f [FIX] handling of resize event during edition so form fields don't get all fubar
bzr revid: xmo@openerp.com-20120710103557-584hsyats0fdzpo1
2012-07-10 12:35:57 +02:00
Fabien Pinckaers 78967f6a89 [merge] mit
bzr revid: fp@tinyerp.com-20120710101318-72l203bwgba4hkaq
2012-07-10 12:13:18 +02:00
Fabien Pinckaers cbc1ed31b3 [IMP] better form css
bzr revid: fp@tinyerp.com-20120710101205-y0im0xzehzw6jm9p
2012-07-10 12:12:05 +02:00
Fabien Meghazi 5ae60d10df [MERGE] trunk
bzr revid: fme@openerp.com-20120710095847-3ug1vdagysc2licl
2012-07-10 11:58:47 +02:00
Fabien Meghazi 7880aa4beb [IMP] FormView: support for @style of fields
bzr revid: fme@openerp.com-20120710094431-tgsrrnkdyxlulkqt
2012-07-10 11:44:31 +02:00
Sanjay Gohel (Open ERP) 09a63068a2 [IMP]minor imp
bzr revid: sgo@tinyerp.com-20120710092255-00eo11hm33ejhmnc
2012-07-10 14:52:55 +05:30
niv-openerp 24a54675ee [FIX] problem with css classes of view managers
bzr revid: nicolas.vanhoren@openerp.com-20120710091821-qpc49vwq60k1xt3f
2012-07-10 11:18:21 +02:00
niv-openerp f078da8a52 [IMP] make the m2o a little more complex
bzr revid: nicolas.vanhoren@openerp.com-20120710085441-dt2kn4z5rk2482sy
2012-07-10 10:54:41 +02:00
Fabien Meghazi f6d6f85a08 [WIP] breakpoint
bzr revid: fme@openerp.com-20120710083633-ti8s1qg5s0tuhwla
2012-07-10 10:36:33 +02:00
Thibault Delavallée c5c40cb9c9 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120710081244-89j0pryttv7gqdfc
2012-07-10 10:12:44 +02:00
Fabien Pinckaers 2e02a7ab0b [IMP] form css
bzr revid: fp@tinyerp.com-20120710075753-l922o72cghj9f0f3
2012-07-10 09:57:53 +02:00
Fabien Pinckaers 6917d464c9 [IMP] form layout
bzr revid: fp@tinyerp.com-20120710075054-ftlm3g69yrsgni1u
2012-07-10 09:50:54 +02:00
Fabien Pinckaers 597835db3c [IMP] form layout
bzr revid: fp@tinyerp.com-20120710074946-llxeomd8o5e83y9i
2012-07-10 09:49:46 +02:00
Xavier Morel 9568c463b3 [FIX] conflicts between save-on-blur and action buttons in o2m
bzr revid: xmo@openerp.com-20120710073928-riswpz7f9mddqjgf
2012-07-10 09:39:28 +02:00
Fabien Pinckaers fe368d23c8 [IMP] padding between groups in forms
bzr revid: fp@tinyerp.com-20120710073145-l0rmppe2d7mpterz
2012-07-10 09:31:45 +02:00
Minh Tran 3c67b48a2a Improvements to dropdown menu, form view buttons and kanban vignette
bzr revid: mit@openerp.com-20120709170807-f9x3v147bqamg7wd
2012-07-09 19:08:07 +02:00
Minh Tran d6100f371f Changed popup overlay and added style for label in kanban vignette
bzr revid: mit@openerp.com-20120709150257-t50t470tyxmomrt4
2012-07-09 17:02:57 +02:00
niv-openerp ea076e054b [IMP] removed js file arguments in debug mode to ease debugging
bzr revid: nicolas.vanhoren@openerp.com-20120709134516-bd1yabogwoomipkd
2012-07-09 15:45:16 +02:00
niv-openerp b79f9b5807 [FIX] small problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20120709115727-gtxyt4kzg9c7tqot
2012-07-09 13:57:27 +02:00
Xavier Morel 46e511d1f2 [FIX] o2m validation workflow for lists, to match new edition methods
bzr revid: xmo@openerp.com-20120709110426-w6v512ff5dskmr3x
2012-07-09 13:04:26 +02:00
Xavier Morel e9921d62df [FIX] ensures the o2m is correctly saved before activating action buttons, even when a row is being edited
bzr revid: xmo@openerp.com-20120709110112-dgpm1jhb9o2lmweg
2012-07-09 13:01:12 +02:00
Sanjay Gohel (Open ERP) df4a5a580b [IMP]If there is not available db, jump direclty in the db manager view (creation of a db) instead of staying in the login page.
bzr revid: sgo@tinyerp.com-20120709104720-0oi5975lfropyh4w
2012-07-09 16:17:20 +05:30
Anand Patel (OpenERP) 9b936e7e29 [IMP] improve code for bounce effect on non editable form view.
bzr revid: pan@tinyerp.com-20120709104218-tot71riz8bww6itp
2012-07-09 16:12:18 +05:30
Fabien Meghazi 6077308509 [WIP] Pop breadcrumb on mode switch != form
bzr revid: fme@openerp.com-20120709103215-bemcmt5silu5u4je
2012-07-09 12:32:15 +02:00
Thibault Delavallée 73b7c1f8ae [CLEAN] TextFieldHtml: cleaned code (removed debug and comments).
bzr revid: tde@openerp.com-20120709103137-0662p5zbi4ib3zky
2012-07-09 12:31:37 +02:00
Xavier Morel d51c9a8590 [FIX] double-include of ids in the dataset, and double-save in some cases ~/projects/tiny/web/current
on [change] of a listview record, if there was no id on the record
(id=false) we need to add one. But depending how the creation/addition
of the record was done, the id may already have been inserted e.g. by
the formview.

So first check if the record's id is already in the dataset, and add
it if it's not.

bzr revid: xmo@openerp.com-20120709092401-p1in6bvs5e2ptp5p
2012-07-09 11:24:01 +02:00
Paramjit Singh Sahota 2774263ddd [MERGE] Merged from openerp-web.
bzr revid: psa@tinyerp.com-20120709085635-g0tcm7nlqe7wd3n3
2012-07-09 14:26:35 +05:30
Fabien Meghazi f1674f6130 [MERGE] Merge trunk
bzr revid: fme@openerp.com-20120709085405-ba74sedzlmotol5o
2012-07-09 10:54:05 +02:00
Xavier Morel 853c5a70c0 [ADD] 'false' id to newly created records, otherwise format_cell's button rendering blows up
also fix various bits of code looking for an absence of @data-id, so that they look for a false @data-id to match the row of the new record instead

bzr revid: xmo@openerp.com-20120709084652-rt1ffu2ea20scw53
2012-07-09 10:46:52 +02:00
Thibault Delavallée f0ca57ffa2 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120709084330-iq38vblehdq8g5gv
2012-07-09 10:43:30 +02:00
Xavier Morel cd59881b05 [FIX] Editor is not restartable, so don't restart it.
Instead, create a new one at each on_loaded.

Editor is not restartable because the formview wedges itself if its on_loaded is called more than once

bzr revid: xmo@openerp.com-20120709080604-er1l6bn5eespue59
2012-07-09 10:06:04 +02:00
Launchpad Translations on behalf of openerp 4d2255a2b3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708044629-hi6utb4bvynt3rkr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120707051248-jntdabtha4f8hq6f
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708044114-bhzndip4ovw142i5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120709045053-xwfg6fb3w7euf83f
2012-07-09 04:50:53 +00:00
Fabien Pinckaers bd70fe652f merge
bzr revid: fp@openerp.com-20120707071654-bomheifq0v3e6e2k
2012-07-07 09:16:54 +02:00
Minh Tran 0267ed32bb Many improvements
bzr revid: mit@openerp.com-20120706164357-c6p6z3ytoqbhmjjn
2012-07-06 18:43:57 +02:00
Thibault Delavallée 2a382252e8 [WIP] TextHtml field: updated behavior to work in form views (display field value, take into account a modified value).
bzr revid: tde@openerp.com-20120706155113-co8higd2mm1qki00
2012-07-06 17:51:13 +02:00