Commit Graph

978 Commits

Author SHA1 Message Date
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
Fabien Meghazi 3e79375a01 [FIX] clean_action not always return action
bzr revid: fme@openerp.com-20110712133430-l55d0bwxwb0znke1
2011-07-12 15:34:30 +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
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
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
niv-openerp ea9b60393e [imp] desactivated stupid hello module
bzr revid: nicolas.vanhoren@openerp.com-20110707084415-6or8nj1mrt9pql7e
2011-07-07 10:44: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 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
niv-openerp 17ee1786b1 [imp] small cosmetic improvements in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110704150554-6rbrd63h0qunz84n
2011-07-04 17:05:54 +02:00
niv-openerp c0ef247865 [imp] made o2m & m2m non multi selectable
bzr revid: nicolas.vanhoren@openerp.com-20110704150017-no4glzx2h7omkacr
2011-07-04 17:00:17 +02:00
niv-openerp 433c989399 [imp] minor: changed level of some logging
bzr revid: nicolas.vanhoren@openerp.com-20110704143035-iwmbqfy0gifdnllm
2011-07-04 16:30:35 +02:00
niv-openerp efdfe7731d [fix] fixed some problem with on_change and warnings
bzr revid: nicolas.vanhoren@openerp.com-20110704114131-kusycqhnkvyd8ye8
2011-07-04 13:41:31 +02:00
niv-openerp ee1ec9dae7 [fix] problem with context handling in on_change when there is no context
bzr revid: nicolas.vanhoren@openerp.com-20110704113740-fv3s5wrzlnkagpuv
2011-07-04 13:37:40 +02:00
niv-openerp 59f75a3eae [fix] warning message in form not handling correctly all cases
bzr revid: nicolas.vanhoren@openerp.com-20110704111134-juo51t5rxo5vdt0w
2011-07-04 13:11:34 +02:00
niv-openerp 5363cc4f0b [fix] problem with on_change and parent
bzr revid: nicolas.vanhoren@openerp.com-20110704094855-q2aytq7xna3nxftq
2011-07-04 11:48:55 +02:00
niv-openerp f21e145cf8 [fix] problem with on_change and contexts
bzr revid: nicolas.vanhoren@openerp.com-20110704091247-1er8ulga0xl4boo4
2011-07-04 11:12:47 +02:00
niv-openerp c8e8b7cc26 [fix] small bug with o2m & editable lists
bzr revid: nicolas.vanhoren@openerp.com-20110704083858-n9d4bopimfmhdg32
2011-07-04 10:38:58 +02:00
niv-openerp b3f48d4432 [fix] possible issue with rpc
bzr revid: nicolas.vanhoren@openerp.com-20110701120025-nzv1gmm19fn5uo9t
2011-07-01 14:00:25 +02:00
niv-openerp a8e6836f3c [imp] refactoring related to the usage of dataset.context
bzr revid: nicolas.vanhoren@openerp.com-20110701115912-40hkax6c4s28quop
2011-07-01 13:59:12 +02:00