Commit Graph

54 Commits

Author SHA1 Message Date
Xavier Morel fb2e7a4a06 [FIX] have form widget elements behave correctly in case of classes with dots. Thanks valentin
bzr revid: xmo@openerp.com-20111004132854-sg8vo4m3b4bvtecf
2011-10-04 15:28:54 +02:00
Valentin Lab 63cf2019e5 [imp] more efficient selector.
bzr revid: valentin.lab@kalysto.org-20111004102050-http3jvu0sf78fmx
2011-10-04 12:20:50 +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
Xavier Morel 112710c783 [IMP] move fetching notebook page widget into form widgets registry, thanks Valentin
bzr revid: xmo@openerp.com-20111004085119-ll3x1s2r2akcm8p2
2011-10-04 10:51:19 +02:00
Valentin Lab 2bb8cadb4d [imp] notebookpage is now in registry also.
bzr revid: valentin.lab@kalysto.org-20111004074321-b2z121y64yynt948
2011-10-04 09:43:21 +02:00
Valentin Lab 8c1e052007 [fix] use a more solid selector to get $element
bzr revid: valentin.lab@kalysto.org-20111004072424-uwx50578hhafe2xm
2011-10-04 09:24:24 +02:00
Fabien Meghazi 82006438fe [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20111003135613-8d2ep2fv3bv713t7
2011-10-03 15:56:13 +02:00
niv-openerp ea79880c3c [imp] disable buttons in form views during the execution of its action
bzr revid: nicolas.vanhoren@openerp.com-20110930161506-bbffc4gjdt43pbvn
2011-09-30 18:15:06 +02:00
niv-openerp c3d08fa5dd [fix] problem with o2m displaying clickable button in unsaved record
bzr revid: nicolas.vanhoren@openerp.com-20110930154612-d2q5z3fy1ouih1fm
2011-09-30 17:46:12 +02:00
Xavier Morel 6bb8d8ea85 [ADD] readonly & movable form view
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
2011-09-30 10:12:47 +02:00
Fabien Meghazi 03585c43c5 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110929113120-30k2cdyyxw7tpfot
2011-09-29 13:31:20 +02:00
Xavier Morel c6e77707ee [FIX] match first form header only so that we get the header for current form not sub-forms
bzr revid: xmo@openerp.com-20110929090205-0vn4dt4qixao5us1
2011-09-29 11:02:05 +02:00
niv-openerp 62a8080818 [fix] problem with context keys not passed correctly in some cases, here the invoice created from a sale order
bzr revid: nicolas.vanhoren@openerp.com-20110928164428-07tzfmcip03xspjq
2011-09-28 18:44:28 +02:00
Fabien Meghazi 03156f88ff [IMP] The views do not have to search manually on do_show anymore
bzr revid: fme@openerp.com-20110928154608-mlehfgprg03byksr
2011-09-28 17:46:08 +02:00
niv-openerp e43790f7f2 [imp] refactoring to improve the way the components are destroyed
bzr revid: nicolas.vanhoren@openerp.com-20110928151613-8suxvi1rzn9t40gd
2011-09-28 17:16:13 +02:00
niv-openerp 3400e13621 [fix] problem in o2m, not restoring correctly the status of some o2m which caused problem in chart of account wizard
bzr revid: nicolas.vanhoren@openerp.com-20110928115537-8fa3lls2e04b3fau
2011-09-28 13:55:37 +02:00
niv-openerp 78cdb8d1ab [fix] problem in o2m form view with read only fields, now saves result of default_get
bzr revid: nicolas.vanhoren@openerp.com-20110926160057-zss7934ji5hhtq44
2011-09-26 18:00:57 +02:00
niv-openerp 02549a9c0e [imp] refactoring of form view to allow recursize save for o2m
bzr revid: nicolas.vanhoren@openerp.com-20110926123929-35bespquay2qxmfe
2011-09-26 14:39:29 +02:00
Xavier Morel 47094e8adb [ADD] import
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
2011-09-26 12:14:40 +02:00
niv-openerp 60d9065ff1 [fix] problem with context and default_get
bzr revid: nicolas.vanhoren@openerp.com-20110921160825-6o1ggc0tar1i18j6
2011-09-21 18:08:25 +02:00
niv-openerp 67271d1e91 [imp] simplified formatting functions for dates
bzr revid: nicolas.vanhoren@openerp.com-20110921123139-f57zgqwdghl2qbf7
2011-09-21 14:31:39 +02:00
niv-openerp 7d65aca167 [imp] used datetime widget in search view
bzr revid: nicolas.vanhoren@openerp.com-20110921115054-mgd5ts19sk1olvgu
2011-09-21 13:50:54 +02:00
niv-openerp 8df96caa72 [imp] refactored datetime components to allow usage in the search view
bzr revid: nicolas.vanhoren@openerp.com-20110921104136-pu8yvny228jyi5so
2011-09-21 12:41:36 +02:00
Xavier Morel 134437d3d1 [IMP] memoize template, add hacky form-repositioning method
bzr revid: xmo@openerp.com-20110920112147-we4sqnc3we1v38lv
2011-09-20 13:21:47 +02:00
Xavier Morel f896a2571e [MERGE] trunk improvements
bzr revid: xmo@openerp.com-20110920101957-zl6tiuf49rzc0l2v
2011-09-20 12:19:57 +02:00
Xavier Morel 4334ba4b8b [FIX] if no view_id is provided to the form view, default to 'false'
Otherwise this.view_id === undefined, and keys with value 'undefined' are skipped during JSON serialization

bzr revid: xmo@openerp.com-20110920100823-8osz0ly3eu7vzyba
2011-09-20 12:08:23 +02:00
Xavier Morel 079f817e1c [IMP] cleanup random stuff so events don't accumulate across switches, ending up breaking the form
bzr revid: xmo@openerp.com-20110919152210-o828pz00vp7vuf5j
2011-09-19 17:22:10 +02:00
Xavier Morel 7b98c70f75 [ADD] hacky toggle between readonly and editable form modes
bzr revid: xmo@openerp.com-20110919151549-olblr39dlhtryfj0
2011-09-19 17:15:49 +02:00
Xavier Morel dacda98c96 [FIX] don't use complex unicode characters in source
bzr revid: xmo@openerp.com-20110919144737-95xnotd34e4mrzos
2011-09-19 16:47:37 +02:00
Xavier Morel 84e2eb73fd [FIX] selection field should super() with the raw value given to it, and then set its display value
bzr revid: xmo@openerp.com-20110919142302-yqlvluk1bpfg5y7r
2011-09-19 16:23:02 +02:00
Xavier Morel 412effa9ad [IMP] move readonly stuff to their own widgets, in a registry inheriting from form's
bzr revid: xmo@openerp.com-20110919135717-jt4t5315nmoatleb
2011-09-19 15:57:17 +02:00
Xavier Morel 566f9a43e8 [ADD] readonly branch to a bunch of form widgets
bzr revid: xmo@openerp.com-20110919122416-h773tyz1kogazyy0
2011-09-19 14:24:16 +02:00
Fabien Meghazi bb49028b5c [FIX] Always save record even when form is not dirty and/or has no field to save. (osv.memory)
lp bug: https://launchpad.net/bugs/851893 fixed

bzr revid: fme@openerp.com-20110919103427-j8pqfxs4iw54oi56
2011-09-19 12:34:27 +02:00
Fabien Meghazi 2b04278508 [IMP] Avoid useless default_get when no field is defined in the form view
bzr revid: fme@openerp.com-20110919102508-ezbp6r2i21wm05m9
2011-09-19 12:25:08 +02:00
Xavier Morel b4e8ac180c [REM] redundant initializers in formview widgets: move most formview widget templates to the class-level
bzr revid: xmo@openerp.com-20110919101517-40303tgi58cfshtk
2011-09-19 12:15:17 +02:00
Fabien Meghazi 9ba81bdb5d [FIX] Readonly field can't be dirty
bzr revid: fme@openerp.com-20110919100003-dj0z8sswv78x6jm5
2011-09-19 12:00:03 +02:00
Xavier Morel 73ce7b6980 [REM] unused local variable
bzr revid: xmo@openerp.com-20110919070529-u7v5bedxnkt1h1bd
2011-09-19 09:05:29 +02:00
Kunal Chavda (OpenERP) 288b0336cc [MERGE]Merge with trunk upto revision no 1054.
bzr revid: kch@tinyerp.com-20110919052218-lpz4jy6k2bu1inxv
2011-09-19 10:52:18 +05:30
Xavier Morel ac3e971ea6 [REM] element_id from notebooks
bzr revid: xmo@openerp.com-20110916142458-qb36lxnro3fr1t0q
2011-09-16 16:24:58 +02:00
Xavier Morel 0ee38e29ad [IMP] convert form widgets to use a root class to find themselves back in the rendered dom, instead of a root id
bzr revid: xmo@openerp.com-20110916132228-h2qszo33q6z289qf
2011-09-16 15:22:28 +02:00
niv-openerp 21e7164400 [imp] removed logging message that made errors
bzr revid: nicolas.vanhoren@openerp.com-20110916124433-367munzzhjehjzr5
2011-09-16 14:44:33 +02:00
niv-openerp 66ebc7708c [fix] problem in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110915100808-e2pizj8zgc07zgao
2011-09-15 12:08:08 +02:00
niv-openerp c5bbc31cac [fix] form view was broken
bzr revid: nicolas.vanhoren@openerp.com-20110915100101-ez65927vcycbgtjq
2011-09-15 12:01:01 +02:00
niv-openerp 4e4105aa31 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110915095610-rt3c97230mzcb0ce
2011-09-15 11:56:10 +02:00
niv-openerp 2836c157d4 [imp] changed init of most views + the places were we init them
bzr revid: nicolas.vanhoren@openerp.com-20110915094944-7l229rjknptr5vcl
2011-09-15 11:49:44 +02:00
niv-openerp eddd4a8827 [imp] added this._super() in all views
bzr revid: nicolas.vanhoren@openerp.com-20110915094246-6v6imml9bf3y4ycj
2011-09-15 11:42:46 +02:00
Fabien Meghazi 10a724d65a [FIX] Fixed typo introduced in Revision:1041 revid:fme@openerp.com-20110914210445-ul8aax7g1q5b47c6
bzr revid: fme@openerp.com-20110915093857-rk9p682xpfoiy304
2011-09-15 11:38:57 +02:00
niv-openerp eb45de7805 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110915093144-0ix1tdc8mcmx6l9p
2011-09-15 11:31:44 +02:00
Fabien Meghazi 6af24261ba [ADD] Added duplicate feature to FormView
bzr revid: fme@openerp.com-20110915081241-3q4us9bweru4iyx1
2011-09-15 10:12:41 +02:00
Kunal Chavda (OpenERP) 50567fcb63 [MERGE]Merge with trunk upto revision no 1043.
bzr revid: kch@tinyerp.com-20110915070222-1sw9bpp36s42nvt2
2011-09-15 12:32:22 +05:30