Commit Graph

118 Commits

Author SHA1 Message Date
niv-openerp 9a48657a45 [imp] made o2m reload when readonly property is changed
bzr revid: nicolas.vanhoren@openerp.com-20111026125524-c77rmzd6gq9u9oke
2011-10-26 14:55:24 +02:00
niv-openerp f0714ccd72 [imp] removed useless logging
bzr revid: nicolas.vanhoren@openerp.com-20111026100538-momcgi4s3lxy560l
2011-10-26 12:05:38 +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
niv-openerp dd514b567d [imp] made m2m support readonly
bzr revid: nicolas.vanhoren@openerp.com-20111025162031-wsjaebu713nht3i1
2011-10-25 18:20:31 +02:00
niv-openerp a34f06dd4c [imp] changed default mode of o2m to tree (was tree,form)
bzr revid: nicolas.vanhoren@openerp.com-20111025124251-uy67cprw499wcb7c
2011-10-25 14:42:51 +02:00
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 19bb1dda1a [IMP] use empty box/check mark for page boolean fields, instead of cross vs check mark
bzr revid: xmo@openerp.com-20111024152013-nhi8kwra46se0yva
2011-10-24 17:20:13 +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
Fabien Meghazi dbf2f1ddd2 [merge] [FIX] FieldBoolean: allow click event to propagate the value to the model in all cases
bzr revid: fme@openerp.com-20111024082338-anop000q7iy0o2mr
2011-10-24 10:23:38 +02:00
Fabien Meghazi 89a48aa9a5 [merge] [FIX] FieldBoolean: attribute should be ignore
bzr revid: fme@openerp.com-20111024080810-0ziia6wgo1hkamr6
2011-10-24 10:08:10 +02:00
Olivier Dony fbd185024a [FIX] FieldBoolean: `required` attribute should be ignored
In order to match the model-level bevahior of boolean
fields, the required attribute should be ignored, as
a NULL value is automatically converted to False, and
considered valid. This contrasts with Char fields, but
is similar to Integer/Float fields, for which NULL values
are converted automatically to 0, and considered valid.

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

bzr revid: odo@openerp.com-20111021123510-a8tfpo8h3hqesdcd
2011-10-21 14:35:10 +02:00
Olivier Dony 6691f4108a [FIX] FieldBoolean: allow click event to propagate the value to the model in all cases
If not done, once a boolean field becomes invalid, it cannot
be made valid again in any way.
This seems to be coherent with the way change events are
handled in other widgets, like TextArea.

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

bzr revid: odo@openerp.com-20111021123043-enthjyo6g459kzt0
2011-10-21 14:30:43 +02:00
Xavier Morel 0e9d7318fc [FIX] float formatting in form view should take digits/@digits in account
lp bug: https://launchpad.net/bugs/879346 fixed

bzr revid: xmo@openerp.com-20111021122256-ld3gm8u3yt4kdn71
2011-10-21 14:22:56 +02:00
Fabien Meghazi faafa77c46 [REM] Removed FormDialog#load_id(). Use FormDialog#select_id() instead
bzr revid: fme@openerp.com-20111020163008-8qy874po2lgedxay
2011-10-20 18:30:08 +02:00
Yogesh (OpenERP) 70d9e3b7ed [FIX] Set value in this.value instead of this.tmp_value in many2onereadonly widget.
bzr revid: ysa@tinyerp.com-20111020052016-8exqlj462rahvyfe
2011-10-20 10:50:16 +05:30
Yogesh (OpenERP) fa58e480f9 [MERGE] Merge with trunk upto revision no 1307.
bzr revid: ysa@tinyerp.com-20111020050837-54aixsiw9p2lhbhv
2011-10-20 10:38:37 +05:30
Fabien Meghazi 2ed32d7cf6 [FIX] Datetime wodget does not correctly parse date when passing value to jQuery ui date picker
lp bug: https://launchpad.net/bugs/878206 fixed

bzr revid: fme@openerp.com-20111019160709-dwdpcz8hpy34k6d4
2011-10-19 18:07:09 +02:00
Xavier Morel f88c553d45 [FIX] completely broken readonly URL form field
bzr revid: xmo@openerp.com-20111019140709-hj86g28izgnb9imy
2011-10-19 16:07:09 +02:00
Yogesh (OpenERP) fecb2ee680 [FIX] call super method in m2oreadonly widget.
lp bug: https://launchpad.net/bugs/878033 fixed

bzr revid: ysa@tinyerp.com-20111019125034-2n7d9yrp53la4zdc
2011-10-19 18:20:34 +05:30
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
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 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