Commit Graph
5482 Commits
Author SHA1 Message Date
Fabien Meghazi c9f2a86be5 [FIX] Calendar popup form view_id is not honored. Default form view is used instead.
Added instance.web.ViewManager#get_view_id(view_type)
Fetch the title of the popup from the parent if it's a ViewManagerAction,
    otherwise, use the current's view title.

bzr revid: fme@openerp.com-20130204124348-p79drjm72vt2j2ty
2013-02-04 13:43:48 +01:00
Vijaykumar Baladaniya 5f23b55909 [FIX] passtrough_events name replace with passthrough_events.
bzr revid: vba@tinyerp.com-20130204084307-8qremz8qi1qcwhfe
2013-02-04 14:13:07 +05:30
Launchpad Translations on behalf of openerp ffa1be00e1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054959-3q99pnpceh0ywrvw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202060018-lx1r8atxxituupav
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052931-09m8yy1o8v06eh5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202060014-qh8fzkuorbrs0rc2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052927-r4fv1lu71yh8hrw9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130204054306-wccng6apw2bmlmdi
2013-02-04 05:43:06 +00:00
Christophe Matthieu 0d3004e829 [IMP] view: only first alias displayed
bzr revid: chm@openerp.com-20130201095133-i3p6vehexh7a9bqh
2013-02-01 10:51:33 +01:00
Antonin Bourguignon 62285a48ed [IMP] add a handler for the new exception RedirectWarning
bzr revid: abo@openerp.com-20130131182921-9tv71vzjr2agdusc
2013-01-31 19:29:21 +01:00
Xavier Morel eff1708704 [IMP] web module tutorial: start adding RPC stuff
bzr revid: xmo@openerp.com-20130131153100-gze86fbchz4tnrg3
2013-01-31 16:31:00 +01:00
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
niv-openerp 79f7eaf08c Changed exception handling in jsonrpc
bzr revid: nicolas.vanhoren@openerp.com-20130130143049-hofmnixydlf42dds
2013-01-30 15:30:49 +01:00
Launchpad Translations on behalf of openerp e2618f83ff Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130044636-3393wid4kxfcmhjk
2013-01-30 04:46:36 +00: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
Fabien Meghazi 337faa6829 [FIX] Use relative protocol in scripts url in order to avoid mixed content warnings in IE
bzr revid: fme@openerp.com-20130129142638-81uffjq3aiopr8ta
2013-01-29 15:26:38 +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
Launchpad Translations on behalf of openerp b7f2a1979a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053743-gvzlf7q6x7t1epw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127051012-oel2zn0owk19akxk
2013-01-27 05:10:12 +00: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
Launchpad Translations on behalf of openerp 1558bb732d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060530-mvl0r5jn2ysf7amp
2013-01-25 06:05:30 +00: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
Olivier Dony 611ff620ce [FIX] session: properly handle exceptions with unicode messages during dispatching
String formatting with an Exception param will use
str(Exception), raising an error if the exception
has non-ascii characters in the message.

bzr revid: odo@openerp.com-20130124140538-1wjjl4a12xnwn38o
2013-01-24 15:05:38 +01:00
Xavier Morel e7547a13db [REM] noise key in web manifest
bzr revid: xmo@openerp.com-20130124131102-s3342pppi2nhyk9g
2013-01-24 14:11:02 +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
Launchpad Translations on behalf of openerp 688bb77d95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053511-cxfjeh7rfwridjv1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053515-bl01lm43wsqnoenv
2013-01-24 05:35:15 +00:00
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
Launchpad Translations on behalf of openerp 3499c33270 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060246-kt475gbzoz4f1703
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060324-z9zt3oif6p20i6mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060328-e0rnct2yu9lh23vp
2013-01-23 06:03:28 +00:00
Vo Minh Thu e2d5e0df9e [DOC] fixed -999999 title indentation.
bzr revid: vmt@openerp.com-20130122164517-ig8a44yzoretq94c
2013-01-22 17:45:17 +01:00
Vo Minh Thu 26a8748029 [DOC] openerp command is now part of the server project.
bzr revid: vmt@openerp.com-20130122160818-n8sx3tvgkk17zvdg
2013-01-22 17:08:18 +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