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
Xavier Morel
c58ebcfaed
[FIX] records disappearing from sequenceable list views when dropped onto their original position
...
In the listview's backing Records, a noop set (setting a property to
the value it already has) has no visible effect (no even is triggered,
it is simply ignored).
The listview relies on setting the sequence number to refresh records
and re-display them correctly in their table rows, but dropping an
already sequenced row onto itself would set its sequence to its
current value (barring record removals), yielding to no refresh and
the row simply poofing out of view as it gets removed from the
collection (and the table), then added back to the collection in its
new (and old) position and displayed in a bare-bones empty states
waiting for a render_record call.
Added a check to sorting management to bail out immediately if a sort
is a noop (the row is dropped at the same position it was taken from)
lp bug: https://launchpad.net/bugs/900207 fixed
bzr revid: xmo@openerp.com-20111206123735-4bfnqh1zl7u4ozm9
2011-12-06 13:37:35 +01:00
Xavier Morel
0fbdaab88f
[FIX] defer actually writing the resequencing of a list view to the backing dataset ~/projects/tiny/web/current
...
There seems to be an issue with synchronous o2m writes doing weird
things (records disappear after being drag & dropped)
lp bug: https://launchpad.net/bugs/900207 fixed
bzr revid: xmo@openerp.com-20111206082713-efq1w88sv0htl39c
2011-12-06 09:27:13 +01:00
Xavier Morel
34b8c8f4a6
[FIX] right-align number columns in group headers
...
lp bug: https://launchpad.net/bugs/900204 fixed
bzr revid: xmo@openerp.com-20111205110647-jnzk2hppavgbhpa0
2011-12-05 12:06:47 +01:00
Xavier Morel
19d9cc0481
[FIX] list should go back to first page on new search
...
lp bug: https://launchpad.net/bugs/898546 fixed
bzr revid: xmo@openerp.com-20111201104233-kpkywab12mqbkzmu
2011-12-01 11:42:33 +01:00
Xavier Morel
7f7f00a52f
[FIX] docstring
...
bzr revid: xmo@openerp.com-20111123122957-416z2p458wpw7nic
2011-11-23 13:29:57 +01:00
Fabien Meghazi
db2c85635b
[IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
...
WARNING: underscore string does not mixin to underscore by default. Use _.str.*
bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel
e536b4ace8
[FIX] handling of groups with length 0 in ContainerDataGroup's group descriptor munger
...
For a group with a ${field}_count of 0, code would fallback on __count
which does not exist -> would try to set group.length to `undefined`
which leads to the property being removed from the result, blowing up
the call to `$('<td>').text(group.length)` in the listview (jQuery's
.text() apparently does not like getting `undefined` as its
parameter... who knew?)
Also make `openable` clearer, and improve style of listview in case of
an empty group (openable but length 0): remove the arrow on the left
(but leave the indent, otherwise it's ugly).
lp bug: https://launchpad.net/bugs/889807 fixed
bzr revid: xmo@openerp.com-20111115112906-e87sf40tgr8goqps
2011-11-15 12:29:06 +01:00
Xavier Morel
c6d6027f64
[FIX] cell borders in padding rows of list views
...
bzr revid: xmo@openerp.com-20111114092721-n9gqprm31hhcfr5w
2011-11-14 10:27:21 +01:00
Xavier Morel
194cc51b22
[FIX] only aggregate columns explicitly asking for aggregation ~/projects/tiny/web/current
...
Instead of relying only on the column's group_operator, ensure the
view itself asks for the aggregation function (by checking if the
corresponding field attribute is set).
If the @group_operator function is not set on the field (even without
a label, it just has to be *there* so `<field sum=""/>` would work),
do not aggregate the column at all.
bzr revid: xmo@openerp.com-20111114081853-a9ja0zdaxk2261nd
2011-11-14 09:18:53 +01:00
Xavier Morel
48499f2e0a
[FIX] list view: display group titles straight from read_group if we fail to format them
...
read_group plays fast and loose with formats, and apparently has no
problem returning arbitrary strings for date columns, arbitrary
strings which may very well be completely unparseable.
lp bug: https://launchpad.net/bugs/885289 fixed
bzr revid: xmo@openerp.com-20111110152850-o31j3r4u5gdugznw
2011-11-10 16:28:50 +01:00
Xavier Morel
90972f5e27
[IMP] add confirmation message when deleting a record in form view
...
bzr revid: xmo@openerp.com-20111110103650-pqss9bfejudyqkp2
2011-11-10 11:36:50 +01:00
Xavier Morel
125ce4ec85
[FIX] on a button action, ListView should send the content of the corresponding record as (evaluation) context
...
also needs to set active_id, and let's throw active_ids and active_model in for the same price
lp bug: https://launchpad.net/bugs/881301 fixed
bzr revid: xmo@openerp.com-20111028085051-p49564vmrozkr1fr
2011-10-28 10:50:51 +02:00
Xavier Morel
69f909a9a1
[REN] 'New' button of ListView to 'Create'
...
bzr revid: xmo@openerp.com-20111025132412-4vx57uf1vipcyfkq
2011-10-25 15:24:12 +02:00
Xavier Morel
e35686ca93
[ADD] global select/unselect toggle on lists
...
bzr revid: xmo@openerp.com-20111025105925-7ghxlljq6ugupxx5
2011-10-25 12:59:25 +02:00
Xavier Morel
b6a0874f4c
[FIX] disgusting hack to skip around race condition
...
When clicking on an action button, form view first saves then executes
the action. In doing so, it causes the o2m field to call
ListView#reload_content twice without waiting for the reloading to
end, generating a race condition in ListView.List#render_dataset.
As a result, the read_slice callback fills the list twice (once for
each #reload_content call), resulting in everything being duplicated.
Clear the content of the records collection before adding stuff.
note: collections should dedup on ids.
lp bug: https://launchpad.net/bugs/877965 fixed
bzr revid: xmo@openerp.com-20111025085112-q38q8m0k2mopwadg
2011-10-25 10:51:12 +02:00
Xavier Morel
ba2f06a2ac
[ADD] missing deferred propagation in ListView.reload_content
...
bzr revid: xmo@openerp.com-20111025070626-pxxp6virhhomb7kl
2011-10-25 09:06:26 +02:00
kbh
fa94cf7578
[IMP] Remove unnecessary code in checkbutton select all/none in list view.
...
bzr revid: kbh@bde-desktop-20111025062429-dvx4x0h1caqwg21i
2011-10-25 11:54:29 +05:30
kbh
276cff1807
[IMP] Remove unnecessary code in checkbutton select all/none in list view.
...
bzr revid: kbh@bde-desktop-20111025060142-47y025oqteocdgj3
2011-10-25 11:31:42 +05:30
kbh
3e20652e55
[IMP] Fixed the issue of checkbutton select all/none in tree view.
...
bzr revid: kbh@bde-desktop-20111024132959-y9b3scfye91nut1c
2011-10-24 18:59:59 +05:30
kbh
2ce07c97c6
[FIX] Fixed the issue of checkbutton select all/none in tree view.
...
lp bug: https://launchpad.net/bugs/878108 fixed
bzr revid: kbh@bde-desktop-20111024091730-dkzafro2f9e0k7tf
2011-10-24 14:47:30 +05:30
Fabien Meghazi
69d36a02ca
[FIX] Fix bug for Internet Explorer 3.0
...
In fact IE<9
bzr revid: fme@openerp.com-20111020162255-5duca37zd18by343
2011-10-20 18:22:55 +02:00
Fabien Meghazi
a958ff049f
[REM] Removed a console.log
...
bzr revid: fme@openerp.com-20111019160612-w0ih265m5no00khg
2011-10-19 18:06:12 +02:00
Xavier Morel
7a5e3da9ad
[FIX] incorrect management of dataset indexes leading to always selecting a record on the listview's first page when clicking on a record to open its form (even when at the 5th page)
...
lp bug: https://launchpad.net/bugs/878103 fixed
bzr revid: xmo@openerp.com-20111019151703-dxvzdrn2mg75y8fd
2011-10-19 17:17:03 +02:00
Fabien Meghazi
062449472f
[FIX] In paginated list view, clicking on a row on page 2+ goes to wrong record in form view
...
bzr revid: fme@openerp.com-20111019144507-j5oec235bw79gw73
2011-10-19 16:45:07 +02:00
Xavier Morel
8c9d65c41a
[IMP] fix mistake done while merging ref-in-listviews, improve discrimination between ref-value and printable value
...
* Removed a test on splitting on ',' yielding more than one value, which means we're going to loop on the name_get since they're all strings
* Improved value-detection: we should only name_get the reference field if the value is an actual reference value, meaning a model name, a ',' and an id. Used regex instead of naive split, so we don't match referenced names with a comma (e.g. 'Hubert de Vaucanson, Vicomte de Blois')
bzr revid: xmo@openerp.com-20111018105255-6vz6l9lg1iiurfc9
2011-10-18 12:52:55 +02:00
Xavier Morel
7b600e82c4
[IMP] don't check for the column type being m2o if we already went through the reference case
...
bzr revid: xmo@openerp.com-20111018103443-p1l5cya0nexf6cj1
2011-10-18 12:34:43 +02:00
Xavier Morel
adea72acd7
[FIX] correctly display reference field values in list view
...
bzr revid: xmo@openerp.com-20111018103258-qnldbs6jwh1fa8is
2011-10-18 12:32:58 +02:00
Vaibhav (OpenERP)
c7f4482d5b
[FIX] Check value type,base with parseint.
...
bzr revid: vda@tinyerp.com-20111018093432-0ixihleg3vynpvwx
2011-10-18 15:04:32 +05:30
Vaibhav (OpenERP)
8b8d7a1d76
[FIX] Display name of reference field in tree.
...
lp bug: https://launchpad.net/bugs/861434 fixed
bzr revid: vda@tinyerp.com-20111018055400-2j1gvgvognuo6ka9
2011-10-18 11:24:00 +05:30
Xavier Morel
3790db3e40
[FIX] action buttons with a name composed solely of digits in list view
...
lp bug: https://launchpad.net/bugs/869746 fixed
bzr revid: xmo@openerp.com-20111017141022-u7v9aiw08aczpsv1
2011-10-17 16:10:22 +02:00
Xavier Morel
9012103f82
[IMP] add translation marks to printed text in listview
...
bzr revid: xmo@openerp.com-20111017115652-9230tli493e9sqkt
2011-10-17 13:56:52 +02:00
Xavier Morel
484063df5e
[ADD] confirmation popup when deleting an element from the list view
...
bzr revid: xmo@openerp.com-20111017115117-0mas0bkdbkq0yku6
2011-10-17 13:51:17 +02:00
Fabien Meghazi
22da3764df
[FIX] Fix error when clicking on empty row in editable lists
...
bzr revid: fme@openerp.com-20111017095216-zfzqgmsfrdcjvccj
2011-10-17 11:52:16 +02:00
Xavier Morel
f786f5537a
[FIX] method call invocation indentation
...
bzr revid: xmo@openerp.com-20111014084941-cj85qsl9tfbxsvhp
2011-10-14 10:49:41 +02:00
Xavier Morel
405beaa3c6
[FIX] m2o values display in list views (mostly under onchange condition)
...
Normal m2o values are pairs of (id, name) (name_get format, basically)
but in some cases (lazyness & al), APIs (often onchange results) only
return the `id` part, which is not sufficient to display the m2o
as-is, a name_get has to be performed.
Added an intermediate step in displaying a table cell (in list view):
if we're displaying an m2o cell (~a cell for an m2o column) and the
value is a number, then dispatch a name_get and keep trucking (display
the rows without the m2o values).
When the name_get returns, it will simply refresh the row and diplay
the m2o name.
bzr revid: xmo@openerp.com-20111014084310-pv2mmmy28fwwk9sm
2011-10-14 10:43:10 +02:00
Turkesh Patel (Open ERP)
937c881aaa
[FIX] Fixed the issue for confirmation popup when we delete a record from a list
...
lp bug: https://launchpad.net/bugs/872708 fixed
bzr revid: tpa@tinyerp.com-20111013085758-el0bn170ai0h6wfc
2011-10-13 14:27:58 +05:30
niv-openerp
aaf01c6395
[fix] dirty fix of the problem with list views in o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20111010143634-sjld7z726l6ebg53
2011-10-10 16:36:34 +02:00
Xavier Morel
acc3d54316
[ADD] update pager on record deletion
...
bzr revid: xmo@openerp.com-20111007071756-h73imu0g4tl3fhay
2011-10-07 09:17:56 +02:00
Fabien Meghazi
65745d5142
[FIX] Do not compute modifiers for aggregates in list view.
...
lp bug: https://launchpad.net/bugs/865188 fixed
bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-10-05 17:32:02 +02:00
Xavier Morel
318ec9998b
[IMP] use .children(selector) rather than .find('> ' + selector)
...
bzr revid: xmo@openerp.com-20111004155918-c2vy0rwkesvdkmli
2011-10-04 17:59:18 +02:00
Xavier Morel
72b852c2c6
[FIX] insertion position of new lines (in editable lists) in case of lists padded to 5 (empty) lines
...
bzr revid: xmo@openerp.com-20111004154246-7o1cw016cf9ygem3
2011-10-04 17:42:46 +02:00
Xavier Morel
29cef016f9
[FIX] re-rendering of a given list's row (e.g. onchange, edition, etc...): 'view' needs to be in the context so the row's color can be computed
...
bzr revid: xmo@openerp.com-20111004104848-277ajqmaud8oc8hn
2011-10-04 12:48:48 +02:00
Xavier Morel
3190884fa1
[FIX] don't perform a search_read when switching view from list to form
...
I don't remember why I did that originally, it does not seem to serve any purpose and it causes problems in case of records with binary fields
bzr revid: xmo@openerp.com-20111004102115-lz6kgyiw35vp1t99
2011-10-04 12:21:15 +02:00
Fabien Meghazi
f76b2f55ae
[MERGE] ViewManager now triggers do_search() in on_mode_switch()
...
The views doesn't have to worry about the search in do_show().
They just have to listen to do_search() if they are searchable.
bzr revid: fme@openerp.com-20111004094738-at91ab6a2kkxf8bq
2011-10-04 11:47:38 +02:00
Vaibhav (OpenERP)
be5bef72fa
[FIX] Need to Update Pager after delete record.
...
lp bug: https://launchpad.net/bugs/849020 fixed
bzr revid: vda@tinyerp.com-20111004071945-2fixgi12ozr6wm6g
2011-10-04 12:49:45 +05:30
Fabien Meghazi
e80894b775
[FIX] Fixed error for sidebar-less embedded list views
...
bzr revid: fme@openerp.com-20111003150049-hty30u42ozakevc8
2011-10-03 17:00:49 +02:00
Fabien Meghazi
82006438fe
[MERGE] Merge with trunk
...
bzr revid: fme@openerp.com-20111003135613-8d2ep2fv3bv713t7
2011-10-03 15:56:13 +02:00
kbh
335c99fda4
[FIX] Minor change in issue of open sidebar on checked list record.
...
lp bug: https://launchpad.net/bugs/856376 fixed
bzr revid: kbh@bde-desktop-20111003071807-33zlrcc0vopiahoz
2011-10-03 12:48:07 +05:30
kbh
fdfe102cc4
[FIX] change in listview for sidebar.
...
bzr revid: kbh@bde-desktop-20111003060239-l7bwy55n8t9fkz66
2011-10-03 11:32:39 +05:30
Xavier Morel
d4d2b1b5b8
[FIX] don't break when @colors end with a semicolon
...
bzr revid: xmo@openerp.com-20110930132941-mw8byod4xanb8dat
2011-09-30 15:29:41 +02:00
Xavier Morel
ba86faac47
[IMP] shave ~190ms off of *big* listview rendering speed
...
make conversion of internal Records to form-shape faster by iterating over the attributes object directly instead of using _.each
bzr revid: xmo@openerp.com-20110929145031-q7mqf43gza94ekj6
2011-09-29 16:50:31 +02:00