Commit Graph
936 Commits
Author SHA1 Message Date
Antony Lesuisse 8a6af30013 cleanup of base.Controller base.BaseWidget
bzr revid: al@openerp.com-20110715142957-bdop2z6qv9v8ahpn
2011-07-15 16:29:57 +02:00
Antony Lesuisse f0defe0af7 controller move callback and basiccontroller to controller
bzr revid: al@openerp.com-20110715142112-vginop8ms0bgxje5
2011-07-15 16:21:12 +02:00
Antony Lesuisse 2decff7b21 controller move Class from base to controller
bzr revid: al@openerp.com-20110715141600-4tr536v7vfrv9tkk
2011-07-15 16:16:00 +02:00
Xavier Morel b0e6f97abd [FIX] table paginator and buttons look and layout in case of constrained horizontal space
bzr revid: xmo@openerp.com-20110715125044-kcrwluqrq952pqry
2011-07-15 14:50:44 +02:00
Xavier Morel d6dee4c334 [IMP] enable jquery-ui on search m2o widgets
bzr revid: xmo@openerp.com-20110715122305-1pwttyioe96uwoft
2011-07-15 14:23:05 +02:00
Xavier Morel 02feed6338 [FIX] oops, forgot some logging
bzr revid: xmo@openerp.com-20110715120856-ijpicqlyumrt69rh
2011-07-15 14:08:56 +02:00
Xavier Morel 6b1ab45d87 [IMP] allow search widgets to have an async startup, make m2o widget name_get their default value and behave correctly for fuzzy searches
bzr revid: xmo@openerp.com-20110715115800-gd9xspshxy7hnvun
2011-07-15 13:58:00 +02:00
niv-openerp c15ddcd5f9 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110715101151-fshuut4ujslbzxvn
2011-07-15 12:11:51 +02:00
Xavier Morel 47932748d8 [FIX] missed result derefs to remove
bzr revid: xmo@openerp.com-20110715095527-yeuwi5u46cltuylg
2011-07-15 11:55:27 +02:00
Xavier Morel f3af583536 [IMP] SearchView: fix some style issue, remove resolved todo marks, fix global variables which should not be global (and remove some unneeded intermediate variables)
bzr revid: xmo@openerp.com-20110715080145-t3bz1hslil459fxk
2011-07-15 10:01:45 +02:00
Xavier Morel 4f5f4e537c [FIX] when switching between actions like a madman, there seem to be cases when a search view *should* be ready (on_loaded has finished executing) yet not all widgets are fully rendered (has only happened on the Date one so far, YMMV)
just raise an invalid search error instead of blowing up, I can't find what the actual problem is for now

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

bzr revid: xmo@openerp.com-20110715075328-0lfwvnoul9atv2tc
2011-07-15 09:53:28 +02:00
Xavier Morel 8b7470bdb9 [FIX] reload records on listview edition cancel (in case some action changed a value while in form mode)
also improve sequencing of operation in case of edition cancelling in order to lower the risks of race condition

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

bzr revid: xmo@openerp.com-20110715071853-i9yrepxeh8b70me8
2011-07-15 09:18:53 +02:00
niv-openerp 55f5cf3eff [fix] small css problem in advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110714141402-t5coqe7mflz8dmsp
2011-07-14 16:14:02 +02:00
niv-openerp 90bb70473e [fix] big fix related to domains and contexts defined in a model
bzr revid: nicolas.vanhoren@openerp.com-20110714135200-03e9ovknnz9lusni
2011-07-14 15:52:00 +02:00
Fabien Meghazi 7416171ae1 [FIX] Binary fields : readonly modifiers
bzr revid: fme@openerp.com-20110714132957-xm7k4q24kafk7bjy
2011-07-14 15:29:57 +02:00
Fabien Meghazi b502830339 [IMP] Changed reference field to FieldChar
bzr revid: fme@openerp.com-20110714131849-ff301kdaqndqp9n4
2011-07-14 15:18:49 +02:00
Fabien Meghazi e32df7bb5d [ADD] Add a dialog function + xml view debug mode
bzr revid: fme@openerp.com-20110714100933-ce42j7ca2yzw0bsr
2011-07-14 12:09:33 +02:00
Xavier Morel 9d814c830b [FIX] remove bloody crazy (and useless) indirection keys in DataSet.call and DataSet.get_result RPC methods
bzr revid: xmo@openerp.com-20110714100522-94rp1otj1n4hrf2x
2011-07-14 12:05:22 +02:00
Xavier Morel 7578658e69 [FIX] indentation in Session.rpc and Session.rpc_ajax, use early bailout to make code flow simpler and reduce indentation significantly
bzr revid: xmo@openerp.com-20110714095731-2kuqyl0p289ouut7
2011-07-14 11:57:31 +02:00
Xavier Morel c6bcc855e1 [FIX] DataSet.read_slice needs to return the relevant deferred so callers can add new callbacks or use $.when multiplexing
bzr revid: xmo@openerp.com-20110714095619-4owz98azxy9xkpi0
2011-07-14 11:56:19 +02:00
Xavier Morel 3496acfab4 [FIX] reintroduce little arrows indicating the current sorting orientation in list views
bzr revid: xmo@openerp.com-20110713111815-v0rhnt31vykx2xcu
2011-07-13 13:18:15 +02:00
Xavier Morel d1209c847b [FIX] sorting list views
lp bug: https://launchpad.net/bugs/809309 fixed

bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
Xavier Morel 9e0738b97d [FIX] column visibility, due to removal of attribute computation and replacement with modifiers mapping
bzr revid: xmo@openerp.com-20110712143408-tv1wlyfolfj0qish
2011-07-12 16:34:08 +02:00
Xavier Morel 17d87a9599 [FIX] group titles should display 'Undefined' for false values, rather than 'false'
bzr revid: xmo@openerp.com-20110712141934-qk3zfckzh32b8xu1
2011-07-12 16:19:34 +02:00
Fabien Meghazi ab755d5000 [FIX] Form layout. Allocated space for labels should be computed with original field widget's colspan
bzr revid: fme@openerp.com-20110713151816-6hkid04t2tlarq9d
2011-07-13 17:18:16 +02:00
Fabien Meghazi 595496206c [IMP] Improved action buttons for wizards
bzr revid: fme@openerp.com-20110713142502-r9xzs6crfusu5ccl
2011-07-13 16:25:02 +02:00
niv-openerp 16d5b55a7a [imp] used form open popup in o2m
bzr revid: nicolas.vanhoren@openerp.com-20110713110532-fp6n7gm52e1zrinq
2011-07-13 13:05:32 +02:00
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
niv-openerp 0485c630de [imp] used the form open popup in m2m
bzr revid: nicolas.vanhoren@openerp.com-20110713095949-242ibznw1f0qfwet
2011-07-13 11:59:49 +02:00
niv-openerp 289ec3545b [fix] when modify a record in a m2o, does not reload the name of the record
bzr revid: nicolas.vanhoren@openerp.com-20110713095352-qcbmhca6r4bvx1j3
2011-07-13 11:53:52 +02:00
niv-openerp b29106581f [imp] added popup to read & modify a record and used it in m2o (also some fix related to relations)
bzr revid: nicolas.vanhoren@openerp.com-20110713094411-wrbaa6m4zewm521m
2011-07-13 11:44:11 +02:00
niv-openerp 97966e8eff [imp] some improvements to display in relation popups
bzr revid: nicolas.vanhoren@openerp.com-20110712161610-iduz56dva4iwcfhq
2011-07-12 18:16:10 +02:00
niv-openerp e96243a12b [fix] some bug related to 'enter' button in m2o & editable lists
bzr revid: nicolas.vanhoren@openerp.com-20110712141610-o6h1xa9zb8vfgygi
2011-07-12 16:16:10 +02:00
niv-openerp 65190b7f8c [imp] cosmetic change in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110712130910-akmszcbyjwugkkk7
2011-07-12 15:09:10 +02:00
Fabien Meghazi 24e3ab4f07 [IMP] Improved & fixed some action dialogs problems. Added openerp.base.ActionDialog
bzr revid: fme@openerp.com-20110712124714-9jj58xrzi97negug
2011-07-12 14:47:14 +02:00
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
Jiten Rangwala (OpenERP) 48536c6a05 [FIX] Fixed the issue of namespace(web_mobile) dependency with base.
bzr revid: jra@tinyerp.com-20110711060430-3tjwq1eveogocou1
2011-07-11 11:34:30 +05:30
Jiten Rangwala (OpenERP) f057b8792f [MERGE]
bzr revid: jra@tinyerp.com-20110711053317-te0acxf0wqdorypi
2011-07-11 11:03:17 +05:30
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