Antony Lesuisse
27c872cef3
remove CallbackEnabled
...
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind()
it doesnt clutter stack traces anymore. However the fate of this automatic binding
feature remains uncertain.
bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-10 20:34:40 +01:00
Xavier Morel
d3b22ccb36
[FIX] incorrect handling of empty values in m2m listview display
...
bzr revid: xmo@openerp.com-20121109083513-mjpzd01hhuylll4j
2012-11-09 09:35:13 +01:00
Xavier Morel
3a5421309b
[FIX] breakage of m2m (tag) fields in editable (o2m) listviews
...
e.g. quotation form view, "Order Lines" table, add a tax (or more) to
a line, save, then try to edit the line.
Issue: the listview mostly uses a single-level structure for its
display, each record is a trivial map of {name: value}. For the M2O
the expected value can be complex-ish (a name_get which holds all the
interesting stuff) but not so for the m2m.
An m2m value is just a list of ids (Array<Integer>), the list view
would overwrite that with the concatenated name_get strings to get
something kind-of displayable. Except editable serializes the record
it has and passes that as-is to the embedded formview. The
corresponding widget (FieldMany2ManyTags) most definitely does not
expect a big string to be shoved up its fat ass.
So use a different but just as disgusting hack: instead of *replacing*
the ids array with the string, add the string to the record after very
slightly munging the original name, that way the form is happy because
it gets the value it expects, and the Many2Many column can override
_format to use the value of the munged/fake column as "stuff it passes
to whatever is in charge of formatting fields for display" when the
original field is asked for.
NOTE: redundant work is done as every line will do its own name_get,
potentially on the same ids over and over again. Having a
short-lived backend cache may allow not name_get-ing ids we've
already fetched during the same table display...
bzr revid: xmo@openerp.com-20121108145705-uphw76z4q4krcpnl
2012-11-08 15:57:05 +01:00
Fabien Meghazi
225b0c2c2d
[MERGE] trunk
...
bzr revid: fme@openerp.com-20121108091548-enm1aftirkzngld1
2012-11-08 10:15:48 +01:00
Antony Lesuisse
a963bd019a
[MERGE] m2o button
...
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
2012-11-07 16:19:54 +01:00
Fabien Meghazi
f06b78dbf6
[MERGE] trunk
...
bzr revid: fme@openerp.com-20121107091047-uehws6qa3ouaa4fs
2012-11-07 10:10:47 +01:00
niv-openerp
660443885c
[FIX] Problem with list view and some references
...
lp bug: https://launchpad.net/bugs/1071491 fixed
bzr revid: nicolas.vanhoren@openerp.com-20121106153929-8705y9r3u2b27i8u
2012-11-06 16:39:29 +01:00
Xavier Morel
4f52103aa0
[FIX] double html-escaping of group titles in grouped lists (eg analysis)
...
bzr revid: xmo@openerp.com-20121106140519-0qnq934rr44l6kgt
2012-11-06 15:05:19 +01:00
vta vta@openerp.com
83a264ff2b
[FIX] Fixed list view widget as per xmo review.
...
bzr revid: vta@openerp.com-20121106103320-zyon6mzsy9jaafj0
2012-11-06 11:33:20 +01:00
vta vta@openerp.com
3b87df079e
[ADD] Added new widget, Many2OneButton, to view_form.js and view_list.js.
...
bzr revid: vta@openerp.com-20121105130232-rpde2k1ihbquznmg
2012-11-05 14:02:32 +01:00
Fabien Meghazi
2994db89ca
[MERGE] trunk
...
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Divyesh Makwana (Open ERP)
ede1da0a64
[Merge] Merge with trunk.
...
bzr revid: mdi@tinyerp.com-20121102104628-qcf3cgpqgecbqml1
2012-11-02 16:16:28 +05:30
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
niv-openerp
d41219749a
[FIX] pager in m2m does not behave correctly
...
bzr revid: nicolas.vanhoren@openerp.com-20121025091132-zbja03rszs6jiavg
2012-10-25 11:11:32 +02:00
Purnendu Singh (OpenERP)
abd1258be6
[MERGE]
...
bzr revid: psi@tinyerp.com-20121025061549-pfruq62jmmx6qcar
2012-10-25 11:45:49 +05:30
Purnendu Singh (OpenERP)
a10c7b882b
[MERGE] merge with main web
...
bzr revid: psi@tinyerp.com-20121023100528-w5z1yf2yj6cq1edj
2012-10-23 15:35:28 +05:30
Fabien Meghazi
957c187bb1
[IMP] Make 'oe_list_cannot_*' css classes generic
...
bzr revid: fme@openerp.com-20121023095559-63exp0dyf5zsd3qw
2012-10-23 11:55:59 +02:00
Xavier Morel
9bf9ca7a67
[FIX] list view to use View#load_view rather than its own implementation thereof
...
bzr revid: xmo@openerp.com-20121023085329-y01e1u77vfz2n7a9
2012-10-23 10:53:29 +02:00
Fabien Meghazi
6280e223be
[REV] Not my fault afterall.
...
bzr revid: fme@openerp.com-20121022161611-d4gik77mk1fvtojb
2012-10-22 18:16:11 +02:00
Xavier Morel
6972b34029
[REM] stuff in list view, may or may not still work. It's all fme's fault anyway
...
FME MA TUER
bzr revid: xmo@openerp.com-20121022160134-yaze6n43h98c193t
2012-10-22 18:01:34 +02:00
Hiral Patel (OpenERP)
36cc003dc8
[IMP] Remove Uncaught TypeError
...
bzr revid: hip@tinyerp.com-20121019073132-0mk9ty7rttcy0c59
2012-10-19 13:01:32 +05:30
Xavier Morel
b5be361c55
[FIX] various listview issues
...
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +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
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
Xavier Morel
fa1aafa97d
[FIX] in-group pagination of list views
...
bzr revid: xmo@openerp.com-20121017115845-9ch6icjjhrzycj84
2012-10-17 13:58:45 +02:00
Xavier Morel
90fadfa553
[FIX] unbreak group class hierarchy
...
bzr revid: xmo@openerp.com-20121017105948-lr7s57j1pi0oozou
2012-10-17 12:59:48 +02:00
Xavier Morel
e1c548cae3
[FIX] forgotten DataGroup reference
...
bzr revid: xmo@openerp.com-20121017105257-lab5rc7pu9rd80iw
2012-10-17 12:52:57 +02:00
Xavier Morel
71bbb149fb
[MOVE] datagroup to a private ListView API
...
bzr revid: xmo@openerp.com-20121017105213-sfosutg26zg0w2ax
2012-10-17 12:52:13 +02:00
Xavier Morel
8d3fd60178
[REV] reordering broken if widget=handle
...
bzr revid: xmo@openerp.com-20121017102603-w70q44d5h5l1xss7
2012-10-17 12:26:03 +02:00
Xavier Morel
3c8a9159de
[REM] xhr vector
...
bzr revid: xmo@openerp.com-20121017102410-67m598a8e4orsjsc
2012-10-17 12:24:10 +02:00
RGA(OpenERP)
7b41571e32
Merge with trunk
...
bzr revid: rgaopenerp-20121012115527-xn5iqpctzbb9qmkv
2012-10-12 17:25:27 +05:30
Vishmita
15974eb2e0
[IMP]replace callenabled for on_loaded
...
bzr revid: vja@tinyerp.com-20121012114534-qx7y6dzmqkw7t7px
2012-10-12 17:15:34 +05:30
RGA(OpenERP)
f3ac1341e9
[FIX] use .html to ecapse string to human redable html format
...
bzr revid: rgaopenerp-20121005133622-3n20h9sva67ry9p3
2012-10-05 19:06:22 +05:30
ggh-openerp
30069a0239
[IMP]In rpc method remove callback and modify relate code
...
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-10-03 17:58:36 +05:30
Antony Lesuisse
1a369bfd3c
[MERGE] callback2deferred dataset.name_get
...
bzr revid: al@openerp.com-20120930150329-b3j0pmnf7gnxlxzj
2012-09-30 17:03:29 +02:00
Xavier Morel
6159063ae0
[FIX] correctly implement handling of modifiers on buttons in list views
...
bzr revid: xmo@openerp.com-20120928121747-9s78qov8x0zfrbl5
2012-09-28 14:17:47 +02:00
Xavier Morel
6f16fc3df9
[FIX] resolve m2m content to record names in list view
...
bzr revid: xmo@openerp.com-20120928113524-1jw0uj3nccupcjjq
2012-09-28 13:35:24 +02:00
Xavier Morel
d6ba1b61f8
[REV] broken bounce effect on list view [Create] button
...
bzr revid: xmo@openerp.com-20120928105840-gnh0wcrpzdl9rrbb
2012-09-28 12:58:40 +02:00
Vidhin Mehta (OpenERP)
b4c8143480
[IMP]remove callback from name_get function and improve related code.
...
bzr revid: vme@tinyerp.com-20120928065341-uiu3nf7seu5sps53
2012-09-28 12:23:41 +05:30
Jiten (OpenERP)
6652a6096f
[FIX] Remove drag&drop on page view for sequence.
...
bzr revid: jra@tinyerp.com-20120918093449-80zpal2t9qxshr5s
2012-09-18 15:04:49 +05:30
Vishmita
7c8ffe1315
[Fix]Improve code
...
bzr revid: vja@tinyerp.com-20120918071806-da0yjuhby2xd1kqi
2012-09-18 12:48:06 +05:30
Fabien Pinckaers
c7fc374a8e
[IMP] bounce effect on empty list rows
...
bzr revid: fp@openerp.com-20120916204029-m4va0yfwnuqanwm6
2012-09-16 22:40:29 +02:00
Fabien Pinckaers
38a27ea141
[MERGE] bounce on empty lists
...
bzr revid: fp@openerp.com-20120916201609-v7fhzocro8r7vatp
2012-09-16 22:16:09 +02:00
Antony Lesuisse
8c4de3c823
[FIX] tbody list trails in body
...
bzr revid: al@openerp.com-20120914154032-akax8tuyflb03vmy
2012-09-14 17:40:32 +02:00
Paramjit Singh Sahota
e3f1a48b39
[IMP] Improved code.
...
bzr revid: psa@tinyerp.com-20120914114747-524nmsj31axt1gd1
2012-09-14 17:17:47 +05:30
Vishmita
86912a60cd
[FIX]In page view,user shuold not allowed to drag and drop list rows.
...
bzr revid: vja@tinyerp.com-20120913061657-o378iqz4tzaqej33
2012-09-13 11:46:57 +05:30
Paramjit Singh Sahota
61eab323e1
[IMP] Click inside a menu tip, the create must jump for kanban view and list view
...
bzr revid: psa@tinyerp.com-20120912100552-wb5oz8zy6ww0airj
2012-09-12 15:35:52 +05:30
Xavier Morel
5848e72d42
[REM] import from core, moving to module
...
bzr revid: xmo@openerp.com-20120911063607-xvhyjqohptynro30
2012-09-11 08:36:07 +02:00
Xavier Morel
a933c17e54
[FIX] integrate web tests into buildbot runner, fix broken tests
...
* Remove deprecated tests and dead code
* Fix usage of mock
* Moar fixes
bzr revid: xmo@openerp.com-20120910105129-rxh3jqwkewh65rl3
2012-09-10 12:51:29 +02:00
Minh Tran
60ba6f83bf
merge from trunk
...
bzr revid: mit@openerp.com-20120906145110-l9sndgilivxo0on1
bzr revid: mit@openerp.com-20120906145326-8ykppthhs25xo5d4
2012-09-06 16:53:26 +02:00