Commit Graph
4811 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
Xavier Morel 8c9d65c41a [IMP] fix mistake done while merging ref-in-listviews, improve discrimination between ref-value and printable value
* Removed a test on splitting on ',' yielding more than one value, which means we're going to loop on the name_get since they're all strings
* Improved value-detection: we should only name_get the reference field if the value is an actual reference value, meaning a model name, a ',' and an id. Used regex instead of naive split, so we don't match referenced names with a comma (e.g. 'Hubert de Vaucanson, Vicomte de Blois')

bzr revid: xmo@openerp.com-20111018105255-6vz6l9lg1iiurfc9
2011-10-18 12:52:55 +02:00
Xavier Morel 7b600e82c4 [IMP] don't check for the column type being m2o if we already went through the reference case
bzr revid: xmo@openerp.com-20111018103443-p1l5cya0nexf6cj1
2011-10-18 12:34:43 +02:00
Xavier Morel adea72acd7 [FIX] correctly display reference field values in list view
bzr revid: xmo@openerp.com-20111018103258-qnldbs6jwh1fa8is
2011-10-18 12:32:58 +02:00
Xavier Morel 47d4fa6d7d [FIX] columns with default values should not be marked as required during import
bzr revid: xmo@openerp.com-20111018102108-2c1uixgbeb3t6wkx
2011-10-18 12:21:08 +02:00
Vaibhav (OpenERP) c7f4482d5b [FIX] Check value type,base with parseint.
bzr revid: vda@tinyerp.com-20111018093432-0ixihleg3vynpvwx
2011-10-18 15:04:32 +05:30
Vaibhav (OpenERP) 8b8d7a1d76 [FIX] Display name of reference field in tree.
lp bug: https://launchpad.net/bugs/861434 fixed

bzr revid: vda@tinyerp.com-20111018055400-2j1gvgvognuo6ka9
2011-10-18 11:24:00 +05:30
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
Fabien Meghazi edb6f57088 [FIX] Crashmanager only display one error at a time, closing the previous one. (stupid fme)
bzr revid: fme@openerp.com-20111017152400-3ntwfzzxugkzrf0w
2011-10-17 17:24:00 +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
Antony Lesuisse b945c0be65 [MERGE] js and css enumeration and loading by chs
bzr revid: al@openerp.com-20111017145430-a7i3d3yo8fhjhg39
2011-10-17 16:54:30 +02:00
Xavier Morel 3790db3e40 [FIX] action buttons with a name composed solely of digits in list view
lp bug: https://launchpad.net/bugs/869746 fixed

bzr revid: xmo@openerp.com-20111017141022-u7v9aiw08aczpsv1
2011-10-17 16:10:22 +02:00
Xavier Morel 789b0b6524 [IMP] stop displaying *big* filters when a filter-in-field has a @string
also log a debug warning to the console

bzr revid: xmo@openerp.com-20111017134103-cojd352p3ppqs68h
2011-10-17 15:41:03 +02:00
Vidhin Mehta (OpenERP) e7888afb9d [IMP]implement code for save and move functionality in view editor.
bzr revid: vme@tinyerp.com-20111017132116-rntmapdk4g043gpa
2011-10-17 18:51:16 +05:30
Yogesh (OpenERP) 19f265f11b [FIX] import :- change variable name.
bzr revid: ysa@tinyerp.com-20111017131849-u034vkz20cw8e31t
2011-10-17 18:48:49 +05:30
Kunal Chavda (OpenERP) f76bdfb1fa [MERGE]merge main view editor branch upto 884 revision.
bzr revid: kch@tinyerp.com-20111017103740-v7lrybz3gkq2ujxa
2011-10-17 16:07:40 +05:30
Yogesh (OpenERP) 1e2e8ce9d1 [IMP] Import :- improve code.
bzr revid: ysa@tinyerp.com-20111017061602-6sv4m5ew70by57yx
2011-10-17 11:46:02 +05:30
Christophe Simonis 6e93a38f88 [FIX] web: correctly concat_file when no debug
bzr revid: chs@openerp.com-20111014152946-r307ol34kdlq5qrs
2011-10-14 17:29:46 +02:00
Xavier Morel 8e5a6b7c61 [FIX] correctly propagate the action_data context (in a do_execute_action) to the action itself
This is mainly of use for buttons: the context they set should apply not only to fetching and executing the initial action, but to all calls within the popup they open, if any

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

bzr revid: xmo@openerp.com-20111014122020-n3uz31ilemt1lvro
2011-10-14 14:20:20 +02:00
Fabien Meghazi 1d0b38d034 [FIX] No title on page trigered by an action
lp bug: https://launchpad.net/bugs/872148 fixed

bzr revid: fme@openerp.com-20111017122335-vov2sy95sdt3dwp9
2011-10-17 14:23:35 +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
Fabien Meghazi ca22a8a745 [IMP] 100% width on application container
bzr revid: fme@openerp.com-20111017120045-kf77xv0tp3cp4vbh
2011-10-17 14:00:45 +02:00
Xavier Morel 9012103f82 [IMP] add translation marks to printed text in listview
bzr revid: xmo@openerp.com-20111017115652-9230tli493e9sqkt
2011-10-17 13:56:52 +02:00
Xavier Morel 484063df5e [ADD] confirmation popup when deleting an element from the list view
bzr revid: xmo@openerp.com-20111017115117-0mas0bkdbkq0yku6
2011-10-17 13:51:17 +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
Fabien Meghazi 22da3764df [FIX] Fix error when clicking on empty row in editable lists
bzr revid: fme@openerp.com-20111017095216-zfzqgmsfrdcjvccj
2011-10-17 11:52:16 +02:00
Xavier Morel 414126e724 [FIX] handle common case where action_data has no context, and should not be added to the compoundcontext
issue introduced in revision xmo@openerp.com-20111014122020-n3uz31ilemt1lvro

bzr revid: xmo@openerp.com-20111017072401-qfreccymm5bn0g4s
2011-10-17 09:24:01 +02:00
Xavier Morel 2915308f6c [REV] xmo@openerp.com-20111013124912-wton5lidyvaezsj6 see: niv
bzr revid: xmo@openerp.com-20111017061554-ijg5uwg2val9hu2h
2011-10-17 08:15:54 +02:00
Christophe Simonis 59b21310e8 [FIX] typo
bzr revid: chs@openerp.com-20111014154950-5c805sb1dcff98l4
2011-10-14 17:49:50 +02:00
Kunal Chavda (OpenERP) 557895f275 [IMP]Improved code for using element.
bzr revid: kch@tinyerp.com-20111014112101-0ch74erynmj56isc
2011-10-14 16:51:01 +05:30
Xavier Morel f786f5537a [FIX] method call invocation indentation
bzr revid: xmo@openerp.com-20111014084941-cj85qsl9tfbxsvhp
2011-10-14 10:49:41 +02:00
Xavier Morel 405beaa3c6 [FIX] m2o values display in list views (mostly under onchange condition)
Normal m2o values are pairs of (id, name) (name_get format, basically)
but in some cases (lazyness & al), APIs (often onchange results) only
return the `id` part, which is not sufficient to display the m2o
as-is, a name_get has to be performed.

Added an intermediate step in displaying a table cell (in list view):
if we're displaying an m2o cell (~a cell for an m2o column) and the
value is a number, then dispatch a name_get and keep trucking (display
the rows without the m2o values).

When the name_get returns, it will simply refresh the row and diplay
the m2o name.

bzr revid: xmo@openerp.com-20111014084310-pv2mmmy28fwwk9sm
2011-10-14 10:43:10 +02:00
Yogesh (OpenERP) 0a89e5f627 [MERGE] Merge with trunk upto revison no 1256.
bzr revid: ysa@tinyerp.com-20111014045839-rc5gvd0crl20pjqv
2011-10-14 10:28:39 +05:30
Antony Lesuisse 7b5b9d45ad [MERGE] notification cleanups by chs
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
2011-10-14 02:30:56 +02:00
Antony Lesuisse 57d635f44d [FIX] soft reload after module installation
lp bug: https://launchpad.net/bugs/873362 fixed

bzr revid: al@openerp.com-20111013232054-2i5ptzfurjc429zw
2011-10-14 01:20:54 +02:00
Christophe Simonis 7dd8fcfad4 [IMP] do_notify and do_warn bubble the messages to the parent widget
bzr revid: chs@openerp.com-20111013153023-xzu2y4j5qzuqem1e
2011-10-13 17:30:23 +02:00
Christophe Simonis de5c2f58e8 [IMP] Notification Widget is now a singleton
bzr revid: chs@openerp.com-20111013150317-kzy2h7bz407kiugz
2011-10-13 17:03:17 +02:00
Christophe Simonis 5ea774f883 [IMP] use authenticate() method to log the user in
bzr revid: chs@openerp.com-20111013143339-dtasfi7kvvn7wusq
2011-10-13 16:33:39 +02:00
Fabien Meghazi 4065bc83b3 [FIX] Problem with action buttons in form views opened from a m2o in an editable list
bzr revid: fme@openerp.com-20111013134606-8n8i1djtg0dvcar6
2011-10-13 15:46:06 +02:00
Xavier Morel 322d20d53c [FIX] when performing name_get on m2o fields being written to BufferedDataSet, ignore m2o fields with 'false' value as well as those not being written at all
bzr revid: xmo@openerp.com-20111013125858-pboz81w3s58lk2rl
2011-10-13 14:58:58 +02:00
Xavier Morel 1635fcc568 [FIX] incorrect BufferedDataSet behavior when reading an m2o field in cache coming from an edition (or creation), inconsistent with OpenERP m2o field read() contract
when read, m2o should really be pairs, or they're pain to display. Because Dataset.create and Dataset.write are async, perform name_get resolution during these and store the correct value in cache

bzr revid: xmo@openerp.com-20111013124912-wton5lidyvaezsj6
2011-10-13 14:49:12 +02:00
Xavier Morel ce6c86ccc8 [REV] xmo@openerp.com-20111013112755-krf9y5w232ol6r1e, it's broken, going to merge improved/fixed version
bzr revid: xmo@openerp.com-20111013124719-ekwfczj45bgkoeiy
2011-10-13 14:47:19 +02:00
Xavier Morel 88314e523a [FIX] excessive coherence between BufferedDataSet cache and to_write and to_create queues ~/projects/tiny/web/current
cache should hold readable values (so pairs for m2o fields), whereas
to_create and to_write hold the data which will be processed into o2m
commands and sent over the wire to create, write and context-value
calls. As a result, to_create and to_write should only have atomic ids
for m2o fields.

Therefore, only use fixed m2o values to store in read cache.

bzr revid: xmo@openerp.com-20111013124435-vbjolacjnc9f6qz4
2011-10-13 14:44:35 +02:00
Xavier Morel 3580fb918d [FIX] inconsistency between multiple m2o fields to name_get and single when sent to $.when
bzr revid: xmo@openerp.com-20111013124227-at1nvix8yqtae8a9
2011-10-13 14:42:27 +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
Xavier Morel 7da8126ad9 [FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format
BufferedDataSet simply shoves stuff read() or create()d in its cache,
 but m2o is asymmetric: client writes a single id, but reads a pair of
 [id, name].
 
 Since create() and write() are async (by definition) it's the best
 place to check if the data being written contains any m2o field, and
 to fix those m2o values.

This, however, completely breaks o2m fields get_value(), and doesn't
even work correctly for create() calls.

Should probably not cache the same thing we put for creation or update
eh

bzr revid: xmo@openerp.com-20111013114449-rkhe95g1oi3gudab
2011-10-13 13:44:49 +02:00
Xavier Morel 4dc731f99c [FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format
BufferedDataSet simply shoves stuff read() or create()d in its cache,
but m2o is asymmetric: client writes a single id, but reads a pair of
[id, name].

Since create() and write() are async (by definition) it's the best
place to check if the data being written contains any m2o field, and
to fix those m2o values.

bzr revid: xmo@openerp.com-20111013112755-krf9y5w232ol6r1e
2011-10-13 13:27:55 +02:00