Commit Graph
4598 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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 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
niv-openerp 5469b4709b [FIX] exception when logging in the web client and the server was launched using --no-database-list
lp bug: https://launchpad.net/bugs/1094179 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103141945-11afh6khtpa7tapm
2013-01-03 15:19:45 +01:00
Christophe Matthieu 11db0f89fe [MERGE] trunk-bug-1094839-vja: in listview, sorting arrow disappearing from column header when the user change of the view and return on listview.
bzr revid: chm@openerp.com-20130103092823-jbjhh686vix52ih6
2013-01-03 10:28:23 +01:00
niv-openerp e11e108bfb [FIX] problem when a menu item is too long, fixed with css
lp bug: https://launchpad.net/bugs/1094274 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130102125344-eet63kr1z9llfx8a
2013-01-02 13:53:44 +01:00
Christophe Matthieu 86c631dcd3 [MERGE] trunk-bug-1092097-vja: Timezone mismatch icon not displayed properly in IE9.
bzr revid: chm@openerp.com-20130102105940-d5r0mhrtj257nmju
2013-01-02 11:59:40 +01:00
niv-openerp 5cafcf5570 [FIX] potential problem with empty save message in form view in some cases and access rights
lp bug: https://launchpad.net/bugs/1093781 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130102102835-a1uibudlohbsz9x8
2013-01-02 11:28:35 +01:00
vta vta@openerp.com cc2e7a55bb [FIX] Set Login params.token. Added action_notify and action_warn
bzr revid: vta@openerp.com-20130102094608-tgqdgk31lpsbx05s
2013-01-02 10:46:08 +01:00
Michael Telahun Makonnen 35223210cc [ADD] Amharic (Ethiopia) date/time localization for DateJS, courtesy of Michael Telahun Makonnen.
This is necessary in order for the web client to work properly when
the user's locale is set to Amharic. Otherwise datejs will crash and
the web client's loading will fail to complete.

bzr revid: xmo@openerp.com-20130116100411-ew1383st1hr8yv3l
2013-01-16 11:04:11 +01:00
Antony Lesuisse 61bff67159 [MERGE] get_session_info cleanup
bzr revid: al@openerp.com-20121227100753-q1jyl37k09ku2px2
2012-12-27 11:07:53 +01:00
vta vta@openerp.com a49e82615d [FIX] Spacing
bzr revid: vta@openerp.com-20121227074438-skr59rph2j908tdc
2012-12-27 08:44:38 +01:00
vta vta@openerp.com 39e5509e6c [FIX] Fix not working code, and some cleaning proposed by AL
bzr revid: vta@openerp.com-20121226181833-kih09glellxisl9p
2012-12-26 19:18:33 +01:00