niv-openerp
526c856f7e
[FIX] problem in View class, the is_action_enabled() method assumed the existence of the fields_view attribute despite the fact that class never setted that attribute
...
bzr revid: nicolas.vanhoren@openerp.com-20121210153646-ulbsja1mt9re25wz
2012-12-10 16:36:46 +01:00
Raphael Collet
38994104f0
[IMP] js tests: when testing pyeval on datetimes, avoid comparison with an indepent call to new Date()
...
bzr revid: rco@openerp.com-20121210151828-lfzyfy75oldkjxk5
2012-12-10 16:18:28 +01:00
Fabien Meghazi
7852c12d8a
[FIX] Better fix for unclickable z-indexed items in dialogs. (Patching jQuery UI dialog)
...
bzr revid: fme@openerp.com-20121210145239-0x1sprin6hp66ghl
2012-12-10 15:52:39 +01:00
Xavier Morel
d1b9cfce37
[FIX] form widgets failing to return correct value on programmatic save
...
Editable list was losing value when switching to other row from edited
cell (edit, tab-to-next-fiend then change record worked).
When changing row (by clicking on an other row or pressing up/down),
the list view simply request saving the current form and — once that
is done — switches the form to the new row.
The issue is in what happens *during* form-saving: for most text-based
fields (e.g. CharField-like) the field returns its internal
value. Said internal value was only synchronized when the internal
form control (input or textarea) fired the ``change`` event... and the
change event only fires *after blurring* (leaving) the current
field. So the form saving (and thus the retrieval of field values)
occured before the field could sync its internal value with the one
entered by the user.
Added a bunch of commit_value override to perform this synchronization
right before the field's value is requested.
Also removed an extraneous trailing comma in an array, and removed 2
useless temp storage (unused variables beyond their assignment).
bzr revid: xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8
2012-12-10 15:38:08 +01:00
Christophe Simonis
8b4f341c94
merge upstream
...
bzr revid: chs@openerp.com-20121205150654-c7ps8cygsx1zk1ua
bzr revid: chs@openerp.com-20121207104954-xz35sdqgya18pgus
bzr revid: chs@openerp.com-20121210140847-yoobt0twf9kg9yau
2012-12-10 15:08:47 +01:00
Thibault Delavallée
1ca5e68b1f
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121130093732-i8y10ayjqiaq5t7p
bzr revid: tde@openerp.com-20121204142854-pauouyapnw7z8zwj
bzr revid: tde@openerp.com-20121205101544-k4ui6thr0ibzw0vx
bzr revid: tde@openerp.com-20121210125423-81wbh4af9sxdqjki
2012-12-10 13:54:23 +01:00
Xavier Morel
70f8f99b35
[FIX] prevent propagation of [UP] and [DOWN] keydown events in form m2o
...
these events are used by the autocompletion widget internally, if they
bubble upwards they also get handled by the list view which interprets
them as going up/down the list.
Prevent the latter by suppressing bubbling of these events.
bzr revid: xmo@openerp.com-20121210112203-3mry0pvecri0pv9o
2012-12-10 12:22:03 +01:00
Xavier Morel
e972b6a5d4
[FIX] cancel list edition on search
...
Otherwise, if a search is performed while creating or editing a line
(e.g. in logged calls, create a line without saving then try to apply
a filter) the edition section (and new line) disappears but the list
remains in "edition" mode (e.g. save/discard button) even though
edition data is missing (trying to save or discard will error out).
bzr revid: xmo@openerp.com-20121210100914-delia5bhmtgrujpu
2012-12-10 11:09:14 +01:00
Xavier Morel
f9e610a890
[FIX] don't lose debug mode when clicking on logo
...
bzr revid: xmo@openerp.com-20121210100137-h2ydpz6b63c48b1z
2012-12-10 11:01:37 +01:00
Christophe Matthieu
695e177f1f
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121210095444-zyxz07o93t14ziun
2012-12-10 10:54:44 +01:00
niv-openerp
d2863fbd59
[IMP] added "disabled" on buttons in list view during execution of asynchrnous operation
...
bzr revid: nicolas.vanhoren@openerp.com-20121207154640-609iwn2y093kw171
2012-12-07 16:46:40 +01:00
Christophe Matthieu
27bc9ed5fa
[IMP] mail: fix display message attachment error
...
bzr revid: chm@openerp.com-20121207091134-9v0ce6o3dp8gca7l
2012-12-07 10:11:34 +01:00
Christophe Matthieu
94c9801ac7
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20121207081026-3edlt0698csc6gk8
2012-12-07 09:10:26 +01:00
Christophe Matthieu
98e87a51ae
[IMP] attachment: sidebar rendering of tipsy in html mode, and error fix
...
bzr revid: chm@openerp.com-20121207080946-f7zr853hvdhdrsk0
2012-12-07 09:09:46 +01:00
Fabien Meghazi
3dbed3b90d
[MERGE] Removed fields_view_get from web controller. Replaced by instance.web.fields_view_get
...
bzr revid: fme@openerp.com-20121206161749-0cx1xychzqe96fb2
2012-12-06 17:17:49 +01:00
Xavier Morel
7ac99cbeaf
[FIX] form selection field: don't interpret value 0 as false in the template when the code doesn't do so
...
bzr revid: xmo@openerp.com-20121206135114-nuwc3wdc6zatbl3d
2012-12-06 14:51:14 +01:00
Fabien Meghazi
96408a36f0
[MERGE] Unclickable z-indexed items in dialogs. (Patching jQuery UI dialog)
...
The jQuery UI team will not fix the bug because they redisigned
their dialog's code base for their future version (1.10)
http://bugs.jqueryui.com/ticket/5466#comment:8
bzr revid: fme@openerp.com-20121206133126-zc64pkhoh4s89q32
2012-12-06 14:31:26 +01:00
Fabien Meghazi
173a8b9d4d
[FIX] QWeb: purge compiled template when template is added
...
bzr revid: fme@openerp.com-20121206132115-6fyedomrrchrxc43
2012-12-06 14:21:15 +01:00
Tejas Tank
3464960518
Merged Latest.
...
bzr revid: tta@openerp.com-20121206111229-q2fn8zfp71ntclxv
2012-12-06 16:12:29 +05:00
Fabien Meghazi
21927bc249
[FIX] error in tree view during refactoring
...
bzr revid: fme@openerp.com-20121206091334-c2z76kbmibqq0jgq
2012-12-06 10:13:34 +01:00
Antony Lesuisse
5c53674c2e
[FIX] views remove unused session property
...
bzr revid: al@openerp.com-20121206014334-8a11s1iqysq6v9e1
2012-12-06 02:43:34 +01:00
Fabien Meghazi
6562cc3d18
[MERGE] trunk
...
bzr revid: fme@openerp.com-20121205160808-7zd3c6y6pm26pj47
2012-12-05 17:08:08 +01:00
Fabien Meghazi
bf6bdf017b
[IMP] Changed tests according to new client side fields view get
...
bzr revid: fme@openerp.com-20121205160656-0mg1hnv35vk27adh
2012-12-05 17:06:56 +01:00
Fabien Meghazi
4c66504f78
[STEP BACK] One step back in the cleaning process. Maybe for v8.
...
bzr revid: fme@openerp.com-20121205160536-p9dm7zdxq2qb9mqs
2012-12-05 17:05:36 +01:00
Antony Lesuisse
0c3f9f691b
[FIX] chrome template use a template url for the logo, needed for demo
...
bzr revid: al@openerp.com-20121205124218-0qdvqed5td9mh84k
2012-12-05 13:42:18 +01:00
Fabien Meghazi
96d3fbe37b
[IMP] No need to strip whitespaces afterall
...
bzr revid: fme@openerp.com-20121205110039-o4kt0mpbq2b5zbd2
2012-12-05 12:00:39 +01:00
Fabien Meghazi
8d9367a873
[FIX] Do not insert Elements instead of HTMLElements in the dom
...
bzr revid: fme@openerp.com-20121205105933-y3glnms4dnk7k2uz
2012-12-05 11:59:33 +01:00
Fabien Meghazi
595ba7a799
[FIX] Remove fvg steps from form view
...
bzr revid: fme@openerp.com-20121205093522-4mws91b2i14f7j1z
2012-12-05 10:35:22 +01:00
Fabien Meghazi
c867595eed
[FIX] Strip whitespace for jsonified fvg.arch
...
bzr revid: fme@openerp.com-20121204170230-k074c181dt0x920f
2012-12-04 18:02:30 +01:00
Fabien Meghazi
58b44d5082
[IMP] Removed fields_view_get from controllers. Add a helper client side.
...
bzr revid: fme@openerp.com-20121204163948-pctxvy55w34e1pg9
2012-12-04 17:39:48 +01:00
Xavier Morel
ae53b85d90
[FIX] clicks toggling @readonly radio buttons
...
bzr revid: xmo@openerp.com-20121204162354-6c4z8lvah683c5qx
2012-12-04 17:23:54 +01:00
Christophe Matthieu
b04a134a16
[FIX] view_form: m2m_tags, when a user quick create a tag, select a tags in the list or blurred and click on the arrow, the last selection is persistant. Overwrite onSetInputData to reset suggestions if input is empty.
...
bzr revid: chm@openerp.com-20121204102304-iru8pcjlca8zh5fj
2012-12-04 11:23:04 +01:00
Christophe Matthieu
2f38a4425f
[MERGE] view list: Show the menu sidebar when a child item is showed.
...
bzr revid: chm@openerp.com-20121204141416-cay34shj7h5y4a6q
2012-12-04 15:14:16 +01:00
vta vta@openerp.com
dd539643e6
[FIX] Added the context of the action when evaluating the domain.
...
bzr revid: vta@openerp.com-20121204093326-plc4pf4qszok1rw6
2012-12-04 10:33:26 +01:00
Christophe Simonis
0892aa7c49
[IMP] improve css for monetary fields
...
bzr revid: chs@openerp.com-20121203184214-wdunfzy4u2z99fk5
2012-12-03 19:42:14 +01:00
vta vta@openerp.com
44f27eca8e
[IMP] Improve M2OButton.
...
bzr revid: vta@openerp.com-20121203151525-j464860k1ueqztp6
2012-12-03 16:15:25 +01:00
Olivier Dony
6c00237919
[MERGE] instance.init: less offensive constant
...
bzr revid: odo@openerp.com-20121203125820-e1k8dphqhp35z2z2
2012-12-03 13:58:20 +01:00
Xavier Morel
f9670e67a2
[FIX] rollback default conversion of js Object to py.object (not py.dict) and add default toJSON to all py.object
...
* Accesses in contexts & domains are object derefs, so using dicts was
dumb
* But objects still need to round-trip through in case of e.g. o2m
commands in contexts, so py.object needs a toJSON (or a special
object kind needs to be added, specifically for round-tripping
objects through)
bzr revid: xmo@openerp.com-20121203122312-gc499mujf4l0nuz7
2012-12-03 13:23:12 +01:00
Xavier Morel
54ea7670d3
[FIX] incorrect conversion of JS arrays to py.js lists/tuples
...
bzr revid: xmo@openerp.com-20121203114706-dn5sqq3glqst4g1q
2012-12-03 12:47:06 +01:00
Vidhin Mehta (OpenERP)
2e05f7f6f5
[IMP]lib issue of jquery ui custom.bug already post on jquery ui support http://bugs.jqueryui.com/ticket/5466 .
...
bzr revid: vme@tinyerp.com-20121203102736-usb3qcd03sdxkxfi
2012-12-03 15:57:36 +05:30
Xavier Morel
0b54cbb64f
[IMP] update py.js for abs builtin support
...
bzr revid: xmo@openerp.com-20121203084803-ib325gp18g5xvdv6
2012-12-03 09:48:03 +01:00
Olivier Dony
ab39c09a7b
[MERGE] Less intrusive timezone offset warning (comes with corresponding server branch)
...
bzr revid: odo@openerp.com-20121130175658-r3zvuhx75iqa5sus
2012-11-30 18:56:58 +01:00
Olivier Dony
706a58bfec
[IMP] instance.init: less offensive constant
...
bzr revid: odo@openerp.com-20121130175249-yrbcdsn2z1io79dz
2012-11-30 18:52:49 +01:00
Christophe Matthieu
a96ef73523
[FIX] view: Sidebar attachment, check if empty create or modify
...
bzr revid: chm@openerp.com-20121130161454-4pujkohpzvvb1zmg
2012-11-30 17:14:54 +01:00
niv-openerp
053d6af231
[FIX] forgot to modify test after API change
...
bzr revid: nicolas.vanhoren@openerp.com-20121130140335-k1nus3oz1xw6deeu
2012-11-30 15:03:35 +01:00
Xavier Morel
4102c43793
[FIX] trailing comma in array
...
bzr revid: xmo@openerp.com-20121130133021-dg09qnw9twz2v4ws
2012-11-30 14:30:21 +01:00
Christophe Matthieu
ae74e57d84
[IMP] web view: add complete name file in the title and cut label after 25 chars, for Sidebar
...
bzr revid: chm@openerp.com-20121130115625-i776h334c3ym1mw9
2012-11-30 12:56:25 +01:00
Christophe Matthieu
c82bc229c6
[IMP] web view: Add title with creator and date for attachments on the sidebar.
...
bzr revid: chm@openerp.com-20121130114123-nwer85s4y6vs6438
2012-11-30 12:41:23 +01:00
Xavier Morel
e137c9d747
[FIX] translations and other failings
...
always include a ``context`` param in rpc requests if none is
provided: use the user_context at the very least
lp bug: https://launchpad.net/bugs/1084963 fixed
bzr revid: xmo@openerp.com-20121130103651-4pf5bauj50cm151y
2012-11-30 11:36:51 +01:00
Xavier Morel
5d313f1754
[FIX] styllistic fixes
...
bzr revid: xmo@openerp.com-20121130103638-8r77jpmb3hhmo8dt
2012-11-30 11:36:38 +01:00