Commit Graph
4499 Commits
Author SHA1 Message Date
Antony Lesuisse 7826bd85f8 [MERGE] trunk
bzr revid: al@openerp.com-20121219025047-og0v9r8x09y0wmd3
2012-12-19 03:50:47 +01:00
Antony Lesuisse 3e1bce4bad minor fixes
bzr revid: al@openerp.com-20121219024946-6ezbvcizf09w8lio
2012-12-19 03:49:46 +01:00
Fabien Meghazi 677b783dc5 [FIX] Special case fields type 'id'. Always set readonly.
lp bug: https://launchpad.net/bugs/1091344 fixed

bzr revid: fme@openerp.com-20121218173115-d5zgbfdkj3kivq26
2012-12-18 18:31:15 +01:00
vta vta@openerp.com 1d62e37925 [FIX] FieldStatus.get_selection() many2one domain issues
bzr revid: vta@openerp.com-20121218134740-ipmem2fo4mtgeaks
2012-12-18 14:47:40 +01:00
Fabien Meghazi e47064f150 [HCK] Temporary jQuery monkey patch until the webclient's minifier is fixed or replaced.
jQuery's $.browser dict is not correctly filled when javascript is minified
https://bugs.launchpad.net/openerp-web/+bug/1091621

As this causes many problems with IE, this is a temporary patch until we fix/replace the minifier

bzr revid: fme@openerp.com-20121218131244-cw6mds1ow94bg6re
2012-12-18 14:12:44 +01:00
Fabien Meghazi fcf4d4040f [ADD] Allow admin to edit the company logo
bzr revid: fme@openerp.com-20121218111734-wu02xaifqyqz1g20
2012-12-18 12:17:34 +01:00
niv-openerp 2aa92fdb69 [FIX] firefox problem with the overlay of blockUI
lp bug: https://launchpad.net/bugs/1090249 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121217172021-mwzu1qss4mns6qok
2012-12-17 18:20:21 +01:00
niv-openerp af3dbd598d [FIX] supposed problem in menu when a client action fails
bzr revid: nicolas.vanhoren@openerp.com-20121217150005-xucbt5xvysl85768
2012-12-17 16:00:05 +01:00
vta vta@openerp.com 1260f7059f [FIX] argh
bzr revid: vta@openerp.com-20121217095323-p9r0p2jps01i8orl
2012-12-17 10:53:23 +01:00
vta vta@openerp.com 5e2a77f589 [FIX] remove previous change
bzr revid: vta@openerp.com-20121217093249-vilaitfirtnc7mvw
2012-12-17 10:32:49 +01:00
vta vta@openerp.com b897974d61 [FIX] do not show timezone if anonymous
bzr revid: vta@openerp.com-20121217090857-m2ye3pm0bjdm341d
2012-12-17 10:08:57 +01:00
vta vta@openerp.com d9333329a6 [FIX] Anonymous login css
bzr revid: vta@openerp.com-20121217085759-dpxwrkh4pa81k0pb
2012-12-17 09:57:59 +01:00
Fabien Pinckaers 27a1ee5232 [IMP] image if no logo
bzr revid: fp@tinyerp.com-20121215215559-kq14di3z8juyv61r
2012-12-15 22:55:59 +01:00
Fabien Pinckaers af8781cbc1 [IMP] CSS of logo
bzr revid: fp@tinyerp.com-20121215214113-dmv0ehnh0hezwws1
2012-12-15 22:41:13 +01:00
Antony Lesuisse 3e914abf80 [MERGE] customizable web logo by chs
bzr revid: al@openerp.com-20121215192659-g5psibisxvyl8adw
2012-12-15 20:26:59 +01:00
Fabien Pinckaers 52ba63d94a [IMP] css modifs
bzr revid: fp@tinyerp.com-20121215110829-u3nahqtwckg0qxjx
2012-12-15 12:08:29 +01:00
niv-openerp 8a3fe9f0c2 [FIX] make the field text resize correctly
lp bug: https://launchpad.net/bugs/1089447 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121213150653-slmic4hcc2m95xy0
2012-12-13 16:06:53 +01:00
Fabien Pinckaers 80133457d9 [IMP] useability highlight select when option checked
bzr revid: fp@tinyerp.com-20121213150033-89zm08nfop2vf0fe
2012-12-13 16:00:33 +01:00
niv-openerp 082ca41f1c [FIX] when clicking too fast on root menu items, exceptions are thrown randomly
lp bug: https://launchpad.net/bugs/1088924 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121213143849-4n3qppvu9g9tarae
2012-12-13 15:38:49 +01:00
niv-openerp 906ceba948 [IMP] lot of small improvements to better detect when a view has finished loading
bzr revid: nicolas.vanhoren@openerp.com-20121213140914-8d1u01h17r2x4fpu
2012-12-13 15:09:14 +01:00
niv-openerp 96231a7ddb [FIX] problem when the user has a long name, the top bar will expand on two lines
lp bug: https://launchpad.net/bugs/1083976 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121213105200-e806966yi03vxsjx
2012-12-13 11:52:00 +01:00
Fabien Meghazi 141f32f878 [MERGE] Internet Explorer specific css
bzr revid: fme@openerp.com-20121212212617-cnvnwun9vqax82to
2012-12-12 22:26:17 +01:00
Fabien Meghazi bc038c36db [REV] Keep 100% width oe_login. We'd better refactor login dom.
bzr revid: fme@openerp.com-20121212212027-m5rg0tmgwk0ium1l
2012-12-12 22:20:27 +01:00
Fabien Meghazi 4106de73a9 [REM] Removed state styling. Not improving much but causing more troubles
bzr revid: fme@openerp.com-20121212211648-dpa4mjdmyliu7bz8
2012-12-12 22:16:48 +01:00
Fabien Meghazi 15065bf241 [REM] Removed mail addon specific styling
bzr revid: fme@openerp.com-20121212211157-pijn50u4f10zxp26
2012-12-12 22:11:57 +01:00
Olivier Dony 55419f063c [IMP] menu loading: simplify/optimize menu loading mechanism and de-duplicate need_action load, use child_of, skip useless calls, update tests
bzr revid: odo@openerp.com-20121212205120-qa8gq86hh6f26bdk
2012-12-12 21:51:20 +01:00
Fabien Meghazi 32f1918ca5 [REV] Revert some stuff
height should stay 100% on login box
removed buggy IE9 gradients

bzr revid: fme@openerp.com-20121212150346-a7bdktrrlr8k8iex
2012-12-12 16:03:46 +01:00
niv-openerp 8f224d0914 [FIX] problem with list views extending outside of sheets
bzr revid: nicolas.vanhoren@openerp.com-20121212134847-1rbjhwk7vu1vmu1k
2012-12-12 14:48:47 +01:00
Fabien Meghazi 428a8154a3 [MERGE] trunk
bzr revid: fme@openerp.com-20121212133800-k67gy1gctt5dxzwk
2012-12-12 14:38:00 +01:00
Fabien Meghazi 22128a2172 [IMP] Improved notebook styling
Inverted active state color of tabs

bzr revid: fme@openerp.com-20121211154550-q25v2rfiu8rxdeck
2012-12-11 16:45:50 +01:00
Christophe Matthieu 389b865d54 [MERGE] catch and display error when there are an error in an attachment. Add title with creator and date for attachments on the sidebar.
bzr revid: chm@openerp.com-20121211152455-nrx74yqs0ui1hsmr
2012-12-11 16:24:55 +01:00
Fabien Meghazi d63db5ef0a [FIX] Once DB Manager's 'Back to Login' button is used, logging in won't show application.
bzr revid: fme@openerp.com-20121211151824-ywcuhi4hdcvphn7g
2012-12-11 16:18:24 +01:00
Xavier Morel bc8e74d8b0 [FIX] focusing of form fields, implementation of focusing for tag m2m
jQuery's *focus* method must *not* be used: it triggers the blur and
focus events in the wrong order (and potentially more than once),
breaking the focus handling of the o2m editable list and making it
essentially unusable.

The DOM method behaves correctly, triggers the blur first and the
focus second in a different runloop frame (thus it's possible to bind
on blur, wait a set time and execute the actual blurring iif no focus
event has been seen within the form).

bzr revid: xmo@openerp.com-20121211145652-y63a0ny0gmoiozhn
2012-12-11 15:56:52 +01:00
Fabien Meghazi 6576b52d42 [REV] Url parmaters (hence debug mode) should stay persistent. Use bbq api in order to remove state.
Reverted partial feature of Revision:
3509 revid:chm@openerp.com-20121128082130-x16m1x0bdsgo7grp

bzr revid: fme@openerp.com-20121211145632-yce8jyyu6k7e2lov
2012-12-11 15:56:32 +01:00
Christophe Matthieu f817cd3f38 [IMP] web: move controler download_attachment into mail. change render into _t
bzr revid: chm@openerp.com-20121211144551-9uryi1z1sxe9daxv
2012-12-11 15:45:51 +01:00
Christophe Simonis 060ef93268 [IMP] show company logo in chrome
bzr revid: chs@openerp.com-20121211111824-dj2ienybj2rxwhjj
2012-12-11 12:18:24 +01:00
Christophe Matthieu b83c11d61a [FIX] web_form: FieldMany2ManyBinaryMultiFiles get_value work with default_value and unloaded value
bzr revid: chm@openerp.com-20121211105045-0kugxoijdxh8sm7s
2012-12-11 11:50:45 +01:00
Fabien Meghazi c124fc3281 [FIX] Roundtrips binary field value if not bin size
lp bug: https://launchpad.net/bugs/1082616 fixed

bzr revid: fme@openerp.com-20121211103357-csqirmhxehmszyu4
2012-12-11 11:33:57 +01:00
Xavier Morel e616a9aa14 [FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
2012-12-11 11:19:01 +01:00
Xavier Morel d165b1715c [FIX] broken writing to selection field from web UI
lp bug: https://launchpad.net/bugs/1088764 fixed

bzr revid: xmo@openerp.com-20121211090610-qoh1zazzpp00sx5l
2012-12-11 10:06:10 +01:00
Antony Lesuisse f83bfeff0b [IMP] cleanup menu method mess
do_* were introduce for testing this is not needed anymore

bzr revid: al@openerp.com-20121211021338-8s3jqpfraku1tmsj
2012-12-11 03:13:38 +01:00
Xavier Morel 456ce8cd36 [FIX] intermittent test failure
when test is run right at the boundary between two seconds, after rounding to second generated date and reference date could differ.

check that generated date is within a small range (date created before and date created after) instead of equal to reference

bzr revid: xmo@openerp.com-20121210165006-y720xrwlo37sjwm8
2012-12-10 17:50:06 +01:00
Xavier Morel 45f3ee1909 [FIX] xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8 issue: don't store value from non-existent input
bzr revid: xmo@openerp.com-20121210154411-vrju22fwq7gsjblm
2012-12-10 16:44:11 +01:00
Raphael Collet 43ca577f99 [FIX] js tests: add an abstraction over instance to create properly an assertion function
bzr revid: rco@openerp.com-20121210154309-mubr65ildpiw2wpx
2012-12-10 16:43:09 +01:00
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