Commit Graph

145 Commits

Author SHA1 Message Date
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
niv-openerp 96edd0d489 [imp] made m2m support embedded list view
lp bug: https://launchpad.net/bugs/888471 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110140754-1nvbhwjpey7sr215
2011-11-10 15:07:54 +01:00
niv-openerp 1b70c3d08a [fix] problem in readonly m2o
lp bug: https://launchpad.net/bugs/888502 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110123258-rae9jtwxk7ny38d3
2011-11-10 13:32:58 +01:00
niv-openerp c0c31c74bc [imp] made editable list in o2m auto-save
bzr revid: nicolas.vanhoren@openerp.com-20111110110206-2ba4qnj71wa5l3p3
2011-11-10 12:02:06 +01:00
Xavier Morel 90972f5e27 [IMP] add confirmation message when deleting a record in form view
bzr revid: xmo@openerp.com-20111110103650-pqss9bfejudyqkp2
2011-11-10 11:36:50 +01:00
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
Xavier Morel a11dfc5e35 [IMP] open non-editable m2o links inline (replace current record) rather than in a popup
bzr revid: xmo@openerp.com-20111110100752-6x11ros4z1fhp0gc
2011-11-10 11:07:52 +01:00
niv-openerp 390b83c7fc [fix] problem in form open popup a form select create popup
lp bug: https://launchpad.net/bugs/888395 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110093221-u1ry76juajt6c1lz
2011-11-10 10:32:21 +01:00
Fabien Meghazi 762445ba01 [IMP] Form: only save record when there's something to save. Use <instance>.log()
bzr revid: fme@openerp.com-20111109151239-um65xcy0ryf4czn1
2011-11-09 16:12:39 +01:00
Fabien Meghazi cd73802261 [IMP] Move 'Translate' in 'Customize' sidebar's section that is only shown for admin user. Link to ir.translation
bzr revid: fme@openerp.com-20111109104700-v0njrwgp0iciavt1
2011-11-09 11:47:00 +01:00
Fabien Meghazi c4a13f1b3e [REM] Removed unused code
bzr revid: fme@openerp.com-20111107144435-k693w21gnmsd0dt5
2011-11-07 15:44:35 +01:00
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
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 0443517746 [fix] problem with m2o search popup, should not be multi-selectable
bzr revid: nicolas.vanhoren@openerp.com-20111031154907-uf9way132l54n7lw
2011-10-31 16:49:07 +01:00
niv-openerp 16b9b43477 [imp] modified many2one in readonly mode to be able to click on it to open a popup
bzr revid: nicolas.vanhoren@openerp.com-20111031110937-den8gj0j5zwfflw3
2011-10-31 12:09:37 +01:00
niv-openerp 499b2e033a [fix] typo
bzr revid: nicolas.vanhoren@openerp.com-20111031110620-b00p18d0ebckr4xt
2011-10-31 12:06:20 +01:00
niv-openerp 0d75c597cd [fix] potential problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20111031105444-mjdgrhuylh146ryy
2011-10-31 11:54:44 +01:00
niv-openerp 85012767c8 [imp] allowed to click on an element of a readonly o2m to open it in a popup
bzr revid: nicolas.vanhoren@openerp.com-20111031104304-b3ur1j34nqe4o674
2011-10-31 11:43:04 +01:00
niv-openerp 41ebcc4079 [imp] added non editable implementation for o2m & m2m
bzr revid: nicolas.vanhoren@openerp.com-20111031102752-qdsfzzj747h5yp1w
2011-10-31 11:27: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
niv-openerp 33c4580c03 [fix] problem when switching from form view to list view in o2m
bzr revid: nicolas.vanhoren@openerp.com-20111026153944-bdk335em06dxxi2p
2011-10-26 17:39:44 +02:00
niv-openerp 5329b9273a [fix] potential race condition in o2m
bzr revid: nicolas.vanhoren@openerp.com-20111026153109-8pcjlo7c5ud6bkko
2011-10-26 17:31:09 +02:00
niv-openerp 5bc7011b52 [fix] race condition in m2m
bzr revid: nicolas.vanhoren@openerp.com-20111026152305-t7rg7mn37h91swra
2011-10-26 17:23:05 +02:00
niv-openerp 08ef807c3b [imp] implemented readonly in o2m in form view too
bzr revid: nicolas.vanhoren@openerp.com-20111026144218-vn44rlkzo7vo0umq
2011-10-26 16:42:18 +02:00
niv-openerp 9988d503b1 [imp] implemented readonly in o2m in list view only
bzr revid: nicolas.vanhoren@openerp.com-20111026141148-kl37triimsivvh9n
2011-10-26 16:11:48 +02:00
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