Xavier Morel
605326208d
[REM] useless JS highlighting code
...
bzr revid: xmo@openerp.com-20110809104818-ukp0pa510dy26afp
2011-08-09 12:48:18 +02:00
Xavier Morel
a48ee7f21d
[IMP] UNDERSCORE EVERYTHING
...
bzr revid: xmo@openerp.com-20110809103407-me8938pzt0nx84d2
2011-08-09 12:34:07 +02:00
Xavier Morel
79d7da0ba1
[REM] bunch of useless shit in the code for hiding/displaying already-loaded records
...
bzr revid: xmo@openerp.com-20110809102951-vgy8sh2mws48fu3y
2011-08-09 12:29:51 +02:00
Xavier Morel
e483027956
[IMP] simplify and cleanup handling of clicking on a given table open/close icon; split out setup in a separate method
...
bind the event *once* at the table toplevel instead of binding it at every sub-tree display, which mandates adding supplementary code to filter out clicks coming from the wrong height of the tree and not concerning the record(s) we're interested in
bzr revid: xmo@openerp.com-20110809100438-i9546bkxydaz58ol
2011-08-09 12:04:38 +02:00
Xavier Morel
3724ff0545
[IMP] remove fixed todo comment
...
bzr revid: xmo@openerp.com-20110809091400-z0211vxj51exeve5
2011-08-09 11:14:00 +02:00
Xavier Morel
5c3d5d2319
[IMP] simplify, cleanup template, make better use of qweb
...
bzr revid: xmo@openerp.com-20110809090939-k8ru4p23lsnrnf0a
2011-08-09 11:09:39 +02:00
Xavier Morel
deed2ac28c
[FIX] incorrect traversal of the tree: field handling the parent-child relationship *must not* be hardcoded (it's provided by fields_view_get)
...
Also parent records provide the ids of their children directly, and fvg gives the name of the field in which these children live, there is no need to perform a search + read for every level of the tree past the first one, just perform a read() of the provided ids
bzr revid: xmo@openerp.com-20110809085628-klvic2fmlvfmxjt3
2011-08-09 10:56:28 +02:00
Xavier Morel
4aba2baf63
[IMP] only fetch fields we *need* when loading first level of treeview
...
bzr revid: xmo@openerp.com-20110809081247-789cmdb88nrdq306
2011-08-09 10:12:47 +02:00
Xavier Morel
864e850e97
[FIX] set action domain in the SearchDataSet in ViewManagerAction, use that to query the first treeview level
...
bzr revid: xmo@openerp.com-20110809081136-1q1nowzq4xj4jcwu
2011-08-09 10:11:36 +02:00
Xavier Morel
05a9546794
[FIX] invisible and tree_invisible, cleanup template and remove duplications, simplify code, correctly use modifiers
...
bzr revid: xmo@openerp.com-20110808152343-p3pj1mx85uiofi63
2011-08-08 17:23:43 +02:00
Xavier Morel
46563bd391
[FIX] first code cleanup
...
* Remove unneeded fields_get in load, simplify return format for load (just return fields_view_get result)
* Simplify generation of base select for first level of records
* Remove special handling of selection fields
bzr revid: xmo@openerp.com-20110808143718-brwd62w7jy344d8r
2011-08-08 16:37:18 +02:00
Bhumi Thakkar (Open ERP)
b09cc1ecca
[IMP] Values corresponding of colums.
...
bzr revid: bth@tinyerp.com-20110729115654-2x00msrjrag20ot6
2011-07-29 17:26:54 +05:30
Bhumi Thakkar (Open ERP)
211d3b6194
[FIX] Minor Changes For Selection Field.
...
bzr revid: bth@tinyerp.com-20110727112617-rkr4zyu3kk3vvhcd
2011-07-27 16:56:17 +05:30
Bhumi Thakkar (Open ERP)
0e6ae57f11
[FIX]Dynamic Header.
...
bzr revid: bth@tinyerp.com-20110721122534-fbxaebln1cd7tv5p
2011-07-21 17:55:34 +05:30
Bhumi Thakkar (Open ERP)
3dcc0d8d00
[IMP] Set Header.
...
bzr revid: bth@tinyerp.com-20110713085621-kmw2ecn58a9wmrlx
2011-07-13 14:26:21 +05:30
Bhumi Thakkar (Open ERP)
2a751c0d03
[IMP] Multiple fields displayed.
...
bzr revid: bth@tinyerp.com-20110713071308-v92jdhpil0ptdp8x
2011-07-13 12:43:08 +05:30
Bhumi Thakkar (Open ERP)
a76b7d590e
[MERGE] merge with openerp-web.
...
bzr revid: bth@tinyerp.com-20110712123638-nebxv16iddwsjbzz
2011-07-12 18:06:38 +05:30
Xavier Morel
9d2e29795e
[IMP] only compute invisible attrs/modifier in list view, as for non-editable lists we may be missing fields required to compute required and readonly
...
and it's not like the list view needs those anyway: the handling of required and readonly in editable lists is performed solely by the form view embedded in each row, the list itself does not care at all
bzr revid: xmo@openerp.com-20110712095459-l8hkm6d0vg1ynb07
2011-07-12 11:54:59 +02:00
niv-openerp
287ed124d5
[imp] some imp to previous imp
...
bzr revid: nicolas.vanhoren@openerp.com-20110712091431-uf3o5z017c399izp
2011-07-12 11:14:31 +02:00
niv-openerp
2b47b7f69a
[imp] added some debugging tools
...
bzr revid: nicolas.vanhoren@openerp.com-20110712091131-ixr36d9dyilfnoyj
2011-07-12 11:11:31 +02:00
Fabien Meghazi
8c761e24be
[IMP] Better default action flags
...
bzr revid: fme@openerp.com-20110712091110-wa1v3s3p148g2nig
2011-07-12 11:11:10 +02:00
Fabien Meghazi
b25d3dc26b
[IMP] Basic implementation of FormView.stop()
...
bzr revid: fme@openerp.com-20110711161546-b030c361iqvg3wyr
2011-07-11 18:15:46 +02:00
Fabien Meghazi
79ef9872c8
[FIX] WidgetFrame fetches fields_view.fields property on non 'field' tags
...
bzr revid: fme@openerp.com-20110711154802-y2q3et23mmylomd5
2011-07-11 17:48:02 +02:00
Fabien Meghazi
7428091aba
[FIX] Notebook page does not honnor modifiers
...
bzr revid: fme@openerp.com-20110711144851-wavg5u1l1us9atc8
2011-07-11 16:48:51 +02:00
Xavier Morel
033423f04c
[IMP] avoid having deletion and selection columns take too much horizontal room
...
todo: fix lists with only 1 field (3 columns), list-wise action buttons are columned and get crushed into a small (horizontal) box which is ugly
bzr revid: xmo@openerp.com-20110711113340-7dn062kv8c6w711a
2011-07-11 13:33:40 +02:00
Xavier Morel
8ac948f360
[FIX] explicitly pass a list of fields to read_group instead of False
...
read_group does not take inherited fields in its default list-of-fields-to-read, so if grouping on an inherited field it will blow up
conversely, read_group can not aggregate on inherited numerical fields, so if it reads *all* the columns (including inherited) it will try to aggregate on fields it's not reading and that's also going to blow up.
bzr revid: xmo@openerp.com-20110711113228-18mbcft9y2lf7ptm
2011-07-11 13:32:28 +02:00
Fabien Meghazi
91878db598
[IMP] Dates widget not really disabled (was still possible to use the icon in order to change date)
...
bzr revid: fme@openerp.com-20110711095039-v22g7ce3u0h9jhbp
2011-07-11 11:50:39 +02:00
Fabien Meghazi
f5b9ad4873
[FIX] Some client's default values did not set touched state to true
...
bzr revid: fme@openerp.com-20110711092848-k5a1pegxc0gyyryg
2011-07-11 11:28:48 +02:00
Xavier Morel
5d2dc020ac
[IMP] add basic display for float_time and progress widget types
...
bzr revid: xmo@openerp.com-20110708143728-9mp6zh3a9rpvra17
2011-07-08 16:37:28 +02:00
Xavier Morel
f5b72b6bcb
[FIX] rendering of m2o selections after edition in editable lists
...
moved rendering of cell contents into JS to have more control (and simpler tests/dispatching. May also help the method getting JITed, with a bit o' luck)
bzr revid: xmo@openerp.com-20110708140655-lpbtriqto8tz2uxx
2011-07-08 16:06:55 +02:00
Xavier Morel
ff19bed2b3
[FIX] the keyup event using the return key on a selection widget should not propagate if that [Return] press changed the widget's value
...
bzr revid: xmo@openerp.com-20110708123853-znak06wgm4uvoi7q
2011-07-08 14:38:53 +02:00
Xavier Morel
fe88c437fe
[IMP] correctly use underscore, remove 4 useless lines
...
bzr revid: xmo@openerp.com-20110708113704-lulvihowvrd7zhkg
2011-07-08 13:37:04 +02:00
niv-openerp
b4d3c937ad
[fix] small problem in field selection
...
bzr revid: nicolas.vanhoren@openerp.com-20110707154649-u6djzfim3wc9zg97
2011-07-07 17:46:49 +02:00
Fabien Meghazi
8c08d3841b
[REM] Removed use of attrs and replaced it with modifiers
...
bzr revid: fme@openerp.com-20110707142948-8fs7g42488usa3pd
2011-07-07 16:29:48 +02:00
niv-openerp
17f3714bad
[fix] many problems in selection fields, not handling correctly false value & not compatible with m2o
...
bzr revid: nicolas.vanhoren@openerp.com-20110707141924-xx2ya1d53t2valw5
2011-07-07 16:19:24 +02:00
Fabien Meghazi
aa1ae20796
[FIX] Always open action target=current in new tab/window for actions triggered by buttons
...
bzr revid: fme@openerp.com-20110707141641-08ooxxj8qc67ucpg
2011-07-07 16:16:41 +02:00
Xavier Morel
f8c1e9819c
[IMP] row(s) removal in list views: don't reload the whole list, just drop the relevant (or not relevant anymore) rows
...
lp bug: https://launchpad.net/bugs/805550 fixed
bzr revid: xmo@openerp.com-20110707134843-vj1yrmcffsuuc0aa
2011-07-07 15:48:43 +02:00
Bhumi Thakkar (Open ERP)
22eea85f7e
[FIX] Parent category displayed in dropdownlist
...
bzr revid: bth@tinyerp.com-20110707123435-i4qr7xxmrztc80jc
2011-07-07 18:04:35 +05:30
Fabien Meghazi
f0f386e748
[REM] Removed use of attrs and replaced it with modifiers
...
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8
bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-07-07 12:37:40 +02:00
niv-openerp
3969cdd265
[fix] some concurrency problem with o2m & m2m
...
bzr revid: nicolas.vanhoren@openerp.com-20110707090721-70hamcwp2p2xemrg
2011-07-07 11:07:21 +02:00
Fabien Meghazi
74da6f234e
[ADD] Added form widget integer
...
bzr revid: fme@openerp.com-20110707085515-43cjuvemtkpjgy8z
2011-07-07 10:55:15 +02:00
Xavier Morel
1847dbc017
[MERGE] list pagination branch
...
bzr revid: xmo@openerp.com-20110706083214-1thifexcz5pk0jih
2011-07-06 10:32:14 +02:00
Xavier Morel
d44af4944d
[FIX] groupby, broken at revision nicolas.vanhoren@openerp.com-20110629103046-rbsy0m6pke3ytqyl by a change in RPC response format for handlers added on ajax promise
...
Previously, callbacks passed as parameters to the RPC ajax call would receive only the result key of the json-rpc response (aka the part worth using), but callbacks added to the promise (via .then, .done or .fail) would get the whole json-rpc response (due to getting the jQuery ajax promise itself and not going through the json-rpc translation layer) and would need to add an indirection via xhr_response.result.
This was fixed in nicolas.vanhoren@openerp.com-20110629103046-rbsy0m6pke3ytqyl , but the relevant code in ContainerDataGroup.fetch was not fixed, would still go through the indirection and would therefore return an empty list (of groups) to the listview, leading to no groups being displayed
bzr revid: xmo@openerp.com-20110706072324-io03rcd33qwtxo3w
2011-07-06 09:23:24 +02:00
niv-openerp
657b659193
[fix] small fix for non-logical state in search view
...
bzr revid: nicolas.vanhoren@openerp.com-20110705093711-0rcb0y7c0cosemua
2011-07-05 11:37:11 +02:00
Xavier Morel
06a568f19d
[REM] logging
...
bzr revid: xmo@openerp.com-20110705065736-mgmfdk0ytn5z2kwf
2011-07-05 08:57:36 +02:00
Xavier Morel
2f8dba7b4a
[IMP] move actionmanager creation to treeview constructor, nest & simplify action definition, make anonymous (we don't need the variable)
...
bzr revid: xmo@openerp.com-20110705065533-hr88cj252ejoqxfp
2011-07-05 08:55:33 +02:00
Xavier Morel
fa9c2829d0
[FIX] value-content tests on set_value for some widgets
...
note: NaN != NaN, need to use isNaN
bzr revid: xmo@openerp.com-20110704121057-k9vrgim1pfc1g8u1
2011-07-04 14:10:57 +02:00
niv-openerp
ec5f22eaeb
[imp] removed checkbox to save password in login page
...
bzr revid: nicolas.vanhoren@openerp.com-20110704153259-cbz2qz0a95x53and
2011-07-04 17:32:59 +02:00
niv-openerp
445a879e58
[imp] cosmetic change in filters
...
bzr revid: nicolas.vanhoren@openerp.com-20110704152347-mu8wuii976oablzr
2011-07-04 17:23:47 +02:00
niv-openerp
20ceff1444
[fix] changed domain handling in select create popup and added non-selection of already selected rows in m2m
...
bzr revid: nicolas.vanhoren@openerp.com-20110704152027-z1tgamwz0uo8v5ml
2011-07-04 17:20:27 +02:00