Commit Graph

251 Commits

Author SHA1 Message Date
Roberto López López (OpenERP) a9a4f65dd3 [ADD] page view template split out from form template
bzr revid: rlo@openerp.com-20111129145810-5l47j142zrn1ki50
2011-11-29 15:58:10 +01:00
Fabien Meghazi 32d3c44e3e [FIX] Do not alter field.selection in SelectionField. Clone the array instead.
Revert #1550: debug information should not be altered.

bzr revid: fme@openerp.com-20111124134627-mx3k2s22naht07go
2011-11-24 14:46:27 +01:00
Antoine Huvelle 637398a538 [ADD] adding a new css class 'oe_form_readonly' to the uneditable form to ease css selection and changes
bzr revid: ahu@openerp.com-20111124130253-zcmgizy9vmhk90yb
2011-11-24 14:02:53 +01:00
Xavier Morel ed3b0ae90b [FIX] list of options in debug tooltip of selection fields
bzr revid: xmo@openerp.com-20111124123940-3899y6lw74uttedx
2011-11-24 13:39:40 +01:00
Xavier Morel c97e5f6ead [IMP] use optgroups in filters management thingie
bzr revid: xmo@openerp.com-20111124102130-w3aro8z4w124b2ng
2011-11-24 11:21:30 +01:00
Fabien Meghazi 66d11b95f4 [ADD] Added possibility to add actions to dashboards from searchviews filters
bzr revid: fme@openerp.com-20111123215356-wspyu61u6ad1vois
2011-11-23 22:53:56 +01:00
Xavier Morel 7ad035a774 [FIX] condition for displaying open/close arrow of tree views
failed to display it in the BOM structure screen even on nodes with children

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

bzr revid: xmo@openerp.com-20111123142820-5o7wx3rqd5r18lgk
2011-11-23 15:28:20 +01:00
Antoine Huvelle 2d84daf210 [MERGE] merge with trunk
bzr revid: ahu@openerp.com-20111123124516-f7e2u166phuzqw9r
2011-11-23 13:45:16 +01:00
Vidhin Mehta (OpenERP) 78364434d9 [FIX]fix issue of bug 877995.
bzr revid: vme@tinyerp.com-20111123110518-vh6ep8bf32ym26sq
2011-11-23 16:35:18 +05:30
niv-openerp 8501aecd3b [imp] according to al's request, added Neko
bzr revid: nicolas.vanhoren@openerp.com-20111123100542-s3hc8gk67u8cpkdd
2011-11-23 15:35:42 +05:30
niv-openerp d81ede53a0 [merge] improvements to view editor
bzr revid: nicolas.vanhoren@openerp.com-20111123100452-4gi9wh2dbvq68i9a
2011-11-23 15:34:52 +05:30
Xavier Morel d00008c994 [FIX] if necessary, add padding when rendering a given row in an editable list.
otherwise there are columns missing, and the list looks broken

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

bzr revid: xmo@openerp.com-20111123093313-8qair3pai8ms4ch7
2011-11-23 10:33:13 +01:00
Antoine Huvelle d83aab5595 [IMP] Font size and padding for the list view. Removing & changing deletion icon. Changing Search icons
bzr revid: ahu@openerp.com-20111122130537-0egbg0bffgrpd99g
2011-11-22 14:05:37 +01:00
Yogesh (OpenERP) 1a2277c140 [MERGE] Merge with trunk upto revision no 1521.
bzr revid: ysa@tinyerp.com-20111118044850-ygx7yd77oc4dd8ha
bzr revid: ysa@tinyerp.com-20111121051559-hqfcuel4vcqpsa62
bzr revid: ysa@tinyerp.com-20111122045234-35tg4dzgaadrfc95
2011-11-22 10:22:34 +05:30
Christophe Simonis f994e70e41 merge upstream
bzr revid: chs@openerp.com-20111117125432-zhfrcyrtwy9b9cv8
bzr revid: chs@openerp.com-20111118132606-6gh7zmrx7606w8fv
2011-11-18 14:26:06 +01:00
Yogesh (OpenERP) 0aca8061fa [FIX] correct selection fields help. False not display in help text.
lp bug: https://launchpad.net/bugs/890558 fixed

bzr revid: ysa@tinyerp.com-20111118095905-guzif5hgr4m0nk2j
2011-11-18 15:29:05 +05:30
Fabien Meghazi 42cdd75942 [FIX] Strange overflow of unwrapped text in 100% width buttons under Firefox
lp bug: https://launchpad.net/bugs/885765 fixed

bzr revid: fme@openerp.com-20111117090117-m5du8bph807nhpju
2011-11-17 10:01:17 +01:00
Yogesh (OpenERP) ae931e7a9d [MERGE] Merge with trunk upto revision no 1493.
bzr revid: ysa@tinyerp.com-20111117045731-9zjfsdrt7j590yx1
2011-11-17 10:27:31 +05:30
Fabien Meghazi 811c58e697 [FIX] Fixes form's date[time] widgets problems with jQuery ui date[time]pickers
lp bug: https://launchpad.net/bugs/877976 fixed
lp bug: https://launchpad.net/bugs/885385 fixed

bzr revid: fme@openerp.com-20111116222705-dg4u0lpw6p2o8nx1
2011-11-16 23:27:05 +01:00
Fabien Meghazi 5bcda27aa1 [IMP] Use t-js
bzr revid: fme@openerp.com-20111116164639-y76q8quqj60r2w3j
2011-11-16 17:46:39 +01:00
Xavier Morel d6456b277e [FIX] you get an icon, you get an icon, everybody gets anb icon!
if a searchview filter does not have an icon, default to gtk-home

bzr revid: xmo@openerp.com-20111116134805-yd4ze31j8zc5fw7u
2011-11-16 14:48:05 +01:00
Christophe Simonis 3a068ad3b9 merge upstream
bzr revid: chs@openerp.com-20111115170045-gkwow6acpskbl9yi
2011-11-15 18:00:45 +01:00
Christophe Simonis 4d7a24e814 [IMP] nivification of Loading widget
bzr revid: chs@openerp.com-20111115165530-mvunu1bsuiq1k4du
2011-11-15 17:55:30 +01:00
Christophe Simonis 161b9409f7 merge upstream
bzr revid: chs@openerp.com-20111114101418-e3u2p5m1a9lcquoi
bzr revid: chs@openerp.com-20111115142912-mqa9p1u0msw5w00h
2011-11-15 15:29:12 +01:00
Yogesh (OpenERP) 8d718eb7da [MERGE] Merge with trunk upto revision no 1469.
bzr revid: ysa@tinyerp.com-20111115050159-xn0kxam21tenh6wb
2011-11-15 10:31:59 +05:30
Fabien Meghazi 95c31ad01c [ADD] FormView: Added debug information as tooltips
bzr revid: fme@openerp.com-20111114205916-549at8roai7yrpjm
2011-11-14 21:59:16 +01:00
Fabien Meghazi 86ecdd5e90 [FIX] Form view: 'string' attribute on 'group' tag is ignored (courtesy of Stefan Rijnhart)
lp bug: https://launchpad.net/bugs/883445 fixed

bzr revid: fme@openerp.com-20111114101118-jtqxe3095j9pn4ik
2011-11-14 11:11:18 +01:00
Xavier Morel 9417544ae1 [ADD] borders to table data cells
lp bug: https://launchpad.net/bugs/849867 fixed

bzr revid: xmo@openerp.com-20111114092026-dukm2lml07ngwh0o
2011-11-14 10:20:26 +01:00
Xavier Morel 737f5db54e [IMP] right-align number cells in editable list rows
bzr revid: xmo@openerp.com-20111114075940-f5fxqeq01pudxhez
2011-11-14 08:59:40 +01:00
Yogesh (OpenERP) 31c2c9ec26 [IMP] imporve xml template of vieweditor.
bzr revid: ysa@tinyerp.com-20111114045559-hhmbhbudn4j0j1hs
2011-11-14 10:25:59 +05:30
Yogesh (OpenERP) a6891d08b0 [IMP] Vieweditor :- improve xml template.
bzr revid: ysa@tinyerp.com-20111114045317-k04qusdxo9p3wa1h
2011-11-14 10:23:17 +05:30
Yogesh (OpenERP) 0b3900d31f [IMP] vieweditor :- node have no attributes then edit icon not display.
bzr revid: ysa@tinyerp.com-20111111104409-bvpizxka5a0i20dd
2011-11-11 16:14:09 +05:30
Yogesh (OpenERP) 453f747b1d [IMP] vieweditor :- improve variable name in widget.
bzr revid: ysa@tinyerp.com-20111111051258-aap5omofy15d79qw
2011-11-11 10:42:58 +05:30
Yogesh (OpenERP) 44af6726ce [IMP] improve xml template for checkbox and radio button.
bzr revid: ysa@tinyerp.com-20111110121550-wg7k2oqgwh3v47km
2011-11-10 17:45:50 +05:30
Yogesh (OpenERP) 014fc45592 [IMP] vieweditor:- default view select in manage view dialog box.
bzr revid: ysa@tinyerp.com-20111110110914-o5scsgjqoaedd4wr
2011-11-10 16:39:14 +05:30
Stefan Rijnhart c2d42b0968 [FIX] Changed widget name to WidgetGroup as per convention
bzr revid: stefan@therp.nl-20111110101006-czp6fferclxlz8v8
2011-11-10 11:10:06 +01:00
Yogesh (OpenERP) 0ce4e34705 [MERGE] Merge with trunk upto revision no 1432.
bzr revid: ysa@tinyerp.com-20111110051150-b1b7e0c3qqowb6u3
2011-11-10 10:41:50 +05:30
Christophe Simonis 10bbbad52f [FIX] base.xml: use full absolute url for all images
bzr revid: chs@openerp.com-20111109081459-b031iutztocpxo9w
2011-11-09 09:14:59 +01:00
Yogesh (OpenERP) 5e3a533f39 [IMP] vieweditor :- improve code in edit widget class.
bzr revid: ysa@tinyerp.com-20111109075206-s2k6s8t9n8ik1qu3
2011-11-09 13:22:06 +05:30
Xavier Morel 27835418e0 [IMP] various res.log improvements
bzr revid: xmo@openerp.com-20111109120934-e2zov5icnay7u76y
2011-11-09 13:09:34 +01:00
Fabien Meghazi 200e143ef3 [REM] Removed TranslateDialog tabs. Focus field correctly and scroll overflow to the focused field
bzr revid: fme@openerp.com-20111109115832-w711t2duob958j7v
2011-11-09 12:58:32 +01:00
Xavier Morel de0582a26b [ADD] ability to close res_log listing
bzr revid: xmo@openerp.com-20111109115009-bce3wb65tawhbn9z
2011-11-09 12:50:09 +01:00
Xavier Morel 493f313c67 [IMP] only display last 3 log items, add link to display everything
bzr revid: xmo@openerp.com-20111109113535-mwht7h1xkw4jdqfp
2011-11-09 12:35:35 +01:00
Fabien Meghazi 8f964aa504 [IMP] Search view: align buttons on the left
bzr revid: fme@openerp.com-20111109105146-pmfomcxoflk78f7o
2011-11-09 11:51:46 +01:00
Yogesh (OpenERP) d7213de315 [IMP] Vieweditor:- improve xml of edit node view editor and init method of widget class
bzr revid: ysa@tinyerp.com-20111108130327-iozuye9ll7tgb2pq
2011-11-08 18:33:27 +05:30
Kunal Chavda (OpenERP) 0658a41309 [IMP]Improved code as par review.
bzr revid: kch@tinyerp.com-20111108112910-p177yz5g4lfcorg1
2011-11-08 16:59:10 +05:30
Kunal Chavda (OpenERP) 39066e647a [Merge]Merge main view editor branch upto 1410 revision and fix code for getting updated arch.
bzr revid: kch@tinyerp.com-20111108085924-d7x7fgulk29fcgcq
2011-11-08 14:29:24 +05:30
Fabien Meghazi 6389731d37 [IMP] Refactored form view's buttons
Yuck

bzr revid: fme@openerp.com-20111107134539-ndykhew56v66i218
2011-11-07 14:45:39 +01:00
Kunal Chavda (OpenERP) 163a39beaf [MERGE]merge main view editor branch upto 898 revision.
bzr revid: kch@tinyerp.com-20111102122747-5n90kd5kxxni80mf
2011-11-02 17:57:47 +05:30
Kunal Chavda (OpenERP) c1956c46d4 [IMP]Improved code for fill selection box value in edit node of view editor.
bzr revid: kch@tinyerp.com-20111101132257-j222v9nfkflm2m2h
2011-11-01 18:52:57 +05:30
Yogesh (OpenERP) 8fcf3cf5d9 [MERGE] Merge with trunk upto revision no 1400.
bzr revid: ysa@tinyerp.com-20111101060743-3e79d5yg8pgww57h
2011-11-01 11:37:43 +05:30
Stefan Rijnhart 93d35328dc [IMP] Form view: honours 'string' attribute on 'group' tag
lp bug: https://launchpad.net/bugs/883445 fixed

bzr revid: stefan@therp.nl-20111029172354-gryhpp17e3nr4rr8
2011-10-29 19:23:54 +02:00
niv-openerp a2a6c33951 [merge] improvements to the view editor
bzr revid: nicolas.vanhoren@openerp.com-20111103101952-a5zk1wgi1qkd6pr3
2011-11-03 11:19:52 +01:00
Fabien Meghazi 66ea543974 [FIX] Add support for @align attribute in form views
lp bug: https://launchpad.net/bugs/844625 fixed

bzr revid: fme@openerp.com-20111027124325-ckd8kuujbb591nqu
2011-10-27 14:43:25 +02:00
Xavier Morel fca7ced152 [IMP] rename 'this' from 'view' to 'widget' in the FormView template rendering to increase coherency amongst templates, courtesy of Valentin Lab
bzr revid: xmo@openerp.com-20111027104517-9u3b8q0e50mboikw
2011-10-27 12:45:17 +02:00
Xavier Morel a989c15dfb [ADD] titles on all viewmanagers, for o2m lists. Un-styled
bzr revid: xmo@openerp.com-20111027061727-0elo0jciwv7lu3mt
2011-10-27 08:17:27 +02:00
Fabien Meghazi de31afa995 [FIX] Password fields values are not hidden
lp bug: https://launchpad.net/bugs/880804 fixed

bzr revid: fme@openerp.com-20111025185030-vw69honpjoaekh2v
2011-10-25 20:50:30 +02:00
Xavier Morel 59c9d34417 [ADD] title to all viewmanager variants
Uses the string of the current view arch by default, overridden with action name by ViewManagerAction.

Mostly of use for/with o2m and m2m fields

bzr revid: xmo@openerp.com-20111025143738-yugscol5kabg8whv
2011-10-25 16:37:38 +02:00
Kunal Chavda (OpenERP) b14b4c956c [IMP]Improved code for getting value of selection box x in edit node.
bzr revid: kch@tinyerp.com-20111025131312-jgkdm51vblkvag9s
2011-10-25 18:43:12 +05:30
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
Yogesh (OpenERP) 55ad46220d [IMP] improve css and view.
bzr revid: ysa@tinyerp.com-20111025084951-0ty7vt1kfw0nrykr
2011-10-25 14:19:51 +05:30
Yogesh (OpenERP) f1f48e69f0 [MERGE] Merge with trunk upto revision no 1349.
bzr revid: ysa@tinyerp.com-20111017051054-5l3pjg5sytilkjwg
bzr revid: ysa@tinyerp.com-20111018045137-msfhlnn9lofb26xv
bzr revid: ysa@tinyerp.com-20111019050434-b2uyjsget3ezfmpp
bzr revid: ysa@tinyerp.com-20111020045022-drhcz2yd62can1sy
bzr revid: ysa@tinyerp.com-20111021044543-1b1v2m4t32rifd33
bzr revid: ysa@tinyerp.com-20111024050516-2hasbf5q4v1j64kk
bzr revid: ysa@tinyerp.com-20111024130602-iixh5nvuio1nhs7x
bzr revid: ysa@tinyerp.com-20111025050237-xvf583083lg1hrrj
2011-10-25 10:32:37 +05:30
niv-openerp 6cb7f2b6f9 [imp] m2o now supports readonly mode
bzr revid: nicolas.vanhoren@openerp.com-20111024152056-2nfx7zk4kc9py17k
2011-10-24 17:20:56 +02:00
Xavier Morel 84a383d5aa [IMP] make notebooks in page view identical to those of normal form view
as requested by fp

bzr revid: xmo@openerp.com-20111024151158-7hqox4k6xrjujxnb
2011-10-24 17:11:58 +02:00
niv-openerp a617e3bacc [fix] small problem with the context menu of m2o when there is not item selected
bzr revid: nicolas.vanhoren@openerp.com-20111024151039-k9jlntcj3n56h13d
2011-10-24 17:10:39 +02:00
Xavier Morel 06344150eb [FIX] automatically open options box if the file fails to parse entirely
bzr revid: xmo@openerp.com-20111024142744-zeal912gqf9bvrrp
2011-10-24 16:27:44 +02:00
Xavier Morel cd59e5e6fb [ADD] open/close arrow next to import options
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
2011-10-24 16:17:37 +02:00
Xavier Morel b45b7ad22c [IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24 16:06:58 +02:00
Xavier Morel a8b81ed575 [ADD] dropdown arrow next to import autocompletes
bzr revid: xmo@openerp.com-20111024135521-aikh791r9j94moal
2011-10-24 15:55:21 +02:00
Xavier Morel ce45893633 [FIX] Display 'don't import' placeholder when no value selected
bzr revid: xmo@openerp.com-20111024134413-kgcgemdzquwtn0ns
2011-10-24 15:44:13 +02:00
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
Kunal Chavda (OpenERP) 1e27353ed7 [MERGE]merge main view editor branch upto 890 revision.
bzr revid: kch@tinyerp.com-20111024131218-p6liwm82irnd3q4c
2011-10-24 18:42:18 +05:30
Kunal Chavda (OpenERP) 59f3ab077f [IMP]Improved code for edit node by setting its value.
bzr revid: kch@tinyerp.com-20111024125912-m9w3v9bnikurtlxf
2011-10-24 18:29:12 +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
Xavier Morel ec18460aa3 [ADD] pagination buttons at the bottom of the list view
bzr revid: xmo@openerp.com-20111024084853-kcq2dflsk36r6pby
2011-10-24 10:48:53 +02:00
Turkesh Patel (Open ERP) 940b1138ae [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111024060926-f47bcg8jkmx449z2
2011-10-24 11:39:26 +05:30
Turkesh Patel (Open ERP) 75a57eed12 [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
2011-10-21 16:14:41 +05:30
Turkesh Patel (Open ERP) d049a25fa5 [FIX] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
lp bug: https://launchpad.net/bugs/878106 fixed

bzr revid: tpa@tinyerp.com-20111021065103-slbb7n124cuyvwhm
2011-10-21 12:21:03 +05:30
Kunal Chavda (OpenERP) f76bdfb1fa [MERGE]merge main view editor branch upto 884 revision.
bzr revid: kch@tinyerp.com-20111017103740-v7lrybz3gkq2ujxa
2011-10-17 16:07:40 +05:30
Yogesh (OpenERP) 0a89e5f627 [MERGE] Merge with trunk upto revison no 1256.
bzr revid: ysa@tinyerp.com-20111014045839-rc5gvd0crl20pjqv
2011-10-14 10:28:39 +05:30
Antony Lesuisse 7b5b9d45ad [MERGE] notification cleanups by chs
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
2011-10-14 02:30:56 +02:00
Kunal Chavda (OpenERP) c5f5637e09 [IMP]trying to setvalue into edit node data.
bzr revid: kch@tinyerp.com-20111013110039-i92u5ghg9kjzxwe6
2011-10-13 16:30:39 +05:30
Christophe Simonis 00b269d1c0 [IMP] nivification of Notification Widget
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Yogesh (OpenERP) 89a7c1cdaf [MERGE] Merge with trunk upto revision no 1242.
bzr revid: ysa@tinyerp.com-20111013050907-gp4mqxjnatf9591b
2011-10-13 10:39:07 +05:30
Fabien Meghazi 65792ba3cb [MERGE] Change the way the sections and items are added to the sidebar
bzr revid: fme@openerp.com-20111012135735-6o905df1db7tmybh
2011-10-12 15:57:35 +02:00
Vidhin Mehta (OpenERP) df2e90a5f6 [MERGE] merge with main view editor branch.
bzr revid: vme@tinyerp.com-20111012104225-yqx4xb5r0d0u3gzn
2011-10-12 16:12:25 +05:30
Yogesh (OpenERP) c6d4bea1c2 [MERGE] Merge with trunk upto revision no 1218.
bzr revid: ysa@tinyerp.com-20111012050918-c83f2y42ocshk6e6
2011-10-12 10:39:18 +05:30
Vidhin Mehta (OpenERP) 22099a2d9e [IMP]fix review's issue and try to convert single method for inherited view search
bzr revid: vme@tinyerp.com-20111011133456-vq1i5cv2pmbkhixz
2011-10-11 19:04:56 +05:30
Xavier Morel 039e42110f [IMP] copy colorization code from listview to treeview
bzr revid: xmo@openerp.com-20111011112924-ih7on411mirf5wmi
2011-10-11 13:29:24 +02:00
Fabien Meghazi 9b3903be98 [FIX] m2o of reference fields does not seem working
m2o needs additional properties from view.
reference template was broken
now hide the m2o widget when no value is selected

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

bzr revid: fme@openerp.com-20111011105426-2s4d82185q5ok4ry
2011-10-11 12:54:26 +02:00
Yogesh (OpenERP) 80e7857347 [MERGE] MErge with trunk upto revision no 1202.
bzr revid: ysa@tinyerp.com-20111011050327-wsyzdd0x53yiat6h
2011-10-11 10:33:27 +05:30
Fabien Meghazi d31295d65b [IMP] Added display_title in action flags. ViewManager won't display title if false.
Will be used for dashboards, wizards, ...

bzr revid: fme@openerp.com-20111010141546-b19g0sr4fzicehss
2011-10-10 16:15:46 +02:00
Christophe Simonis 27869cac8b [IMP] change the way the sections and items are added to the sidebar
bzr revid: chs@openerp.com-20111010123432-619o61elz09jm9sy
2011-10-10 14:34:32 +02:00
Fabien Meghazi 1d0b38d034 [FIX] No title on page trigered by an action
lp bug: https://launchpad.net/bugs/872148 fixed

bzr revid: fme@openerp.com-20111017122335-vov2sy95sdt3dwp9
2011-10-17 14:23:35 +02:00
Fabien Meghazi 8b1e88a47a [REM] Removed '& Edit' label in FormView's Save and Create buttons
bzr revid: fme@openerp.com-20111017100310-sxhudt74oi7eia10
2011-10-17 12:03:10 +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
Yogesh (OpenERP) 82dfc15160 [MERGE] Merge with trunk upto revision no 1184.
bzr revid: ysa@tinyerp.com-20111010050054-hvwr29706js07cmb
2011-10-10 10:30:54 +05:30
Xavier Morel cecd7f5e55 [FIX] duplicated element_class on form widgets (on container and widget), and some incorrect element_id breaking click-on-label behavior
bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo
2011-10-06 13:41:27 +02:00
Xavier Morel 0fc5a423e3 [FIX] don't screw up typing of selection values in search view
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Xavier Morel a3a45e18b3 [FIX] m2o fields with selection widget in search view
Plan was originally to just ignore this because "it should just work"
 but turns out m2o and m2o[@widget=selection] fields have very
 different behaviors when it comes to default values, especially
 custom domains and contexts:

 * An m2o field uses its string value always (behaves like a char
   field), for UI and clarity purposes we added an [[name, '=', id]]
   case when the user specifically selects an autocompletion value,
   but that's not "cannon", when it comes to dealing with custom
   domains (filter_domain) and contexts the field always uses its
   string value.

* An m2o[@widget=selection] field on the other hand uses its ids
  always (behaves like a selection field).

  That's not entirely true, really, because it has the converse to
  what we implemented on the m2o field in the web client (in the GTK
  client): if there is no @filter_domain *and* the user has entered a
  value which is not in the dropdown (it's a combobox in the GTK
  client), then it falls back on using 'ilike'. This string value is
  *not* used in custom domains and custom filters, which simply are
  not submitted.

  This second section has *not* been implemented so far in the web
  client, we'll come round to it if people actually need it.

bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00