Commit Graph
4811 Commits
Author SHA1 Message Date
Xavier Morel 0ad34228e2 [FIX] small issue with adding an attribute called 'id' to a backbone model
triggers backbone's thinking that the model is 'not new' and trying to sync it with a remote on e.g. removal

bzr revid: xmo@openerp.com-20130131135125-1x7czib7q0kafok8
2013-01-31 14:51:25 +01:00
Xavier Morel 69171aa805 [CHG] allow deselecting a custom filter by clicking on it again in the drawer
as asked in project.task:4837:

> Cannot uncheck a custom filter by clicking on it (it's possible on
> classic filters)

bzr revid: xmo@openerp.com-20130131112617-8vul65bb4lbfbfvk
2013-01-31 12:26:17 +01:00
niv-openerp 0272007aae [FIX] minor css fix
bzr revid: nicolas.vanhoren@openerp.com-20130131104804-2d7fo5iafvrhcklk
2013-01-31 11:48:04 +01:00
Christophe Matthieu d8f18175b9 [MERGE] from trunk
bzr revid: chm@openerp.com-20130131093733-9k2p09hqmsxmo35l
2013-01-31 10:37:33 +01:00
niv-openerp bd3d0384fd [IMP] added mechanism to implement exception handlers
bzr revid: nicolas.vanhoren@openerp.com-20130130161534-m81tj4h3dgsoprh3
2013-01-30 17:15:34 +01:00
niv-openerp 65cfe2ee38 Removed old useless keys
bzr revid: nicolas.vanhoren@openerp.com-20130130152926-bhdxho0eyq58s3or
2013-01-30 16:29:26 +01:00
niv-openerp 4776ea75eb Solved warning problem
bzr revid: nicolas.vanhoren@openerp.com-20130130152552-l07fk2lahfnb9ckx
2013-01-30 16:25:52 +01:00
Olivier Dony 02a6c638a9 [MERGE] Latest bugfixes from 7.0, up to rev 3731
rev 3731 = revision-id: fme@openerp.com-20130129142638-81uffjq3aiopr8ta

bzr revid: odo@openerp.com-20130129163725-feesf1n2xf0wbpro
2013-01-29 17:37:25 +01:00
Christophe Matthieu 06b2fd5865 [IMP] base: apply same css of body content for the textarea
bzr revid: chm@openerp.com-20130129100614-fwz3lf8pvqeuuohl
2013-01-29 11:06:14 +01:00
Xavier Morel b87102f22e [FIX] Inject user context in all domain and context evaluation
Custom keys from user context may be used in action contexts (not just
e.g. searchview filters). For instance, have a custom key
context_salesteam (in the user model) and an action defining some
search default as a function of the salesteam.

In that case, the action's context evaluation (view.js:~275) will blow
up.

Ensure that does not happen.

Note: eval_contexts already injects user_context in the reduction of
contexts to evaluate. It should be possible to alter the reduction
function to avoid having to inject instance.session.user_context
through pyeval.context(), maybe by _.extend-ing ``result_context``
into ``evaluation_context`` at the *top* of the reduction function
rather than at its bottom?

bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2013-01-28 14:06:40 +01:00
Xavier Morel 8e21d2a847 [FIX] avoid storing new admin password in browser history on database creation, courtesy of Holger Brunn
bzr revid: xmo@openerp.com-20130125114331-yabvigl2qjscnzv5
2013-01-25 12:43:31 +01:00
Holger Brunn e02e396925 [IMP] set _push_me: false to fix lp:1091759
bzr revid: hbrunn@therp.nl-20130125110159-b43murb3dzbp9oib
2013-01-25 12:01:59 +01:00
Xavier Morel 4c46187ebf [IMP] set_content_full_screen code, avoid duplications
bzr revid: xmo@openerp.com-20130125100547-ujawyg4ohnrofl3u
2013-01-25 11:05:47 +01:00
Xavier Morel ac550e4239 [FIX] aggregates not being displayed in list o2ms
A template alteration previously used to remove the bottom pager of
listviews in o2ms now matches aggregate field displays.

bzr revid: xmo@openerp.com-20130125085739-isro8w216gpa038a
2013-01-25 09:57:39 +01:00
Xavier Morel e761ab7454 [FIX] domain returned by onchange
The "new" form engine performs a bunch of conversions on the form arch
from json to xml to text to json again (or something), thus the
``node`` attribute on form fields might be json but it's got no more
relation to the form's own arch (and the fields defined therein).

Meanwhile the domains processing for onchange recursively traversed
the *form*'s arch trying to find a node matching the key it had to set
its @domain to what it was given. It long predates the "new" form
engine, and since it alters the *original* arch not a copy the "new"
form engine broke it. And since that's untested, it's been broken for
a bunch of months (probably).

Fix by looking up the field according to the domain key (in
form.fields), and setting the domain in the node of the field, rather
than the node of the form's arch.

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

bzr revid: xmo@openerp.com-20130124144018-0g3sl2nej2aj6syp
2013-01-24 15:40:18 +01:00
Mohammed Shekha 54f58c82ae [FIX]Fixed the issue of sum aggregates not displayed on one2many footer.
bzr revid: msh@openerp.com-20130124120727-hhlrzr7qzk242lw0
2013-01-24 17:37:27 +05:30
Christophe Matthieu aec0de7a96 [IMP] view: alias
bzr revid: chm@openerp.com-20130123113834-xlujbrmxgrr8e8ft
2013-01-23 12:38:34 +01:00
Christophe Matthieu 65555ae972 [IMP] view: alias
bzr revid: chm@openerp.com-20130123111628-m74jj7xj1c9t5zf9
2013-01-23 12:16:28 +01:00
Xavier Morel 8192977f3c [IMP] add confirmation message when removing a global custom filter
lp bug: https://launchpad.net/bugs/1103410 fixed

bzr revid: xmo@openerp.com-20130123105320-pbmeqoudpb48s87m
2013-01-23 11:53:20 +01:00
Christophe Matthieu b02c1eb263 [IMP] view: no message alias
bzr revid: chm@openerp.com-20130123103102-81kafjq0l61uq8qx
2013-01-23 11:31:02 +01:00
Xavier Morel ca038643b9 [FIX] rounding of float_time to the next hour should bump the hour, nor display 60mn
bzr revid: xmo@openerp.com-20130123101557-v63oxes2emrwcz19
2013-01-23 11:15:57 +01:00
Anand Patel (OpenERP) be9f4b43b7 [IMP] Added some test cases for the float_time
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
Xavier Morel d5ab8a4241 [IMP] IE9 supports window.getSelection
remove IE <9 usage of document.selection as we don't support these browsers anyway

bzr revid: xmo@openerp.com-20130123092946-wgtvfz3493l7p7cw
2013-01-23 10:29:46 +01:00
Xavier Morel 01ee5f60ee [FIX] pasting HTML content into the text box, then trying to navigate/alter it
Navigation implementation can only deal with straight text (and
asserts that), if HTML is pasted in a search input
InputView#getSelection will throw errors and refuse to act.

Clean up input content after a paste event, to ensure only plain text
is present so it can be navigated.

Don't forget to correctly re-set the cursor at the end of the input
data, otherwise the user will face various deep DOM errors when trying
to move around the input with the arrow keys (which he would usually
be able to do after a paste).

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

bzr revid: xmo@openerp.com-20130123091600-nd4rwqpin6qj8ult
2013-01-23 10:16:00 +01:00
Xavier Morel e5ad5f8e10 [FIX] move filter added at xmo@openerp.com-20130122135139-s3ui9hb44xd7afba to after map
If the filter is executed first, the "iteratee" is transformed to an
array (from an object) and the "key" is lost, replaced by the indices
to the array (and thus the name of the fields end up as "0", "1", "2",
... instead of their actual logical names)

bzr revid: xmo@openerp.com-20130123084422-tbl05l5j72sx528n
2013-01-23 09:44:22 +01:00
Vishmita 227758417a [FIX] correctly remove existing needaction counter on reload
bzr revid: xmo@openerp.com-20130122143842-zv3tpd36glphrutu
2013-01-22 15:38:42 +01:00
Xavier Morel f0e8441130 [FIX] correctly pass context to fields_get of advanced search so fields are correctly translated & localized
bzr revid: xmo@openerp.com-20130122141657-sabov4ht6xp3so1a
2013-01-22 15:16:57 +01:00
Xavier Morel 605c171e5b [IMP] search view: don't list deprecated fields in advanced search
bzr revid: xmo@openerp.com-20130122135139-s3ui9hb44xd7afba
2013-01-22 14:51:39 +01:00
Bhumi Thakkar (Open ERP) 85579d5022 [FIX] Advanced search does not support local language.--fixes:lp1099833
bzr revid: bth@tinyerp.com-20130122121332-9iw75g5ddunzam58
2013-01-22 17:43:32 +05:30
Xavier Morel 71cf3407f0 [FIX] menu items spilling out of secondary menu and into content area
bzr revid: xmo@openerp.com-20130122112040-4xnqzsz5c61upmji
2013-01-22 12:20:40 +01:00
Bhumi Thakkar (Open ERP) 71b2aecf50 [FIX] Add filter for deprecated in ExtendedSearchProposition.
bzr revid: bth@tinyerp.com-20130122102857-86sbqqvlldxb2zhc
2013-01-22 15:58:57 +05:30
Vidhin Mehta bf8cb150ba [FIX]Auto complete issue of many2one.
bzr revid: vme@tinyerp.com-20130122070310-pi2wfcdota1kn9kg
2013-01-22 12:33:10 +05:30
Anand Patel (OpenERP) 7ae392d316 [FIX][7.0]Fixed float_time widget show wrong format of time.
bzr revid: pan@tinyerp.com-20130122060420-7cho7hewmj80mb16
2013-01-22 11:34:20 +05:30
Vidhin Mehta 0709ca97e8 [FIX]View not redering @ proper position.
bzr revid: vme@tinyerp.com-20130122055856-iby255hebyxb72rs
2013-01-22 11:28:56 +05:30
Bhumi Thakkar (Open ERP) 515e6f5cf0 [FIX] hit box of menu items is large and can sometimes overflow the page content on its right.--fixes:lp1098574
bzr revid: bth@tinyerp.com-20130115102141-wnu6rd323laxwhco
2013-01-15 15:51:41 +05:30
Fabien Meghazi 8afb54980a [MERGE] Forward-port of latest 7.0 changes, (revision 3701)
bzr revid: odo@openerp.com-20130114103535-43fmqnzg9bh8ptpj
bzr revid: fme@openerp.com-20130114140243-ea81b61n1jhehj5o
2013-01-14 15:02:43 +01:00
Fabien Meghazi 31237c0b58 [ADD] Backward compatibility layer for 7.0
bzr revid: fme@openerp.com-20130114135145-z51tp204vybz0dr3
2013-01-14 14:51:45 +01:00
Fabien Meghazi 8c1f9dc490 [FIX] Fix one custom filter bug (only scratch the surface of this problem)
bzr revid: fme@openerp.com-20130114093014-5sv1sfk5u2uemwlr
2013-01-14 10:30:14 +01:00
niv-openerp 3478333bca [IMP] added feature to WebClient class to allow definition of multiple title parts for the document
bzr revid: nicolas.vanhoren@openerp.com-20130111111416-8ild3d8imijt7xja
2013-01-11 12:14:16 +01:00
vta vta@openerp.com 56e97a98bb [FIX] Fixed issue with testing context in eval.js, due to a previous change in get_session_info (context -> user_context)
bzr revid: vta@openerp.com-20130111094314-odrm9enzrmcrtcu6
2013-01-11 10:43:14 +01:00
Fabien Meghazi ca454bcf94 [FIX] html widget: fix cleditor width when the field was invisible before becoming editable
lp bug: https://launchpad.net/bugs/1097638 fixed

bzr revid: odo@openerp.com-20130109164626-1a16vqmwc366n0xf
2013-01-09 17:46:26 +01:00
Frédéric van der Essen 16e1ca6880 [IMP] css: made the fallback color for gradients a mix of the endcolors instead of simply the start. Why? Because it's a better fallback of course.
bzr revid: fva@openerp.com-20130109131848-z3t8ad2qadypcduv
2013-01-09 14:18:48 +01:00
niv-openerp b8180f4c09 [FIX] problem when multiple instances of the web client run in tabs and we disconnect from one tab, now displays a better error message
lp bug: https://launchpad.net/bugs/1093671 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130108164104-7wv2yxlrczqmicvb
2013-01-08 17:41:04 +01:00
Fabien Meghazi 5f7a8b66e0 [FIX] Empty binary fields does not hide filename placeholder
lp bug: https://launchpad.net/bugs/1054111 fixed

bzr revid: fme@openerp.com-20130107161807-fvzdgayqhf8hx92q
2013-01-07 17:18:07 +01:00
Christophe Matthieu 61455bb8b0 [IMP] menu css, don't display active color and need action hover the content document
bzr revid: chm@openerp.com-20130107133848-50ei3eioobx3z0a3
2013-01-07 14:38:48 +01:00
Christophe Matthieu 3be31fa63d [MERGE] trunk-bug-1095257-vja: In IE9,create database page should display in center.
bzr revid: chm@openerp.com-20130104154424-joyb3r3hfa2twslw
2013-01-04 16:44:24 +01:00
Christophe Matthieu 61c9e6a717 [MERGE] with trunk
bzr revid: chm@openerp.com-20130104152849-0txtt7q9ptpdkd63
2013-01-04 16:28:49 +01:00
Christophe Matthieu a1e39f8d75 [FIX] py.js: add the name of value to display error when debugging.
bzr revid: chm@openerp.com-20130104140000-22t1wj95jp7ro2ho
2013-01-04 15:00:00 +01:00
niv-openerp 3ef0096b5b [FIX] css problem in list view: list arrow appearing when we sort could appear on the text
lp bug: https://launchpad.net/bugs/1095269 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103174214-zezyx4ieidugnl5q
2013-01-03 18:42:14 +01:00
niv-openerp 4f07a4c7af [IMP] desactivate sorting in list view with function fields with store=false
lp bug: https://launchpad.net/bugs/1095664 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103144651-qcxmp0bphkylp9s2
2013-01-03 15:46:51 +01:00