Commit Graph

203 Commits

Author SHA1 Message Date
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
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