Commit Graph

1167 Commits

Author SHA1 Message Date
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
Thibault Delavallée 4bc3bde860 [MERGE] OpenChatter 5.Pi "Stylin' in the rain", with a better Chatter widget, CSS and behavior.
This web-side revision brings a new web widget for attachments, in order to upload one or more file in same time and display them as a list. Files deletion is supported. The blockui option allows to block the UI while the file is uploaded.

bzr revid: tde@openerp.com-20121029144755-7xibc7a3ndmby898
2012-10-29 15:47:55 +01:00
Christophe Matthieu 7371f63bd0 [IMP] view form: one2many_binary, css like chatter attachment
bzr revid: chm@openerp.com-20121029105947-67lynhgjmbadvb3k
2012-10-29 11:59:47 +01:00
Christophe Matthieu aff07e0ce3 [MERGE] from trunk-openchatter-DOM-chm
bzr revid: chm@openerp.com-20121029093405-h51kfl4zgak6vcex
2012-10-29 10:34:05 +01:00
Christophe Matthieu 0bc02689c0 [IMP] web field: one2many binary, suppress set_value
bzr revid: chm@openerp.com-20121029093236-mopw9szg6go3ox41
2012-10-29 10:32:36 +01:00
Thibault Delavallée 90e0243f1a [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20121029092547-u03gj7y066dtrf73
2012-10-29 10:25:47 +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
Christophe Matthieu 415f519cd8 [MERGE] from trunk
bzr revid: chm@openerp.com-20121026140412-wfwl9ze4s8pzs9sg
2012-10-26 16:04:12 +02:00
Christophe Matthieu 00bfec86ab [IMP] form view: FieldBinaryFileUploader modify
bzr revid: chm@openerp.com-20121026135834-ygs25fjfmeh3tte8
2012-10-26 15:58:34 +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
Christophe Matthieu 9fe8d72078 [IMP] base: widget one2many_binary
bzr revid: chm@openerp.com-20121024122700-k1ycsuyejmh9gqc9
2012-10-24 14:27:00 +02:00
Christophe Matthieu fbd53c418e [IMP] view_form: suppress wrong console.log
bzr revid: chm@openerp.com-20121024092542-q9aogx9sefb65jr1
2012-10-24 11:25:42 +02:00
Christophe Matthieu 029b52a548 [IMP] view_form: add widget for uploading files : one2many_binary
bzr revid: chm@openerp.com-20121024091421-axuv93cnycdad3b7
2012-10-24 11:14:21 +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