Commit Graph

177 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Xavier Morel 59a107a90c [FIX] unfuck retarded handling of global buttons in list view
bzr revid: xmo@openerp.com-20120410074801-bepzklcdi7g3sx7k
2012-04-10 09:48:01 +02:00
Antony Lesuisse 77ec66a20e bye bye page view
bzr revid: al@openerp.com-20120409205334-tbgk3fz7q7q60o3t
2012-04-09 22:53:34 +02:00
Antony Lesuisse 16ea7ae148 listview refactor part2
bzr revid: al@openerp.com-20120409201647-97r7h4nd3lid42si
2012-04-09 22:16:47 +02:00