Commit Graph

99 Commits

Author SHA1 Message Date
Fabien Meghazi 2069b260b0 [FIX] FormFrame layout now supports 'always invisible' widgets
bzr revid: fme@openerp.com-20111018110740-1ik1nykpsipt7uqo
2011-10-18 13:07:40 +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
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
Christophe Simonis 7b6309dd15 [FIX] translation of attachment and calendar sidebar sections
bzr revid: chs@openerp.com-20111012115744-sv7kvwqbt2p5vdio
2011-10-12 13:57:44 +02:00
niv-openerp bd8f7a36a6 [fix] occasional problem when a form try to validate a o2m before it finished updating
bzr revid: nicolas.vanhoren@openerp.com-20111012091147-k9nm1yzftm2oalo1
2011-10-12 11:11:47 +02:00
niv-openerp 12e97f3e8e [fix] problem with get_value() on o2m when it is called without calling is_dirty() first.
bzr revid: nicolas.vanhoren@openerp.com-20111012085852-6tcqn1rmn00qoaqy
2011-10-12 10:58:52 +02:00
niv-openerp 23f6c03942 [fix] forgot to return promise in the do_save() of the form view
bzr revid: nicolas.vanhoren@openerp.com-20111012082534-dzz1upvvntjs4b1s
2011-10-12 10:25:34 +02:00
niv-openerp b819542c8f [fix] problem with form view, does not prevent multiple creates/saves
bzr revid: nicolas.vanhoren@openerp.com-20111011153535-ojo8qqpzlg3ap9fy
2011-10-11 17:35:35 +02:00
Fabien Meghazi 77e8414dd2 [FIX] Remove bad undefined value returned instead of a real promise.
Thanks Valentin ! I didn't paid attention to this potential problem.
I guess we'll have to review the usage of promises as openerp callback
return value because any addons adding a callback could potentially break
the promises.

bzr revid: fme@openerp.com-20111011135820-v1lx6uj1siqbq7m6
2011-10-11 15:58:20 +02:00
Fabien Meghazi a1eadf8a60 [IMP] Form frame : Force nolabel='1' when widget='statusbar'
Hardcoded exception but this way, we retain backward compatibility between addons & old clients

bzr revid: fme@openerp.com-20111011115424-rme5btg594euln2v
2011-10-11 13:54: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
Antony Lesuisse 2c55b9339d [FIX] revert 1200 revid:fme@openerp.com-20111010150811-4vdff1jcr6eqz2xq, action manager must be used for client actions
bzr revid: al@openerp.com-20111010214634-dmq7fcv840252p8t
2011-10-10 23:46:34 +02:00
Fabien Meghazi ce2b437cad [FIX] Fixed visibility of binary fields buttons
bzr revid: fme@openerp.com-20111010133352-j4kgqu33dskdfm3f
2011-10-10 15:33:52 +02:00
niv-openerp 85b08d410f [fix] problem in o2m when using "save & next"
bzr revid: nicolas.vanhoren@openerp.com-20111010131202-gc0s7sbkffuh1dtk
2011-10-10 15:12:02 +02:00
niv-openerp fa9df495ef [fix] forgot some things
bzr revid: nicolas.vanhoren@openerp.com-20111010124516-5vtzop9sbr5z78r0
2011-10-10 14:45:16 +02:00
niv-openerp 33b4285d17 [imp] improved conceptually the preceding fix regarding o2m
bzr revid: nicolas.vanhoren@openerp.com-20111010124044-8c02gdeddceq78du
2011-10-10 14:40:44 +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 ca224b647c [FIX] Dashboard are dulicated after undo
lp bug: https://launchpad.net/bugs/842808 fixed

bzr revid: fme@openerp.com-20111010122828-0ra0lft4vbp2mr9s
2011-10-10 14:28:28 +02:00
niv-openerp a9e7199158 [fix] quick fix of the regression in o2m to make it impossible to create a record
bzr revid: nicolas.vanhoren@openerp.com-20111010122412-gvfa460qpe09ad4g
2011-10-10 14:24:12 +02:00
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 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 2bb8cadb4d [imp] notebookpage is now in registry also.
bzr revid: valentin.lab@kalysto.org-20111004074321-b2z121y64yynt948
2011-10-04 09:43:21 +02:00