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
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
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
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
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
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
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
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
Christophe Simonis
d680c7597f
merge upstream
...
bzr revid: chs@openerp.com-20120718143252-4026zfkh5hcfcpr1
2012-07-18 16:32:52 +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
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
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
Minh Tran
7bc0699330
various improvements
...
bzr revid: mit@openerp.com-20120717144733-jxlf113kuwga98ug
2012-07-17 16:47:33 +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