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
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
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
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
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
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
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
Fabien Meghazi
a3b2a4e997
[FIX] Project->Project (members) m2m kaban doesnt work when empty, cannot add items
...
bzr revid: fme@openerp.com-20120711091431-3i652r0zb1s0n006
2012-07-11 11:14:31 +02:00
Xavier Morel
af5cd045f2
[DOC] doc
...
bzr revid: xmo@openerp.com-20120711085926-dnsdnqmrd1tvl2oo
2012-07-11 10:59:26 +02:00
niv-openerp
a30ab501a2
[FIX] shitty element hiding in kanban view
...
bzr revid: nicolas.vanhoren@openerp.com-20120711085545-6bk3ypnn5ffox5ot
2012-07-11 10:55:45 +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
Launchpad Translations on behalf of openerp
6cbb04758a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711051515-k67xt5ps6oe853qg
2012-07-11 05:15:15 +00:00
Launchpad Translations on behalf of openerp
baa0accf76
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711051446-bcpkjpszuy1qdug2
2012-07-11 05:14:46 +00:00
Fabien Pinckaers
b8593b72cd
[IMP] putting all <header> of wizards as <footer>
...
bzr revid: fp@tinyerp.com-20120710170353-mx377ox2063uhijd
2012-07-10 19:03:53 +02:00
Fabien Pinckaers
64a9321d56
[IMP] footer on forms
...
bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts
2012-07-10 18:40:11 +02:00
Fabien Pinckaers
7ddb499378
imp
...
bzr revid: fp@tinyerp.com-20120710152834-39ndcvenoiq6ky1e
bzr revid: fp@tinyerp.com-20120710162952-56ryepyzpyltwi6c
2012-07-10 18:29:52 +02:00
Fabien Pinckaers
3de5a56fd5
[IMP] new wizard style
...
bzr revid: fp@tinyerp.com-20120710162921-kxlxfevs926820ah
2012-07-10 18:29:21 +02:00
Fabien Pinckaers
d34ba5f4a8
[merge] trunk-mit
...
bzr revid: fp@tinyerp.com-20120710161557-yqyhqumwyduitvdf
2012-07-10 18:15:57 +02:00
Fabien Pinckaers
1ccfc54191
merge
...
bzr revid: fp@tinyerp.com-20120710161529-cf2qi4xspgfhmv1f
2012-07-10 18:15:29 +02:00
Fabien Pinckaers
9add680fd5
[merge] trunk-it
...
bzr revid: fp@tinyerp.com-20120710153929-pllk5g81gfnzzzgl
2012-07-10 17:39:29 +02:00
Fabien Pinckaers
cdd0cba407
improved form partner
...
bzr revid: fp@tinyerp.com-20120710153907-jly8bpnsc4cbaubt
2012-07-10 17:39:07 +02:00
Minh Tran
ca89b972c3
Restyling of labels in the kanban vignette
...
bzr revid: mit@openerp.com-20120710150313-m4q9j9o82mzwdwim
2012-07-10 17:03:13 +02:00
Minh Tran
2d9afec3ce
Removed the dot between kanban vignette labels
...
bzr revid: mit@openerp.com-20120710145720-ffyadv9ky0l4rwz7
2012-07-10 16:57:20 +02:00
niv-openerp
ece36066ce
[FIX] typo in mail.js
...
bzr revid: nicolas.vanhoren@openerp.com-20120710145023-uqh8h8p2dbbfj6h9
2012-07-10 16:50:23 +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
Quentin (OpenERP)
d572f1b271
[MERGE] tools usability branch
...
bzr revid: qdp-launchpad@openerp.com-20120710123939-05x9b7ovum74uaju
2012-07-10 14:39:39 +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
Quentin (OpenERP)
027974aeb8
[MERGE] trunk
...
bzr revid: qdp-launchpad@openerp.com-20120710110829-5hglgryc6d0az6b4
2012-07-10 13:08:29 +02:00
Quentin (OpenERP)
16191491eb
[IMP] tools: usability, review of form views
...
bzr revid: qdp-launchpad@openerp.com-20120710110740-rj2820hn4w9hmxdj
2012-07-10 13:07:40 +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
0b42751a4b
merge
...
bzr revid: fp@tinyerp.com-20120710101833-vimka15w19awthdf
2012-07-10 12:18:33 +02:00
Fabien Pinckaers
1f51ed729d
merge_trunk
...
bzr revid: al@openerp.com-20120625085138-17e2u57wb00egm8h
bzr revid: fp@tinyerp.com-20120710101707-k4sghhqb9u98by19
2012-07-10 12:17:07 +02:00
Fabien Pinckaers
88fc0faca8
erge_trunk
...
bzr revid: fp@tinyerp.com-20120710101601-37s50b9m4obx3tyq
2012-07-10 12:16:01 +02:00
Fabien Pinckaers
147381810c
[Merge] mit
...
bzr revid: fp@tinyerp.com-20120710101530-8ae6yrg1wanhx43q
2012-07-10 12:15:30 +02:00
Fabien Pinckaers
faa6046d4c
[Merge] trunk
...
bzr revid: fp@tinyerp.com-20120710101343-xyipu54vd9gtq4c5
2012-07-10 12:13:43 +02:00
Fabien Pinckaers
78967f6a89
[merge] mit
...
bzr revid: fp@tinyerp.com-20120710101318-72l203bwgba4hkaq
2012-07-10 12:13:18 +02:00