Commit Graph

312 Commits

Author SHA1 Message Date
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
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
Antony Lesuisse 4e40395d3c listview css
bzr revid: al@openerp.com-20120409200334-24j00uopwpofpbq3
2012-04-09 22:03:34 +02:00
Antony Lesuisse d88e13dcfa form temp donty hide buttens
bzr revid: al@openerp.com-20120409195047-thi24ozzlz2yvr7z
2012-04-09 21:50:47 +02:00
Antony Lesuisse dc558a3291 fix reload view
bzr revid: al@openerp.com-20120409194333-u82lb7ru2t395rmn
2012-04-09 21:43:33 +02:00
Antony Lesuisse 518d4ccfb6 listview refactor part1
bzr revid: al@openerp.com-20120409193509-l6kps8m5k78wn1nn
2012-04-09 21:35:09 +02:00
niv-openerp 236d1d2f30 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405162718-rbdyzsh3ssawcoe3
2012-04-05 18:27:18 +02:00
niv-openerp 9834565c65 [imp] refactoring to allow easy usage of embedded view in any view
bzr revid: nicolas.vanhoren@openerp.com-20120405160315-vn2gawdesxuy53b3
2012-04-05 18:03:15 +02:00
Turkesh Patel (Open ERP) 09a40e6cb8 [IMP] improved code.
bzr revid: tpa@tinyerp.com-20120404132930-gqlw6a4f5y9ng0pd
2012-04-04 18:59:30 +05:30
Turkesh Patel (Open ERP) e685e4b3b6 [IMP] improved code for font-bold feature
bzr revid: tpa@tinyerp.com-20120404120211-0b1l1zvjx5550hqa
2012-04-04 17:32:11 +05:30
Turkesh Patel (Open ERP) dc9db0c01c [IMP] improved code for more than one states
bzr revid: tpa@tinyerp.com-20120404091613-fp7el2lal3qb190r
2012-04-04 14:46:13 +05:30
Turkesh Patel (Open ERP) a5f5358cf2 [IMP] improved code for make the list record bold depends on state
bzr revid: tpa@tinyerp.com-20120404073016-ro6wuybho7npp9k4
2012-04-04 13:00:16 +05:30
Xavier Morel da864266c0 [FIX] o2m/m2m lists: only display help when there's help on the action... or an action at all
bzr revid: xmo@openerp.com-20120403141726-a6o4sfvifzzjy9r4
2012-04-03 16:17:26 +02:00
Xavier Morel e9f4fc98cc [ADD] display unhelpful message when a list view search yields no result
bzr revid: xmo@openerp.com-20120403141553-hrv006vdkv70zyfu
2012-04-03 16:15:53 +02:00
Antony Lesuisse 7f1eecc8d3 sidebar removal part1
bzr revid: al@openerp.com-20120401231212-dln0svoqcc0pmpxy
2012-04-02 01:12:12 +02:00
Fabien Meghazi effd8e2ca3 [FIX] "Group" label in list view should be translatable
lp bug: https://launchpad.net/bugs/943973 fixed

bzr revid: fme@openerp.com-20120305184516-6j7ftdnflw6mrb0p
2012-03-05 19:45:16 +01:00
Fabien Meghazi 542948ee6a [FIX] List view "Group" label should be translatable
lp bug: https://launchpad.net/bugs/943973 fixed

bzr revid: fme@openerp.com-20120305173419-ksme8ckweu98b82r
2012-03-05 18:34:19 +01:00
Xavier Morel e178185b4f [MERGE] bug fixes form 6.1 branch
bzr revid: xmo@openerp.com-20120305070634-li0eloj7vhsljguu
2012-03-05 08:06:34 +01:00
Xavier Morel 4b74a35c76 [FIX] list paginator's 'last page' button: not all state was transferred between datasets during paginator configuration
lp bug: https://launchpad.net/bugs/939614 fixed

bzr revid: xmo@openerp.com-20120228101200-atisgrb2fb0eqi1g
2012-02-28 11:12:00 +01:00
Xavier Morel 2b2ae48ea9 [FIX] progressbar fields display in group headers
also, weird computed progress bars (e.g. aggregates) with way too many digits

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

bzr revid: xmo@openerp.com-20120227152739-3pmu3dtqrbzx1x3m
2012-02-27 16:27:39 +01:00
Xavier Morel 739f719ad6 [UP] py.parse 0.2 to py.js 0.4 ~
should probably go through a testing phase (checking its result
against that of eval_domain_and_context) for a while, but apart from
that it's supposed to work.

'stdlib' stuff (datetime.date.today, datetime.timedelta,
time.localtime, time.time, time.strftime) still need to be
written. Isn't there also a dateutil.relativedeleta somewhere?

Anyway that needs to be done and the various evaluation contexts need
to be defined, but the valuator itself should mostly work.

bzr revid: xmo@openerp.com-20120227073721-nkgeiqacbzch8xev
2012-02-27 08:37:21 +01:00
Xavier Morel a55e7148e3 [FIX] correctly set dataset index when selecting a record in list view, so switching to page/form switches to the first selected record, not the first record of the page
lp bug: https://launchpad.net/bugs/939314 fixed

bzr revid: xmo@openerp.com-20120223145157-rkkwg6pwcr6hh7st
2012-02-23 15:51:57 +01:00
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
Xavier Morel a7354829cd [CNG] make forms worse but pagination not break in case of manyrecords
bzr revid: xmo@openerp.com-20120209170748-l70q7grxgsumha2i
2012-02-09 18:07:48 +01:00
Xavier Morel b21eb64306 [FIX] selection state does not survive list content reload, so global checkbox should not either
global checkbox should be deselected after e.g. sidebar actions, or sorting the list

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

bzr revid: xmo@openerp.com-20120206091143-gpljqsldg6xx508r
2012-02-06 10:11:43 +01:00
Fabien Meghazi 5e7b30e996 [FIX] Do not FormView#do_show() twice on cold do_load_state()
bzr revid: fme@openerp.com-20120201154442-gwbdm99wy8qahwie
2012-02-01 16:44:42 +01:00
Xavier Morel 309dccbc1f [FIX] if no list limit is specified anywhere, default to 80 on listview initialization
lp bug: https://launchpad.net/bugs/923805 fixed

bzr revid: xmo@openerp.com-20120201131848-b0a0ity490s548c3
2012-02-01 14:18:48 +01:00
Xavier Morel b50afe59fb [FIX] don't forget to set py.bool in context of py.eval/py.evaluate
py.eval really needs to automatically have builtins in its evaluation context...

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

bzr revid: xmo@openerp.com-20120130085557-oqmjs0owgdrwshu0
2012-01-30 09:55:57 +01:00
Xavier Morel eaa1fbca72 [FIX] strange draggable behavior in Chrome 15/Linux
dragging any other row than the first one in a sortable table (table with sequences)
has the row going way to the right of the table, in both editable list views (e.g.
tasks) and relational fields (e.g. Accounting > Configuration > Financial Accounting
> Taxes > Taxes[form] > Child Tax Accounts

bzr revid: xmo@openerp.com-20120127091938-z79e7aj6wjcmfmmz
2012-01-27 10:19:38 +01:00
Xavier Morel 7f1c184bb4 [IMP] invert sorting arrows
http://notes.ericjiang.com/posts/456

bzr revid: xmo@openerp.com-20120125150201-82vkms4pxyn2qbsu
2012-01-25 16:02:01 +01:00
Vaibhav (OpenERP) a93daf3b98 [FIX] helper clone for dragged element.
lp bug: https://launchpad.net/bugs/920349 fixed

bzr revid: vda@tinyerp.com-20120125131528-twjtq49lhzr214vr
2012-01-25 18:45:28 +05:30
Xavier Morel 4a16a74de0 [IMP] only display group paginator if there are more than 80 records in the group
bzr revid: xmo@openerp.com-20120117124312-n4h9r1g9ovk09xli
2012-01-17 13:43:12 +01:00
Xavier Morel 8f4a0277ac [FIX] unbind handlers on records from a collection when the record is removed from the collection or the collection is reset
bzr revid: xmo@openerp.com-20120112170917-n6xadpzkbflk9s2c
2012-01-12 18:09:17 +01:00
Xavier Morel f4efb938e2 [FIX] forgot to forward arguments correctly in xmo@openerp.com-20120112084910-6fxbzbgmv51utyko
bzr revid: xmo@openerp.com-20120112102941-qa596ufk5nlc2nqp
2012-01-12 11:29:41 +01:00
Xavier Morel 12e3ef7fbf [IMP] add lazier proxy method on CallbackEnabled, use it in WebClient and ListView
bzr revid: xmo@openerp.com-20120112084910-6fxbzbgmv51utyko
2012-01-12 09:49:10 +01:00
Fabien Meghazi fe4526b2d8 [MERGE] Merge last trunk
bzr revid: fme@openerp.com-20120111085337-u65f0pyr1n60mkaw
2012-01-11 09:53:37 +01:00
Xavier Morel 2e1c8cceb9 [FIX] broken grouping in list views
bzr revid: xmo@openerp.com-20120111084602-in9dlvig8283g2o7
2012-01-11 09:46:02 +01:00
Fabien Meghazi e9ca86dd63 [IMP] More dataset refactoring
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Fabien Meghazi 652e845321 [IMP] Refactored Dataset#read_ids usage
bzr revid: fme@openerp.com-20120110154500-466y26mkyb947nze
2012-01-10 16:45:00 +01:00
Xavier Morel d98b8b8be0 [ADD] handling of binary fields to the listview
bzr revid: xmo@openerp.com-20120110153905-zxqkze9c4zrkmv2a
2012-01-10 16:39:05 +01:00
Xavier Morel 4cc9cb83ce [IMP] add bin_size flag to listview reads in order not to fetch binary file contents
bzr revid: xmo@openerp.com-20120110143556-ijsmmhvenw93vzfb
2012-01-10 15:35:56 +01:00
Serpent Consulting Services 6f4fc625cf [FIX] List view :- Column should be added for edit icon in group by record.
lp bug: https://launchpad.net/bugs/913485 fixed

bzr revid: support@serpentcs.com-20120109065022-rcdng1w3c6xobxc8
2012-01-09 12:20:22 +05:30
Xavier Morel 01fdd9420f [FIX] reload form (and list) views after sidebar actions
bzr revid: xmo@openerp.com-20111221141953-zovj4tpwse9tfvm9
2011-12-21 15:19:53 +01:00
Xavier Morel 3c11f25e73 [FIX] don't display group paginators in analysis views
bzr revid: xmo@openerp.com-20111221092921-jiluuxyd2cfebxgt
2011-12-21 10:29:21 +01:00
Xavier Morel d206ee9124 [ADD] guide to translations in OpenERP Web
bzr revid: xmo@openerp.com-20111220183521-oo4dvofca1uqmzuy
2011-12-20 19:35:21 +01:00
Xavier Morel 4cb4ac397b [FIX] view node attributes should have precedence over field attributes for a field when they collide
lp bug: https://launchpad.net/bugs/906893 fixed

bzr revid: xmo@openerp.com-20111220152223-vz7ibc1hjydohwk5
2011-12-20 16:22:23 +01:00
niv-openerp f295808ff1 [imp] replaced many usages of setTimeout by async_when
bzr revid: nicolas.vanhoren@openerp.com-20111219162805-0ibqw4hn23imkfuj
2011-12-19 17:28:05 +01:00
Xavier Morel a8286263ff [ADD] lazy translation function, to correctly translate strings in contexts evaluated before the translation db has been loaded
bzr revid: xmo@openerp.com-20111216130000-56qd717d79529opy
2011-12-16 14:00:00 +01:00
Xavier Morel 265d9e1ef4 [ADD] translatable name to views
lp bug: https://launchpad.net/bugs/904989 fixed

bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
2011-12-16 12:20:54 +01:00
Christophe Simonis 160801b0e6 [IMP] handle url for list views
bzr revid: chs@openerp.com-20111215153134-tdwy5y8j7ktm1dzv
2011-12-15 16:31:34 +01:00
Xavier Morel 5e0cf3080d [ADD] form links into list views
bzr revid: xmo@openerp.com-20111215152934-ujciaxk6o1iyorng
2011-12-15 16:29:34 +01:00
Fabien Meghazi 188615a35f [IMP] Use proper name for edit_link option
bzr revid: fme@openerp.com-20111215133800-q8cypwxu7hps21ty
2011-12-15 14:38:00 +01:00
Fabien Meghazi 30373a1307 [FIX] Use event.target instead of event.toElement
bzr revid: fme@openerp.com-20111215123536-wnsbnqakjhflle7x
2011-12-15 13:35:36 +01:00
Xavier Morel fd96386cd4 [FIX] translatability of addition button label in listview
* Original label is evaluated very early (before translation database is loaded), defer its execution
* Replacement 'add' label in m2m list views wasn't marked for translation
* Also mark a few strings in form view

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

bzr revid: xmo@openerp.com-20111215100652-8iujastl6bvi7feu
2011-12-15 11:06:52 +01:00
Fabien Meghazi ef954a8a95 [ADD] ListView: Added pencil icon linking to form view
bzr revid: fme@openerp.com-20111214172952-xp4c6h6fccbyzt8r
2011-12-14 18:29:52 +01:00
Antony Lesuisse d1ddc1ee78 [IMP] factorise View.do_show do_hide
bzr revid: al@openerp.com-20111214171811-c4bka4nwylp3wn21
2011-12-14 18:18:11 +01:00
Xavier Morel e557a4b4c0 [FIX] don't display add/remove buttons in group_by_no_leaf views
bzr revid: xmo@openerp.com-20111214144317-7k0u4s2xg9ochpte
2011-12-14 15:43:17 +01:00
Xavier Morel 51ffcdd7e8 [FIX] Ignore @invisible field spec on group titles, it's bothersome to have group titles don't display
bzr revid: xmo@openerp.com-20111213154722-vrpbl41hjgu66v1u
2011-12-13 16:47:22 +01:00
Xavier Morel b6a0a7b886 [FIX] indentation of terminal groups in group_by_no_leaf
bzr revid: xmo@openerp.com-20111213153931-vdm0lo1murvz3hjr
2011-12-13 16:39:31 +01:00
Xavier Morel 987a9cc07b [IMP] merge title of o2m list view into list header
bzr revid: xmo@openerp.com-20111213144955-o4menzpyak0c1ugx
2011-12-13 15:49:55 +01:00
Xavier Morel 8cd2acd27f [FIX] progress values in group headers
bzr revid: xmo@openerp.com-20111213115452-hnxjfgehq49cv6ye
2011-12-13 12:54:52 +01:00
Xavier Morel 65f92d7208 [FIX] columns filtering in group headers
bzr revid: xmo@openerp.com-20111213115001-r0lhumhiqtdxcdrv
2011-12-13 12:50:01 +01:00
Xavier Morel fb4db0666f [FIX] missing confirmation message handling on listview buttons
lp bug: https://launchpad.net/bugs/903209 fixed

bzr revid: xmo@openerp.com-20111213081038-sq5p1a2lsodieito
2011-12-13 09:10:38 +01:00
Xavier Morel 5882ba65e3 [FIX] correctly format group header values
lp bug: https://launchpad.net/bugs/902302 fixed

bzr revid: xmo@openerp.com-20111212131534-z1a7c35c43u85c5g
2011-12-12 14:15:34 +01:00
Vaibhav (OpenERP) 15e9b073c6 [FIX] ListView drag&drop within parent bound.
bzr revid: vda@tinyerp.com-20111208131633-b7c3bd5hs3deuobd
2011-12-08 18:46:33 +05:30
Xavier Morel bbf46ca288 [FIX] creation button in list view
bzr revid: xmo@openerp.com-20111207133229-m47jhi2kr01247k4
2011-12-07 14:32:29 +01:00
Xavier Morel f3c671cbd8 [ADD] push/pop API for views
lp bug: https://launchpad.net/bugs/900225 fixed

bzr revid: xmo@openerp.com-20111207104503-gcy0gbin36s4uudh
2011-12-07 11:45:03 +01:00