Commit Graph

380 Commits

Author SHA1 Message Date
Vidhin Mehta (OpenERP) ef30bed827 [FIX]use this.options. for show parent class.
bzr revid: vme@tinyerp.com-20121127052653-6l366vviftbdamkp
2012-11-27 10:56:53 +05:30
Hiral Patel (OpenERP) be4047ff1b [IMP] The bounce effect is too fast everywhere, slow it down a little bit
bzr revid: hip@tinyerp.com-20121123121745-rmi0wnmzmfq6nx9z
2012-11-23 17:47:45 +05:30
Vidhin Mehta (OpenERP) 74bb901030 [FIX]List view try to display show hidden element's child element.
lp bug: https://launchpad.net/bugs/1081083 fixed

bzr revid: vme@tinyerp.com-20121122120008-dz5wy1jbh93tdken
2012-11-22 17:30:08 +05:30
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
Xavier Morel 0d85c24ae3 [MERGE] from trunk, fix/adapt some tests
bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld
2012-11-16 11:08:40 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Xavier Morel 9fcde05168 [FIX] clicking on checkbox (boolean field) of list view should correctly trigger whatever the row action is
replaced @disabled checkboxes for boolean fields by @readonly + alpha
(50%), as disabled input do not generate *any* event. Not default
action (of course) but not e.g. a click either, whether delegated or
bound directly on the element, there's no way at all to see if e.g. a
user has clicked on a disabled checkbox or radio.

lp bug: https://launchpad.net/bugs/1013569 fixed

bzr revid: xmo@openerp.com-20121113131806-7fhog1f96gxnjr67
2012-11-13 14:18:06 +01:00
Xavier Morel 22edf6193d [FIX] listview display when action button deletes the corresponding record
if a record has disappeared between activating a button and refreshing
the record, remove it from the list view

lp bug: https://launchpad.net/bugs/1042718 fixed

bzr revid: xmo@openerp.com-20121113104407-n924vinluqfdtesf
2012-11-13 11:44:07 +01:00
Fabien Meghazi 40734fc4c4 [FIX] Third part of bug#1077858 : Error in list view when displaying non saved o2m item with binary field
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112172541-n312hzvsqcr78jeh
2012-11-12 18:25:41 +01:00
Fabien Meghazi cd4c3c61ff [FIX] Listview does not handle base64 value for binary fields
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112171128-a1aoq2q4fma6fpxc
2012-11-12 18:11:28 +01:00
Fabien Meghazi a0c3b3664a [FIX] Fixes first part of bug#1077858
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112155332-eshqtkk5grn22tqm
2012-11-12 16:53:32 +01:00
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
Xavier Morel 04282ff00e [IMP] port search test to new framework, add handling of web.{submodule} dependencies
bzr revid: xmo@openerp.com-20121026084543-fobkc3ta5q2jc3q6
2012-10-26 10:45:43 +02: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
Raphael Collet b339be1450 [MERGE] trunk-access-ui-jam (hide buttons or disable actions to create/edit/delete that are not permitted to user)
bzr revid: rco@openerp.com-20120905093859-oh1udej3kgyghudy
2012-09-05 11:38:59 +02:00
Raphael Collet 13e10079b1 [IMP] web: improve code formatting, more
bzr revid: rco@openerp.com-20120904151824-0z51u2cavjtzqpzd
2012-09-04 17:18:24 +02:00
Raphael Collet d6dc264ea2 [IMP] web, web_diagram: improve code formatting
bzr revid: rco@openerp.com-20120904145017-qw6n8clak9byw1w3
2012-09-04 16:50:17 +02:00
Raphael Collet 14e87c09f3 [IMP] rename method _is_action_enabled to is_action_enabled
bzr revid: rco@openerp.com-20120904141155-288vwhonbt07dfcs
2012-09-04 16:11:55 +02:00
Xavier Morel b4e20f0c14 [IMP] use list.Column's parsed (and potentially altered) modifiers to generate the edition form view
This way, listview 'widgets' can alter the modifiers object and influence the corresponding form widget

bzr revid: xmo@openerp.com-20120904115627-v626hcb9o0s7bcrp
2012-09-04 13:56:27 +02:00
Xavier Morel 58a5e1c013 [FIX] reversal of aggregate function and title when extracted Column objects
bzr revid: xmo@openerp.com-20120904110422-zgk7icj5lgygnvpo
2012-09-04 13:04:22 +02:00
Raphael Collet b203377994 [IMP] in list views: hide drag-n-drop handle and trash can with css classes
bzr revid: rco@openerp.com-20120904074145-5mefinpkz0pl0qyb
2012-09-04 09:41:45 +02:00
Raphael Collet 3e5c6a4d95 [IMP] fix code spacing and indentation
bzr revid: rco@openerp.com-20120831153758-3l46jbvtifix5s9v
2012-08-31 17:37:58 +02:00
Minh Tran 16773839a4 Styling of group header in listview group by
bzr revid: mit@openerp.com-20120830130524-3szsbr80dltbenzm
2012-08-30 15:05:24 +02:00
Jigar Amin - OpenERP 548672a2c3 merge lp:openerp-web
bzr revid: jam@tinyerp.com-20120827044256-engs2hibz5x5fnwh
2012-08-27 10:12:56 +05:30
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
Jigar Amin - OpenERP 0f364e1acd [IMP] removed Import action if create = false
bzr revid: jam@tinyerp.com-20120820104055-mgw4y5csa31poa33
2012-08-20 16:10:55 +05:30
Jigar Amin - OpenERP e0ba6465ea [MEGRE] lp:openerp-web
bzr revid: jam@tinyerp.com-20120816041219-xjdh003bs6zmc62h
2012-08-16 09:42:19 +05:30
Christophe Simonis 63e4d9b572 [IMP] sed -i '' -e 's/connection/session/g'
bzr revid: chs@openerp.com-20120814152900-8r84kyz0qy1hwkvz
2012-08-14 17:29:00 +02:00
Jigar Amin - OpenERP 9c04845999 [IMP] Addded the common view attrib check method for the access ui support
bzr revid: jam@tinyerp.com-20120814133242-y7ofa6oy59gj0uj4
2012-08-14 19:02:42 +05:30
Jigar Amin - OpenERP 076fdb0994 [IMP] views should show the button create/edit/delete/duplicate on the view tag create/edit/delete attributes
bzr revid: jam@tinyerp.com-20120814130821-ret2z62dsthle39p
2012-08-14 18:38:21 +05:30
Xavier Morel 5c225be25e [FIX] split formatting of list cells to formatting objects
simpler to override in order to have new list field widgets

bzr revid: xmo@openerp.com-20120808103404-jj6w04x2mp2lrwl1
2012-08-08 12:34:04 +02:00
Xavier Morel f92a925ec8 [CHG] resequence on arbitrary field with @widget=handle
bzr revid: xmo@openerp.com-20120807134343-ch16bcp5s7goqxsl
2012-08-07 15:43:43 +02:00
Xavier Morel 741a1541da [FIX] action button on row being *created* in editable list view
Altered action button workflow:

* Action callback (passed to ``do_button_action``) now *takes* a
  record id instead of closing over it, in case the original list does
  not have an id to start with
* ``handle_button`` partially applies the id *it* got to the callback
  via ``_.bind``
* Editable list view override of ``do_button_action`` uses ``id`` it
  got from ``ensure_saved`` in case it got id=false in

bzr revid: xmo@openerp.com-20120807092317-wk0xyfzrhxc89t94
2012-08-07 11:23:17 +02:00
Xavier Morel 44b662b5bb [IMP] merge group count into group title in grouped list, as requested by al
bzr revid: xmo@openerp.com-20120806080846-w4r7t84gbpf9o47o
2012-08-06 10:08:46 +02:00
Xavier Morel ff801ce499 [FIX] trailing comma in array literal (creates 'undefined' element in some browsers e.g. IE8)
bzr revid: xmo@openerp.com-20120806075822-az334r7zqf0fljpv
2012-08-06 09:58:22 +02:00
Fabien Pinckaers deeb7a7049 [IMP] better menutips, optional create arrow
bzr revid: fp@openerp.com-20120804151059-f2tot2d2di2k72xu
2012-08-04 17:10:59 +02:00
Xavier Morel fcdf6690b4 [REM] unused (and pretty much useless) row parity classes in listview
bzr revid: xmo@openerp.com-20120726155742-sgvx3dgr4zl5gnvn
2012-07-26 17:57:42 +02:00
niv-openerp 66a7dc6359 [IMP] customized pager of list view
bzr revid: nicolas.vanhoren@openerp.com-20120726123259-ffeg8342bcbgal8o
2012-07-26 14:32:59 +02:00
Antony Lesuisse c59c7f3237 [FIX] listview dont show sidebar by default
bzr revid: al@openerp.com-20120726092618-atzkidy1gpd25n6w
2012-07-26 11:26:18 +02:00
Xavier Morel 38cb3de518 [FIX] attempt to make editability handling more logical and simpler to manage.
Also less buggy, with a bit o' luck

bzr revid: xmo@openerp.com-20120724170550-150vimuk6bvzh8y8
2012-07-24 19:05:50 +02:00
Antony Lesuisse 07fb6d88b9 [MERGE] trunk
bzr revid: al@openerp.com-20120723173450-2yxayvyoiiiw9tcw
2012-07-23 19:34:50 +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
Fabien Pinckaers 856ee39450 fix
bzr revid: fp@openerp.com-20120714200142-n8tkm5zyltgxbm25
2012-07-14 22:01:42 +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 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
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
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
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
Xavier Morel 9568c463b3 [FIX] conflicts between save-on-blur and action buttons in o2m
bzr revid: xmo@openerp.com-20120710073928-riswpz7f9mddqjgf
2012-07-10 09:39:28 +02:00
Xavier Morel d51c9a8590 [FIX] double-include of ids in the dataset, and double-save in some cases ~/projects/tiny/web/current
on [change] of a listview record, if there was no id on the record
(id=false) we need to add one. But depending how the creation/addition
of the record was done, the id may already have been inserted e.g. by
the formview.

So first check if the record's id is already in the dataset, and add
it if it's not.

bzr revid: xmo@openerp.com-20120709092401-p1in6bvs5e2ptp5p
2012-07-09 11:24:01 +02:00
Xavier Morel 853c5a70c0 [ADD] 'false' id to newly created records, otherwise format_cell's button rendering blows up
also fix various bits of code looking for an absence of @data-id, so that they look for a false @data-id to match the row of the new record instead

bzr revid: xmo@openerp.com-20120709084652-rt1ffu2ea20scw53
2012-07-09 10:46:52 +02:00
niv-openerp fa5ef483d5 [IMP] added exception in list view when trying to group on a field not declarer in the list view
bzr revid: nicolas.vanhoren@openerp.com-20120703155540-0sp4m80yqa9r4ati
2012-07-03 17:55:40 +02:00
Xavier Morel 4aa64c0033 [FIX] removal of id-less records from list view
bzr revid: xmo@openerp.com-20120703091257-3dw0qs9aw125hrc7
2012-07-03 11:12:57 +02:00
niv-openerp a9e48f1571 [FIX] hide the "or Import" in many list views
bzr revid: nicolas.vanhoren@openerp.com-20120702160951-czrvcybdrrjqj84y
2012-07-02 18:09:51 +02:00
Xavier Morel 6719fb96d7 [FIX] handling of setting/resetting ids on records in list collections
bzr revid: xmo@openerp.com-20120702122902-f349shdjslbbxd3k
2012-07-02 14:29:02 +02:00
Xavier Morel d6a9d86e09 [FIX] change event handling for 'new' records (records w/o an id yet)
bzr revid: xmo@openerp.com-20120702111026-twmh5gbg4i1fd4kj
2012-07-02 13:10:26 +02:00
Xavier Morel 718ae91920 [FIX] broken implementation of collection#find
bzr revid: xmo@openerp.com-20120702110504-9fga0xwo0e5bzq1c
2012-07-02 13:05:04 +02:00
Fabien Meghazi d70a606f40 [IMP] List pager limit selector triggers change on blur
bzr revid: fme@openerp.com-20120628150215-rmluhv93jy8cbnj0
2012-06-28 17:02:15 +02:00
Xavier Morel f83684265d [FIX] make edition of existing records kinda-sorta work (if the record is 'saved' by clicking on an other one)
bzr revid: xmo@openerp.com-20120628141403-z8kdg24xy5thmg50
2012-06-28 16:14:03 +02:00
Fabien Meghazi 352efe8a99 [FIX] Fixed list pager state when Unlimited is selected
bzr revid: fme@openerp.com-20120628094745-2rbxz81u1kgka2fc
2012-06-28 11:47:45 +02:00
Fabien Meghazi 5d343c4e5e [IMP] Support for @class in views definitions
bzr revid: fme@openerp.com-20120627151733-cgtfminjoqoxix11
2012-06-27 17:17:33 +02:00
Xavier Morel 94f6eec2ab [BREAK] editable list view
* Introduce overlay form on row edition
* Broken save
* Broken cancel
* (probably) broken o2m
* Broken create

bzr revid: xmo@openerp.com-20120627143228-qku9ku3zo6k59r0f
2012-06-27 16:32:28 +02:00
Fabien Meghazi ce7fb5bb37 [CHG] Ashes to ashes, dashes to underscores.
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
Xavier Morel 54a8f9e193 [MERGE] 6.1 changes and trunk
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Xavier Morel 9029f24d87 [FIX] action buttons activated in editable o2m lists during or after row edition
bzr revid: xmo@openerp.com-20120625072046-29tg3vnnpkhj8fe9
2012-06-25 09:20:46 +02:00
Xavier Morel 9e134c9afa [IMP] move ListView.List#reload_record to ListView
bzr revid: xmo@openerp.com-20120622135015-dsvjblv1rd4oezcp
2012-06-22 15:50:15 +02:00
Xavier Morel f5e53a1e09 [FIX] stupid groupby bug
bzr revid: xmo@openerp.com-20120619133618-sxgs18sn48x902hv
2012-06-19 15:36:18 +02:00
Xavier Morel 7516028068 [IMP] allow overloading a listview's List and Groups types
bzr revid: xmo@openerp.com-20120614123056-cu3q34m4ysjxzqtt
2012-06-14 14:30:56 +02:00
Fabien Meghazi 554195630b [IMP] Improved o2m and m2m viewmanager/listview styling
bzr revid: fme@openerp.com-20120612131543-qmltlt7p1h8g5xk5
2012-06-12 15:15:43 +02:00
niv-openerp c7e32e7175 [FIX] Problem with SelectCreatePopup, the list view can sometimes be editable
lp bug: https://launchpad.net/bugs/1005812 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120607152301-mu43z3n7q2fonsuk
2012-06-07 17:23:01 +02:00
Fabien Meghazi a6a4f8e752 [MOV] Moved SideBar 'import' and 'export' to list view only
bzr revid: fme@openerp.com-20120607143926-a0p7quqguz130iwd
2012-06-07 16:39:26 +02:00
Xavier Morel d7ddebed96 [FIX] handling of get_selection in listview in case of non-selectable lists (e.g. editable o2ms?)
OPW 572764

bzr revid: xmo@openerp.com-20120606123115-hilv8huw72di4ovi
2012-06-06 14:31:15 +02:00
Fabien Meghazi 950490f792 [FIX] Make most fields inline(-block) instead of block level elements
bzr revid: fme@openerp.com-20120530212651-eqzd23mvrjw1bgla
2012-05-30 23:26:51 +02:00
Xavier Morel a54a3d73c5 [FIX] incorrect initialization of the DataGroup leading to a read_group being performed with nonsensical arguments, blowing up the listview on page reload
bzr revid: xmo@openerp.com-20120522144827-2ge9063bz8duwnnf
2012-05-22 16:48:27 +02:00
niv-openerp cf941ebbaf [fix] rollback of previous fix regarding list view buttons and replacement with another fix
bzr revid: nicolas.vanhoren@openerp.com-20120516145231-joteecabrzclkr2j
2012-05-16 16:52:31 +02:00
Fabien Meghazi 9eb8e07d4f [FIX] Fix empty list menu tips on editable lists
bzr revid: fme@openerp.com-20120510092621-kbjjmo6yct1ndg3c
2012-05-10 11:26:21 +02:00
Fabien Meghazi 7e39103793 [ADD] Add no content help menu tip when ungroupped kanban view is empty
bzr revid: fme@openerp.com-20120510090404-4jix0h2e28satybj
2012-05-10 11:04:04 +02:00
Fabien Meghazi 8a1015b610 [ADD] Added Import link on top of listview
bzr revid: fme@openerp.com-20120509154941-5nr1pstkcuayt0qm
2012-05-09 17:49:41 +02:00
Fabien Meghazi 2f3bc2c359 [CHG] Listview's row not deletable by default
bzr revid: fme@openerp.com-20120509152558-e00p4lj2mrnnahru
2012-05-09 17:25:58 +02:00
Fabien Meghazi 275135026a [MOV] Moved listview's delete button into sidebar
bzr revid: fme@openerp.com-20120509152040-8qiefvlt442wpzky
2012-05-09 17:20:40 +02:00
Fabien Meghazi 73409a6048 [REV] Revert pager. List view uses <start> - <end> of <total>
bzr revid: fme@openerp.com-20120509142134-tyeyae56efgppc17
2012-05-09 16:21:34 +02:00
Fabien Meghazi 0b773eead3 [IMP] Hide page if only one page
bzr revid: fme@openerp.com-20120503135520-9csae6omgdv1febr
2012-05-03 15:55:20 +02:00
Antony Lesuisse bb8380314c Clark Gable is dead. Frankly, my dear, I don't give a damn.
bzr revid: al@openerp.com-20120430000158-fp451ymdjxgzwi8v
2012-04-30 02:01:58 +02:00
Antony Lesuisse 23207c8066 [IMP] Listview styling
bzr revid: al@openerp.com-20120420174427-unoupanegd83equ4
2012-04-20 19:44:27 +02:00
Thibault Delavallée b79c25ccfd [MERGE] Merged web-side branch of feature allowing to use 'fonts=bold:expression' in list views. This comes with a server branch to add the 'fonts' attribute in RNG, and an addon branch using this feature with the need_action mechanism.
bzr revid: tde@openerp.com-20120419114557-mv7uf9h5p2i5t3os
2012-04-19 13:45:57 +02:00
Turkesh Patel (Open ERP) 6589bfeb81 [MRG] merge with main branch.
bzr revid: tpa@tinyerp.com-20120419095819-o07ywcs2qnx6s4tm
2012-04-19 15:28:19 +05:30
Turkesh Patel (Open ERP) 217cf2e14b [IMP] set proper indentation
bzr revid: tpa@tinyerp.com-20120419095646-p1q0u7jny2740ms3
2012-04-19 15:26:46 +05:30
Antony Lesuisse 786f0f2243 [MERGE] empty lists arrow and help
bzr revid: al@openerp.com-20120418205424-vp0bj5djsou253wk
2012-04-18 22:54:24 +02:00
niv-openerp b861606f84 [fix] problem with sidebar, removed all references to this.options.sidebar
bzr revid: nicolas.vanhoren@openerp.com-20120418142439-p63hdsfpgmmvayx5
2012-04-18 16:24:39 +02:00
Turkesh Patel (Open ERP) a242247159 [IMP] Improved name of function and comment
bzr revid: tpa@tinyerp.com-20120418115316-bndil056lk25ni3g
2012-04-18 17:23:16 +05:30
Turkesh Patel (Open ERP) 9fdb49c897 [IMP] set indentation
bzr revid: tpa@tinyerp.com-20120418094524-l2nqten0ngq78957
2012-04-18 15:15:24 +05:30
Turkesh Patel (Open ERP) a133899580 [IMP] Improved code
bzr revid: tpa@tinyerp.com-20120418094225-slnzultyxctu5n4r
2012-04-18 15:12:25 +05:30
Turkesh Patel (Open ERP) aca7ed80a5 [IMP] Improved code.
bzr revid: tpa@tinyerp.com-20120418092254-2htqligvh8ov0qkr
2012-04-18 14:52:54 +05:30
Turkesh Patel (Open ERP) 3ad8dad36d [MRG] merge with main branch.
bzr revid: tpa@tinyerp.com-20120418064156-4hrx14o263qes4o6
2012-04-18 12:11:56 +05:30
niv-openerp 759be357ce [imp] remaining of refactoring
bzr revid: nicolas.vanhoren@openerp.com-20120417121559-e94wr8ym8sb2f7c1
2012-04-17 14:15:59 +02:00
niv-openerp 5b89624fcf [imp] renammed some usage of instance for future refactoring
bzr revid: nicolas.vanhoren@openerp.com-20120417114358-ilya1z6iv0o61m6t
2012-04-17 13:43:58 +02:00
Turkesh Patel (Open ERP) 8689427ceb [MRG] Merge with main addons.
bzr revid: tpa@tinyerp.com-20120417100224-o5w1siselgrn6fmk
2012-04-17 15:32:24 +05:30
Xavier Morel 95db288939 [FIX] list view pager
bzr revid: xmo@openerp.com-20120410112656-nced0rr1j4zf9lvy
2012-04-10 13:26:56 +02:00
Xavier Morel e6b4688014 [HACK] display non-functional pager in list view as well
bzr revid: xmo@openerp.com-20120410103830-vt3x8ijm3gvhi8t9
2012-04-10 12:38:30 +02:00
Xavier Morel 789672bdc9 [FIX] also unfuck just as retarded handling of global buttons in form view
bzr revid: xmo@openerp.com-20120410075914-d7632s7v7bpjseg4
2012-04-10 09:59:14 +02:00