Commit Graph
6345 Commits
Author SHA1 Message Date
niv-openerp b105770bbc [IMP] removed hack to force disable the browser's cache and use http headers instead
bzr revid: nicolas.vanhoren@openerp.com-20130724151929-8j1bo1ae64lwkxdw
2013-07-24 17:19:29 +02:00
niv-openerp 2205c3021f Some more correction to always have the db in the url
bzr revid: nicolas.vanhoren@openerp.com-20130724122328-kbnwq2uois37q74n
2013-07-24 14:23:28 +02:00
niv-openerp 9a688f2464 [FIX] some crash in the view manager
lp bug: https://launchpad.net/bugs/1202120 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130724114312-mksg94rr1afd90y4
2013-07-24 13:43:12 +02:00
niv-openerp 3b384da858 [IMP] Removed http param 'db' handling from http.py and put it in the main controller in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130724100030-yxbpntlz58kohy1n
2013-07-24 12:00:30 +02:00
niv-openerp 761ba75055 [IMP] Cleaned some more http.py, removed 'debug' handling and put it in the controller serving the home page
bzr revid: nicolas.vanhoren@openerp.com-20130724073624-uhshc0cn2m3rs7iq
2013-07-24 09:36:24 +02:00
Xavier Morel ed79dccf96 [IMP] simplify set use (no need to convert a set into a set) and remove unused variable
bzr revid: xmo@openerp.com-20130723155902-pl0l4uti02zak35b
2013-07-23 17:59:02 +02:00
Xavier Morel d179a7f8ca [FIX] unfuck set usage
set("web") -> set(['b', 'e', 'w']), which won't do anything.

Use set.discard which removes the value if present or noops if not.

bzr revid: xmo@openerp.com-20130723155729-80y1psxd1h0o82s6
2013-07-23 17:57:29 +02:00
Xavier Morel ebbff45cb5 [IMP] make trailing slashes irrelevant
bzr revid: xmo@openerp.com-20130723155651-zdvnmldwankto1fa
2013-07-23 17:56:51 +02:00
Thibault Delavallée 0a1db46398 [IMP] sidebar: when cliking on an item, add active_domain along with active_id and active_ids. This domain is taken from the search view.
bzr revid: tde@openerp.com-20130722112338-iws5ffxi77ykdvlu
2013-07-22 13:23:38 +02:00
Launchpad Translations on behalf of openerp f37c21ba83 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130722055953-xgh0975oe9735fut
2013-07-22 05:59:53 +00:00
Vidhin Mehta 21cc22b9e9 [IMP]check parent is exist or not.
lp bug: https://launchpad.net/bugs/1202120 fixed

bzr revid: vme@tinyerp.com-20130719090753-t1o4l3pyxd2t5kv9
2013-07-19 14:37:53 +05:30
Launchpad Translations on behalf of openerp dc5b5228db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130717072519-9772wyvh9z6e4g8n
bzr revid: launchpad_translations_on_behalf_of_openerp-20130718071434-7x6sozvlnl6qhb2i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130717072525-qqiq08bh7teas3sh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130718071444-zxeebb2ub7nv2zqq
2013-07-18 07:14:44 +00:00
Launchpad Translations on behalf of openerp 455fa4e597 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130717064313-thb64cq8368siq7s
2013-07-17 06:43:13 +00:00
niv-openerp 3885ee3330 [FIX] some more problems with werkzeug 0.9.1
bzr revid: nicolas.vanhoren@openerp.com-20130716131548-aa60tcfn3zwchqd0
2013-07-16 15:15:48 +02:00
niv-openerp 788071f34f [FIX] some more problems with werkzeug 0.9.1
bzr revid: nicolas.vanhoren@openerp.com-20130716131401-abj3i020a8831l98
2013-07-16 15:14:01 +02:00
niv-openerp 2fb48c695c [IMP] modified mono_db to refuse db= in the url if the db does not appear in the db_filter
bzr revid: nicolas.vanhoren@openerp.com-20130715132900-xwbve100mn8nyzo9
2013-07-15 15:29:00 +02:00
Antony Lesuisse 022bff6dc3 Added font awesome and jquery hotkeys
bzr revid: al@openerp.com-20130715122859-tsvmd1d89du6x094
2013-07-15 14:28:59 +02:00
niv-openerp b00689306c [FIX] problem with werkzeug 0.9.1 that makes the code crash when we generate a report
bzr revid: nicolas.vanhoren@openerp.com-20130715122835-4gtyu2xle8y7fls1
2013-07-15 14:28:35 +02:00
niv-openerp d42d50df57 [FIX] problem with werkzeug 0.9.1 that crashes when we generate a report
bzr revid: nicolas.vanhoren@openerp.com-20130715122648-a926d3tov4efbyrk
2013-07-15 14:26:48 +02:00
niv-openerp 7743f13c04 [FIX] small bug that made the reports crash when we try to print them
bzr revid: nicolas.vanhoren@openerp.com-20130715121611-q68m7w62h8ngnb2i
2013-07-15 14:16:11 +02:00
Launchpad Translations on behalf of openerp d1a4e0aef0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130711062622-v4muic3uqckueux5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130712063505-m63repwd0zokfibu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130713063525-b30s09rh63t3zox4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130714055943-xf6jvk2dpoemt6qx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130715051357-59o0nkhplh3e58mi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130704054706-ace1fcr1vtruoc4s
bzr revid: launchpad_translations_on_behalf_of_openerp-20130705061311-4735gtnj7xjmuprg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130712063510-g2yq0kxqgrx9x1df
bzr revid: launchpad_translations_on_behalf_of_openerp-20130713063533-7mjj5a7226xhtob6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130714055945-h6jn755mtdcubvei
bzr revid: launchpad_translations_on_behalf_of_openerp-20130715051400-rra06yzfd7zw4bt0
2013-07-15 05:14:00 +00:00
Frédéric van der Essen 16d3b79dfd [MERGE] from upstream
bzr revid: fva@openerp.com-20130712121148-0ys14v8jc33t6sf5
2013-07-12 14:11:48 +02:00
niv-openerp a7ab235c3a changed session handling
bzr revid: nicolas.vanhoren@openerp.com-20130712095309-41u7fi7ecs0y1lm1
2013-07-12 11:53:09 +02:00
niv-openerp a0a05454aa Solved a problem appearing in share module
bzr revid: nicolas.vanhoren@openerp.com-20130711154137-vwgb5cd4wj26jed8
2013-07-11 17:41:37 +02:00
niv-openerp e6fc23d980 Forgot some refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130711141832-8y5yj3lj7h4gb94q
2013-07-11 16:18:32 +02:00
niv-openerp 3569ff8654 Some details + documentation
bzr revid: nicolas.vanhoren@openerp.com-20130711140519-hdsu75efwvfq4h4q
2013-07-11 16:05:19 +02:00
niv-openerp 89c8698cb3 Make the server always check the identity of the logged user and switch default values of db, uid, login and password to None
bzr revid: nicolas.vanhoren@openerp.com-20130711134825-teiuidqv7z2bzsuq
2013-07-11 15:48:25 +02:00
niv-openerp 0d7ec71bc9 Renamed all _shit in session to remove the underscore
bzr revid: nicolas.vanhoren@openerp.com-20130711133928-zp40wl2t5q54wrnv
2013-07-11 15:39:28 +02:00
niv-openerp 9aaf79ffd2 more and more cleaning
bzr revid: nicolas.vanhoren@openerp.com-20130711132301-5fl5giqio4n9yzgk
2013-07-11 15:23:01 +02:00
niv-openerp 47b5a82ae8 Completely removed all ways to specify session identifiers and reduced them to 2 possibilities:
* The http argument 'session_id' (higher priority)
* The cookie 'session_id' (lower priority)

bzr revid: nicolas.vanhoren@openerp.com-20130711122034-3nvmkw4q5z4io4tm
2013-07-11 14:20:34 +02:00
niv-openerp a7adac1189 Now OpenERPSession is a subclass of werkzeug's session
bzr revid: nicolas.vanhoren@openerp.com-20130711103422-w7y05ox7tq0hz0og
2013-07-11 12:34:22 +02:00
Thibault Delavallée ccc2dd61ce [MERGE] Merged lp:~openerp-dev/openerp-web/7.0-pos-improvements-fva (using -r 3867..3868).
[IMP] web corelib: adding timeout option to the rpc api

bzr revid: tde@openerp.com-20130711084451-inllzawy31589568
2013-07-11 10:44:51 +02:00
niv-openerp 57d18c1a34 [IMP] In server-side web framework, change auth="db" to auth="admin", with some difference in semantic
bzr revid: nicolas.vanhoren@openerp.com-20130710145451-56ui50mga78eq10v
2013-07-10 16:54:51 +02:00
Christophe Matthieu e4aad29beb [FIX] web report: use get to find active_ids inside the context. Check if report_ids is defined
bzr revid: chm@openerp.com-20130708105425-p8279f00xa7925xh
2013-07-08 12:54:25 +02:00
Launchpad Translations on behalf of openerp 67446c03c8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130706060601-g53uexsat5353d0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130704051222-8312iolzes0iz0mg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130707052839-7kjpq3lenydfn435
bzr revid: launchpad_translations_on_behalf_of_openerp-20130708052557-b3sap5jqvv13mzuz
2013-07-08 05:25:57 +00:00
bth-openerp 19ae69201c [IMP]Add parent-id attribute to get childrens of that parentid and show selected parent's childrens rather than else.
lp bug: https://launchpad.net/bugs/1183156 fixed

bzr revid: bth@tinyerp.com-20130705121036-0pn454ts3z9wkwxr
2013-07-05 17:40:36 +05:30
Mohammed Shekha 2e3ec5e2e9 [FIX]Fixed the issue of last element of grouped row removed, due to which grouped total information also got lost.
bzr revid: msh@openerp.com-20130703131223-bwu6hl8v5y5sjt5w
2013-07-03 18:42:23 +05:30
Christophe Simonis 713b00d477 [MERGE] forward port of branch saas-1 up to revid 3740 chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: chs@openerp.com-20130702145352-dym8zvfkwzb3qiqa
2013-07-02 16:53:52 +02:00
Martin Trigaux 7e4776f2f2 [FIX] pyeval: be more fault tolerant to avoid wrap null values
bzr revid: mat@openerp.com-20130702141600-4s7oan9yidjrlmcc
2013-07-02 16:16:00 +02:00
chs f15f706313 [FIX] monodb: correct behaviour in no-db-list mode (manual forward port of 7.0 rev 3991 mat@openerp.com-20130702122014-6l79a748lb946hkq)
bzr revid: mat@openerp.com-20130702122404-sngh0g283tuvj8ll
2013-07-02 14:24:04 +02:00
Martin Trigaux 85d568184c [FIX] http: db_monodb returns a result when only one db is available
bzr revid: mat@openerp.com-20130702103331-2f2vkz12sp385ldt
2013-07-02 12:33:31 +02:00
chs 4039900383 [FIX] monodb: correct behaviour in no-db-list mode (again)
bzr revid: mat@openerp.com-20130702122014-6l79a748lb946hkq
2013-07-02 14:20:14 +02:00
Christophe Simonis d5b4996aab [FIX] web: only open reports in new window on iOS devices
bzr revid: chs@openerp.com-20130702093932-r0nl3b02fludgu9s
2013-07-02 11:39:32 +02:00
Launchpad Translations on behalf of openerp d15439f296 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130628054843-gc05hes8wwao8kbp
2013-06-28 05:48:43 +00:00
Christophe Matthieu bb92e7daf0 [FIX] checkbox position for boolean field in list editable. Remove padding on the field for a good resizing and position and add margin on input
bzr revid: chm@openerp.com-20130627091705-ry0689d3dg4izhn4
2013-06-27 11:17:05 +02:00
Launchpad Translations on behalf of openerp fc8ca396d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055814-0xhzq55bhk2yalpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061855-up0d9p61pblz40xa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055818-kmfgjvq2jfrhd3zr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061858-aacxz9wf3f2e4b0v
2013-06-26 06:18:58 +00:00
niv-openerp f93d10957d [FIX] bad handling of werkzeug's exceptions
bzr revid: nicolas.vanhoren@openerp.com-20130624155634-d5b5998jv01fa1wh
2013-06-24 17:56:34 +02:00
Xavier Morel 11a0ece543 [FIX] evaluation context structures not being round-tripped through eval
JS objects are converted to py.object when passed in through the
evaluation context. py.object are not serializable by default (because
that doesn't really make sense), which breaks when the input is
intended as a dict and returned (e.g. o2m values, which are triples of
(int, int?, dict?)).

Intuitively, JS objects passed as part of the context should be mostly
JSON-ish and thus dicts, but that turns out not work work as some
addons use attribute accesses within contexts (e.g. parent.access in
account/account_invoice_view.xml)

=> Temporarily solve by converting raw js objects to an "attributed
dict" which acts as both a dict and an object and can be converted to
JSON.

Ideally, py.js should provide for a pluggable conversion, or should
use an attributed mapping internally. See issues 21 and 23.

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

bzr revid: xmo@openerp.com-20130624055929-3rtkgqrp4o87pvau
2013-06-24 07:59:29 +02:00
Launchpad Translations on behalf of openerp e2c795e297 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130622062509-09p9c2ue6lp31hfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130623055456-p4wd0c25eb7i07g1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130624052601-ewqft8e70ql5qs27
2013-06-24 05:26:01 +00:00
Denis Ledoux 1f6bf43079 [FIX]web: views.js & coresetup.js, ir_actions_report_xml and get_file special case for iOS devices, which do not allow iframe use the way we do it
bzr revid: dle@openerp.com-20130621124449-e3qyz7m7yfvhta1d
2013-06-21 14:44:49 +02:00