Commit Graph

1170 Commits

Author SHA1 Message Date
Fabien Meghazi 2994db89ca [MERGE] trunk
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Xavier Morel 72a447bd95 [FIX] tabbing out of an m2o which opens some sort of weird dialog thing while in an editable o2m
The tab blurs the current fields, focuses the next one, then the
dialog thing opens and steals the focus from the *next* field (not the
one which created it), which thus triggers *blur* ultimately blurring
(and saving) the row being edited.

Add a trigger call in some random place which seems to make things not
fail.

bzr revid: xmo@openerp.com-20121102141348-5au6sarq0mw2ct67
2012-11-02 15:13:48 +01:00
niv-openerp 00fc09890b temporary revert of 3331
bzr revid: nicolas.vanhoren@openerp.com-20121031150324-dxlhh3wxhob8numi
2012-10-31 16:03:24 +01:00
niv-openerp 1622caae27 Changed the onchange handling to be async
bzr revid: nicolas.vanhoren@openerp.com-20121031143036-eventomyjpwgalxb
2012-10-31 15:30:36 +01:00
niv-openerp 95131d6fa9 [merge trunk]
bzr revid: nicolas.vanhoren@openerp.com-20121031141717-5qkawv50b0w2kdry
2012-10-31 15:17:17 +01:00
Xavier Morel 2ea22c5234 [FIX] first field of editable list o2ms not showing their content
Bug introduced in xmo@openerp.com-20121019100725-izotstggoxpfjk6k (and
xmo@openerp.com-20121022103935-78bm40gfotpt1ds6 to the extent that in
the former the cell would disappear altogether and in the latter its
content would be blanked out).

As it was the last 15 times I made this mistake, adding a "!" before
an `instanceof` call and forgetting parens just negates the object
(first argument to `instanceof`), not the whole expression, and thus
the expression is *always false* (the result of !a is a `boolean`
primitive, and `primitive instanceof ObjectType` is always false)

bzr revid: xmo@openerp.com-20121031103233-9qw40l6m2vy0l3m1
2012-10-31 11:32:33 +01:00
niv-openerp 8a12c46307 [IMP] added commit_value()
bzr revid: nicolas.vanhoren@openerp.com-20121030155313-g2cx14h4rl6zks6z
2012-10-30 16:53:13 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Fabien Pinckaers 11a8170b56 [IMP] html fields with 100%
bzr revid: fp@tinyerp.com-20121026164327-xh3gwp96lpysq9hm
2012-10-26 18:43:27 +02:00
niv-openerp f2c5b7f599 [IMP] avoid propagation of context when clicking on a readonly m2o (could cause problems)
bzr revid: nicolas.vanhoren@openerp.com-20121026100011-inuk0tzz5cxw7dtr
2012-10-26 12:00:11 +02:00
niv-openerp 1daf770604 [IMP] Added a way to create something in a m2m
bzr revid: nicolas.vanhoren@openerp.com-20121025083509-7b0vybaa4qgyg0g2
2012-10-25 10:35:09 +02:00
niv-openerp 3fb6204e5f [IMP] remove unused code in form view
bzr revid: nicolas.vanhoren@openerp.com-20121025074935-6expqc0stsvbo1ft
2012-10-25 09:49:35 +02:00
niv-openerp cdb0601417 got it
bzr revid: nicolas.vanhoren@openerp.com-20121023125957-lfs7yogbygw2uz4a
2012-10-23 14:59:57 +02:00
niv-openerp 94bc60b310 reverted changes to o2m
bzr revid: nicolas.vanhoren@openerp.com-20121023125213-d7nc1282zmbvk72a
2012-10-23 14:52:13 +02:00
niv-openerp bb22e231ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121023124321-cmd2jtnslyk30mr7
2012-10-23 14:43:21 +02:00
niv-openerp 8d92a33443 [FIX] corrected the field reference
bzr revid: nicolas.vanhoren@openerp.com-20121023124042-u5yfvylxy7a2clfv
2012-10-23 14:40:42 +02:00
niv-openerp 8e7ec09749 m
bzr revid: nicolas.vanhoren@openerp.com-20121022161516-4g9wg1a3fv0r7t12
2012-10-22 18:15:16 +02:00
niv-openerp 3b5b24b72e [FIX] m2o switches correctly its button
bzr revid: nicolas.vanhoren@openerp.com-20121022161426-1oqwa8e3n6kh7pba
2012-10-22 18:14:26 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
niv-openerp 1da06f3bfe [FIX] better fix for previous m2m kanban problem
bzr revid: nicolas.vanhoren@openerp.com-20121022144021-h1oqgb0d0h6aepfl
2012-10-22 16:40:21 +02:00
Fabien Meghazi a1364bde20 [FIX] m2m kanban use it's own value as is in order to fill dataset.ids
bzr revid: fme@openerp.com-20121022142459-9so19ypfwhxwhuc3
2012-10-22 16:24:59 +02:00
Xavier Morel 8a3a92bbfc [IMP] readonly sortable o2m
The making of the column invisible would happen after the header was
rendered (?), and the header would not be re-rendered afterwards. So
there would be a missing chunk of table. Make the cells invisible
instead. It's all going to be changed looks-wise anyway so meh.

bzr revid: xmo@openerp.com-20121022103935-78bm40gfotpt1ds6
2012-10-22 12:39:35 +02:00
Xavier Morel a060b1400b [FIX] SelectCreatePopup: append search view at the right position in the DOM
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.

bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Xavier Morel 3be621b9bc [IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
* Technically this is done by the the setup_reseq override

* the filtering added to FieldOne2Many is for UI improvement

bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Fabien Meghazi 6e04399945 [FIX] m2o#focus() does nothing when readonly
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel 4223b1e786 [IMP] add overridable dimension-setting method on form fields
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi adb172b7cb [IMP] Binary fields, use html5 api if available
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
Xavier Morel 6782c33a32 [FIX] only reload m2m listview once after adding n records to it (via dialog)
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.

For m2m, can wait and do a single reload so do that.

bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 98431bccd9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com 1e70837161 [FIX] Fixed on_loaded in all different views.
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
vta vta@openerp.com 8b4580ea86 [FIX] Fixed on_loaded in Menu and Search.
bzr revid: vta@openerp.com-20121018085028-d0ww48el2jwmtcpg
2012-10-18 10:50:28 +02:00
vta vta@openerp.com bd049325f0 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015095120-slieowls1jkkeguj
bzr revid: vta@openerp.com-20121018070252-l2r83wkj5mfuu5y0
2012-10-18 09:02:52 +02:00
Antony Lesuisse b85b32fb2b [IMP] form view set default show invisible fields in conditions
bzr revid: al@openerp.com-20121017142835-a6jdps82it12y03b
2012-10-17 16:28:35 +02:00
niv-openerp 73950424bb [FIX] removed dirty hack to put buttons in footer of dialogs with an official dirty feature
bzr revid: nicolas.vanhoren@openerp.com-20121016125627-vevqllvshay5fpv4
2012-10-16 14:56:27 +02:00
niv-openerp 18a4297544 [MERGE] Modified Form Fields to able to set their value before they are rendered
bzr revid: nicolas.vanhoren@openerp.com-20121016123559-g3gjf73uzqz4u1xv
2012-10-16 14:35:59 +02:00
niv-openerp 886e1fcdd9 [FIX] put back old behavior about save and readonly fields in form view
bzr revid: nicolas.vanhoren@openerp.com-20121016123101-huzasphtqujf87b3
2012-10-16 14:31:01 +02:00
niv-openerp ebe002fb42 Merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121015091656-5x8nxy3116y3q7jd
bzr revid: nicolas.vanhoren@openerp.com-20121016084001-mqzq3blhb78t9e7o
2012-10-16 10:40:01 +02:00
niv-openerp 3db503e423 [IMP] Now form view relation popups use $buttons.
bzr revid: nicolas.vanhoren@openerp.com-20121015132444-v3379ccn5xau8220
2012-10-15 15:24:44 +02:00
vta vta@openerp.com 68cf1f2d6a [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015082458-rudm5r0718ky7829
2012-10-15 10:24:58 +02:00
vta vta@openerp.com 76fe889331 [FIX] Fixed some small issues concerning event triggering.
bzr revid: vta@openerp.com-20121015075320-2zgo32vy5fengm7b
2012-10-15 09:53:20 +02:00
vta vta@openerp.com c6dfd8afc1 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015071605-jgupguux9p1aavdm
2012-10-15 09:16:05 +02:00
niv-openerp 0c1b8b5a4c Fix problem with focus called before the field is started
bzr revid: nicolas.vanhoren@openerp.com-20121012145143-oooxbdovspsjcxfk
2012-10-12 16:51:43 +02:00
niv-openerp 0bd69bd176 Corrected some more problems with is_syntax_valid()
bzr revid: nicolas.vanhoren@openerp.com-20121012144352-jejnnpu18otgrnvp
2012-10-12 16:43:52 +02:00
niv-openerp e3b7890ac3 fixed bug with datetimes
bzr revid: nicolas.vanhoren@openerp.com-20121012144037-u29a479c1oa4b3bw
2012-10-12 16:40:37 +02:00
vta vta@openerp.com 49c1c88962 [FIX] Fixed naming related to selected_elements.
bzr revid: vta@openerp.com-20121012131044-w4afp0shefzwlo7t
2012-10-12 15:10:44 +02:00
niv-openerp 0ec666932c merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121012130433-sf6ogoc7odu2yrnh
2012-10-12 15:04:33 +02:00
niv-openerp 5f4e81d2bb Corrected multiple rendering problem in m2o
bzr revid: nicolas.vanhoren@openerp.com-20121012125620-h2pgav1nyj5tpq2z
2012-10-12 14:56:20 +02:00
vta vta@openerp.com db64cf7097 [FIX] Fixed naming related to datetime widget changes.
bzr revid: vta@openerp.com-20121012130140-a1nzawstkgy8a9lx
2012-10-12 15:01:40 +02:00