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
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
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