Commit Graph

1782 Commits

Author SHA1 Message Date
niv-openerp c4296a85ac [fix] problem with some domains that need evaluation
bzr revid: nicolas.vanhoren@openerp.com-20111010112621-3kl83keyjingzus8
2011-10-10 13:26:21 +02:00
niv-openerp cb46665b01 [fix] some bugs with m2o & buttons while creation
bzr revid: nicolas.vanhoren@openerp.com-20111010095754-jfxvgtqvrfk3xqbn
2011-10-10 11:57:54 +02:00
niv-openerp 5e417f203a [imp] improved popup for m2o to support usage of buttons while creating a row
bzr revid: nicolas.vanhoren@openerp.com-20111010094438-33drycp4l7o1vnzt
2011-10-10 11:44:38 +02:00
niv-openerp fc01a139be [fix] attempt to fix a race condition where a o2m will try to make a get_value on each field in the form before they are setted
lp bug: https://launchpad.net/bugs/865048 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111017162228-0xazc4zhd9dwj28k
2011-10-17 18:22:28 +02:00
Fabien Meghazi 1eee4a0833 [FIX] Button widget does not honnor readonly property
bzr revid: fme@openerp.com-20111017153326-77z2xmtqcnfpadom
2011-10-17 17:33:26 +02:00
Fabien Meghazi a789d421cb [FIX] Binary fields does not honnor readonly property
bzr revid: fme@openerp.com-20111017152923-rfyc16l3cr0cwmm3
2011-10-17 17:29:23 +02:00
Xavier Morel 548a809ff5 [FIX] downloading files from an unsaved/in-memory wizard
fallback on default_get if record does not exist in db, as for e.g. Thunderbird and Outlook plugins

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

bzr revid: xmo@openerp.com-20111017145849-p8dq0eprkru4xtl1
2011-10-17 16:58:49 +02:00
niv-openerp f3b67f4f71 [imp] added text in white if status bar if arrow color is too dark
bzr revid: nicolas.vanhoren@openerp.com-20111017120901-zuxcqat247jfbgc9
2011-10-17 14:09:01 +02:00
niv-openerp 81d84899a1 [imp] css improvements of the statusbar
bzr revid: nicolas.vanhoren@openerp.com-20111017113859-zlt1zxy15n2c25o7
2011-10-17 13:38:59 +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
Antony Lesuisse 7b5b9d45ad [MERGE] notification cleanups by chs
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
2011-10-14 02:30:56 +02:00
niv-openerp 1e507afcc9 [fix] When we click a button in a m2o popup it closes the popup
lp bug: https://launchpad.net/bugs/873272 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111013115828-ctbslk34qif4cfwt
2011-10-13 13:58:28 +02:00
Christophe Simonis 00b269d1c0 [IMP] nivification of Notification Widget
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Xavier Morel 15e73da330 [FIX] FormView.on_saved should resolve on a result, ideally the same as FormView.on_created minus the 'created' key
bzr revid: xmo@openerp.com-20111013085100-xpl29e2f2jnqmt1v
2011-10-13 10:51:00 +02:00
niv-openerp c7a888f343 [fix] buttons do not use an evalutation context despite the fact the context on buttons can depend on it
bzr revid: nicolas.vanhoren@openerp.com-20111013093814-xalvnvp6vajslruo
2011-10-13 11:38:14 +02:00
niv-openerp fc823e76bd [fix] rare problem in o2m
bzr revid: nicolas.vanhoren@openerp.com-20111012161322-rnjei1os2xjb0qax
2011-10-12 18:13:22 +02:00
niv-openerp 73fcb10472 [fix] problem in delivery orders, when trying to click on a button in the o2m
bzr revid: nicolas.vanhoren@openerp.com-20111012155704-22dgojl8ag3av4sn
2011-10-12 17:57:04 +02:00
niv-openerp 101dd01502 [fix] rollbacked previous fix regarding save of o2m when doing a get_value
bzr revid: nicolas.vanhoren@openerp.com-20111012153518-gt8uyhagjzi8qc72
2011-10-12 17:35:18 +02:00
niv-openerp 2ebe653f65 [imp] modified form view to really have on_changes that can not execute concurently
bzr revid: nicolas.vanhoren@openerp.com-20111012150830-7eupfrzfeh2wh9j6
2011-10-12 17:08:30 +02:00
niv-openerp efa2ca1195 [imp] lot of concurrency improvements for form view
bzr revid: nicolas.vanhoren@openerp.com-20111012141007-87w0fgemvqv2ul15
2011-10-12 16:10:07 +02:00
niv-openerp 130e441133 [fix] fixed rare problem in the o2m when we try to get its value before it has finished refreshing
bzr revid: nicolas.vanhoren@openerp.com-20111012124923-zka6mskg56iha5wc
2011-10-12 14:49:23 +02:00
niv-openerp e2e01eed83 [imp] mado o2m compatible with graph view
bzr revid: nicolas.vanhoren@openerp.com-20111007162156-10r2h2zws40oabnp
2011-10-07 18:21:56 +02:00
Fabien Meghazi 5db16cd946 [FIX] Confirmation dialog buttons won't close the dialog
bzr revid: fme@openerp.com-20111006132241-b4491vh5jm4ct974
2011-10-06 15:22:41 +02:00
Fabien Meghazi 84a94d7ec9 [FIX] Button@special=cancel should not trigger form save
bzr revid: fme@openerp.com-20111006121411-sltmagi0n068fbym
2011-10-06 14:14:11 +02:00
Xavier Morel bcaac70b1b [FIX] make m2o form fields focusable
bzr revid: xmo@openerp.com-20111006120425-z154ck3xez87ufbr
2011-10-06 14:04:25 +02:00
Fabien Meghazi 5df08eb7d7 [FIX] m2o: Search More cause a traceback. (views now excpect to receive evaluated domain, context and group_by)
bzr revid: fme@openerp.com-20111006092247-zcbnrdbld00somam
2011-10-06 11:22:47 +02:00
Valentin Lab 3348916e9c [fix] remove bad undefined value returned instead of a real promise.
bzr revid: valentin.lab@kalysto.org-20111004162841-h25ns7b4ivxo43z3
2011-10-04 18:28:41 +02:00
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 58c3f5c93e [imp] be more coherent to send widget as usual as form template data.
This can be used in mobile version or other templates that would like to
subclass the main FormView class.

bzr revid: valentin.lab@kalysto.org-20111004074842-txpar1ph0utc2eqd
2011-10-04 09:48:42 +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
Fabien Meghazi 5189b91d8e [ADD] Add form dirty confirmation dialog
bzr revid: fme@openerp.com-20110914210902-z08taar5woqmxnts
2011-09-14 23:09:02 +02:00
Fabien Meghazi eadb161a38 [IMP] Improved dirty state in form view
bzr revid: fme@openerp.com-20110914210445-ul8aax7g1q5b47c6
2011-09-14 23:04:45 +02:00
Antony Lesuisse 3ef575744d [IMP] prefix view (obsessive–compulsive rename disorder)
bzr revid: al@openerp.com-20110914204057-cg8y5yy3py70ge62
2011-09-14 22:40:57 +02:00
niv-openerp 692cb79400 [imp] simplified field status
bzr revid: nicolas.vanhoren@openerp.com-20110915123754-iun1kwli7kzl9lm5
2011-09-15 14:37:54 +02:00