Commit Graph

639 Commits

Author SHA1 Message Date
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 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 e6fc23d980 Forgot some refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130711141832-8y5yj3lj7h4gb94q
2013-07-11 16:18:32 +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
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
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
niv-openerp c433395b4f Put json-rpc controller in http.py
bzr revid: nicolas.vanhoren@openerp.com-20130621145455-n933uz1dcdmsv9t7
2013-06-21 16:54:55 +02:00
niv-openerp 770751c7d7 removed some useless code
bzr revid: nicolas.vanhoren@openerp.com-20130621143648-fh7vnyt3o6a7swqj
2013-06-21 16:36:48 +02:00
niv-openerp d57bbfd2ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130621135207-7oq7v2ubzfdrkrbr
2013-06-21 15:52:07 +02:00
niv-openerp 52d1b26b2f Put db_monodb() method in http.py
bzr revid: nicolas.vanhoren@openerp.com-20130621124143-pe5hgwj81j2degg6
2013-06-21 14:41:43 +02:00
niv-openerp 95f9491252 Rewrite db_monodb
bzr revid: nicolas.vanhoren@openerp.com-20130621123149-ukxjzz9jyckf9a4r
2013-06-21 14:31:49 +02:00
niv-openerp 2fd53a468c multiple refactoring with authentication
bzr revid: nicolas.vanhoren@openerp.com-20130621121510-gx22b6j9pwsfe352
2013-06-21 14:15:10 +02:00
niv-openerp 4119d7ce99 Added werkzeug's arguments
bzr revid: nicolas.vanhoren@openerp.com-20130620121026-btc06m36x9jg1ok0
2013-06-20 14:10:26 +02:00
niv-openerp 5a2c7af297 Refactored main.py
bzr revid: nicolas.vanhoren@openerp.com-20130619165957-nw7eb80c7gqqcj7v
2013-06-19 18:59:57 +02:00
niv-openerp 69ae9cc0b5 Big refactoring to prepare even more refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130619161627-543e0brldclvvw98
2013-06-19 18:16:27 +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
niv-openerp c44888527b Added werkzeug route building, not yet switched
bzr revid: nicolas.vanhoren@openerp.com-20130614152621-t8jv4474gt9k6yib
2013-06-14 17:26:21 +02:00
Christophe Simonis a61e7cb0c8 [MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +02:00
niv-openerp d6c89cdb7c Implemented jsonrpc method
bzr revid: nicolas.vanhoren@openerp.com-20130613140418-2i1qsb6jykhx5jaz
2013-06-13 16:04:18 +02:00
niv-openerp 20c0e6fbb7 fixed get_lang_list
bzr revid: nicolas.vanhoren@openerp.com-20130613114421-hv3rgj0rxghpwlgp
2013-06-13 13:44:21 +02:00
niv-openerp 1c0282d09d fixed lot of problem with nodb
bzr revid: nicolas.vanhoren@openerp.com-20130613112027-1fps4v7h6zx5omo0
2013-06-13 13:20:27 +02:00
niv-openerp 50a5a612da Now uses request.cr for Model
bzr revid: nicolas.vanhoren@openerp.com-20130613110005-idverfbs9xe6l32w
2013-06-13 13:00:05 +02:00
niv-openerp c6b4e77df4 Put @nodb on all methods where it is required in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130611165901-l1pyzpvpniq41a29
2013-06-11 18:59:01 +02:00
Christophe Simonis 22a8e5266e [FIX] web: calls to openerp methods do not raises xmlrpc Fault anymore
bzr revid: chs@openerp.com-20130611163527-k6yzb604c36n2wha
2013-06-11 18:35:27 +02:00
Christophe Simonis 6263673720 [MERGE] forward port of branch 7.0 up to revid 3973 chs@openerp.com-20130611145028-f98x6inytlr3ijjg
bzr revid: chs@openerp.com-20130611155251-zk0qkk70z30n81vl
2013-06-11 17:52:51 +02:00
Christophe Simonis ce68573126 [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611145028-f98x6inytlr3ijjg
2013-06-11 16:50:28 +02:00
Christophe Simonis 36e113e6bd [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611110327-sipc2er6z1ch7leb
2013-06-11 13:03:27 +02:00
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Olivier Dony 6901c4f981 [FIX] export: allow excluding special virtual fields from exportable data
For example the virtual "Access Rights" fields on
res.users cannot be browsed and cannot currently
by exported.

bzr revid: odo@openerp.com-20130607093044-y3bct44ralu8yf0o
2013-06-07 11:30:44 +02:00
niv-openerp 956a05e0f2 Replaced main
bzr revid: nicolas.vanhoren@openerp.com-20130607091856-mnjnllza9oafqxb7
2013-06-07 11:18:56 +02:00
niv-openerp 6afbca24f9 [REV] revert of previous improvement
bzr revid: nicolas.vanhoren@openerp.com-20130605092926-dhoumh76dwtl211t
2013-06-05 11:29:26 +02:00
niv-openerp 97b22323aa Refactored main.py
bzr revid: nicolas.vanhoren@openerp.com-20130604153037-h4kzan18r2wlkb62
2013-06-04 17:30:37 +02:00
Thibault Delavallée c4c17fc3d2 [FIX] image controller: all reads (event __last_update) should be encapsulated into a try/catch to avoid having sometimes a placeholder, sometimes a broken image + traceback.
bzr revid: tde@openerp.com-20130528130526-iwzw5jjttr4nevc4
2013-05-28 15:05:26 +02:00
niv-openerp 97110c0a48 [FIX] problem in database manager when db list is desactivated
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130527122415-pk8i2uqfrgyiac83
2013-05-27 14:24:15 +02:00
Christophe Simonis d086a71131 [IMP] web: allow manifest files to contain remote js/css/qweb files
bzr revid: chs@openerp.com-20130528104352-b1qf79d6bdm8x2ec
2013-05-28 12:43:52 +02:00
Vidhin Mehta d6024fa36b [FIX]add callback function to fetch_lang and in *drop db* which is not created,after drop it shows 'db succesfully droped'.
bzr revid: vme@tinyerp.com-20130516170403-7oil1k6em99a1hmp
2013-05-16 22:34:03 +05:30
Xavier Morel ae1ea1ac58 [FIX] incorrect company logo on databases with uppercase letters
bzr revid: xmo@openerp.com-20130516132200-t4h6gtoplkqzuh1w
2013-05-16 15:22:00 +02:00
niv-openerp f77cf1b603 wip
bzr revid: nicolas.vanhoren@openerp.com-20130515090231-pj7q042poo2183sp
2013-05-15 11:02:31 +02:00
niv-openerp b1338a1c8f fix
bzr revid: nicolas.vanhoren@openerp.com-20130515085618-m72mahjie4iguwhy
2013-05-15 10:56:18 +02:00
Ravi Gohil (OpenERP) 408f17a884 [FIX] Company Logo not shown if database name contains capitals(Courtesy: Karel Marissens). (Maintenance Case: 592257)
lp bug: https://launchpad.net/bugs/1172679 fixed

bzr revid: rgo@tinyerp.com-20130506092751-9zutbjsc5e5mnnvh
2013-05-06 14:57:51 +05:30
Olivier Dony ba5710962e [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay
2013-04-30 12:33:37 +02:00
Antony Lesuisse 44569c06a2 [FIX] http controllers inheritance
minimalist and backward compatible implementation

bzr revid: al@openerp.com-20130423210644-hmvglhh10zlrwp9q
2013-04-23 23:06:44 +02:00
Christophe Simonis e5736828f9 [REVERT] revert commit fme@openerp.com-20130418171750-7oldgiewo1eewxk7: do not break stable API !!!
bzr revid: chs@openerp.com-20130423124151-h025b891xp77flg3
2013-04-23 14:41:51 +02:00
Vidhin Mehta 2d07136d6f [FIX]Remove extra duplicate method,show valid error msg when invalid db to drop, do_render method call after resolving fetch_langs and call always after fetch_db.
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: vme@tinyerp.com-20130423104647-8xvrthahdzk42r08
2013-04-23 16:16:47 +05:30
Fabien Meghazi d94936132a [MERGE] Fixed http controllers inheritance
bzr revid: fme@openerp.com-20130418171750-7oldgiewo1eewxk7
2013-04-18 19:17:50 +02:00
Christophe Simonis ecdc3b1873 [FIX] web: company_logo does not try to load the pool + failback correctly if the database does not exists or is not an openerp database
bzr revid: chs@openerp.com-20130405134747-7rkmz5d4r0buhhxj
2013-04-05 15:47:47 +02:00
Olivier Dony f0320d4258 [FIX] web: company_logo route may be accessed with uid = False in some cases, it should still work
bzr revid: odo@openerp.com-20130404143144-3o2j0xbwh4m84tu8
2013-04-04 16:31:44 +02:00
Xavier Morel bc07cab28c [IMP] export formats have no need to inherit from the export controller
bzr revid: xmo@openerp.com-20130403091025-wjb23mzbmdyjnahm
2013-04-03 11:10:25 +02:00
Xavier Morel 41784d0aec [FIX] Export and Reports controllers have no need to extend View
bzr revid: xmo@openerp.com-20130403082635-9dmdi4cco3kawiib
2013-04-03 10:26:35 +02:00
Xavier Morel 94c2c42be6 [MERGE] from 7.0
bzr revid: xmo@openerp.com-20130313094909-u21ee88l2lak9p2x
2013-03-13 10:49:09 +01:00
Antony Lesuisse cb9106d99f [FIX] IE9 db creation, better monodb
bzr revid: al@openerp.com-20130312230344-uasy5dx2e8n5ytlr
2013-03-13 00:03:44 +01:00
Fabien Meghazi 9223cd6e33 [FIX] Add redirect helper for IE<10 (looses hash on redirects)
bzr revid: fme@openerp.com-20130307095923-nh1s5uvzl68455cg
2013-03-07 10:59:23 +01:00
Fabien Meghazi c41aa09d92 [FIX] Restore cookie_db check
bzr revid: fme@openerp.com-20130306152129-945co8a1gljz95eu
2013-03-06 16:21:29 +01:00
Fabien Meghazi 182eb325fe [MERGE] Remove url timestamps in debug mode
bzr revid: fme@openerp.com-20130306100701-bwli4fkwv7xlfpf8
2013-03-06 11:07:01 +01:00
Fabien Meghazi 28aa304d44 [FIX] db_monodb: cookie not used. keep same behavior as previous
bzr revid: fme@openerp.com-20130306085936-3mcyorwtgbb0uk0u
2013-03-06 09:59:36 +01:00
Antony Lesuisse 88e0e2933c db_monodb better version and naming
bzr revid: al@openerp.com-20130306005755-bgyl65f03st6mn6x
2013-03-06 01:57:55 +01:00
Antony Lesuisse b5b625932a db_monodb use the new implementation
bzr revid: al@openerp.com-20130305211433-cz7jopkmehxbbbsh
2013-03-05 22:14:33 +01:00
Fabien Meghazi 7b154aa8e0 [REM] Removed database check, this is not the role of the controller to reject a bad database name
bzr revid: fme@openerp.com-20130305165144-1nzgf3urk4ke20ty
2013-03-05 17:51:44 +01:00
Fabien Meghazi 0f03ed38f0 [IMP] forgot a change in previous commit
bzr revid: fme@openerp.com-20130305111932-lytw8pax3bjihg9d
2013-03-05 12:19:32 +01:00
Fabien Meghazi 1a00c29538 [FIX] unbreak api
bzr revid: fme@openerp.com-20130305111703-5l6iw2s970j76f43
2013-03-05 12:17:03 +01:00
Fabien Meghazi fc74aaf760 [FIX] Fixed for --no-database-list option
bzr revid: fme@openerp.com-20130305092426-48h757qc62taugpl
2013-03-05 10:24:26 +01:00
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +01:00
Fabien Meghazi d6e460d9e7 [FIX] Correctly handles db param in url. Home controller redirects on db if more than one db
bzr revid: fme@openerp.com-20130228161537-cen2lyknfifqtyu0
2013-02-28 17:15:37 +01:00
Fabien Meghazi 301d63b8c9 [WIP] wip , lots of troubles !
bzr revid: fme@openerp.com-20130228101614-zn4prwhi6zk0h13d
2013-02-28 11:16:14 +01:00
Christophe Simonis dd6a60e2bc [FIX] web: saved_action must start at index 1
bzr revid: chs@openerp.com-20130227172829-zxksmvky3hwltt7l
2013-02-27 18:28:29 +01:00
Fabien Meghazi d6975ff37f [FIX] Remove url timestamps in debug mode
The chrome cache bug seems to be gone with newer versions.
Moreover, the cutting edge features of the webkit developper tools
won't work if url changes upon reload.

bzr revid: fme@openerp.com-20130227114134-nlv7g5jjvvd037p2
2013-02-27 12:41:34 +01:00
niv-openerp 9f6451c2ac [FIX] typo in attachment server-side methods
lp bug: https://launchpad.net/bugs/1132770 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130225172446-gfuhhg0dqetiz51m
2013-02-25 18:24:46 +01:00
Thibault Delavallée 5e09c5c361 [FWD] [MERGE] Foward port of web-7.0 until rev 3771.
bzr revid: tde@openerp.com-20130221110355-p00935eqn4tstkx9
2013-02-21 12:03:55 +01:00
Raphael Collet 11051d4a08 [FIX] web: rewrite reference to removed module openerp.service.web_services
bzr revid: rco@openerp.com-20130213082035-9ajx7jlzim1qunv4
2013-02-13 09:20:35 +01:00
Olivier Dony d0c4cca10e [FIX] web: properly encode db and addons URL parameters
Passing the values unescaped could be a source of errors
and a XSS vector.

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

bzr revid: odo@openerp.com-20130207173439-ud5fos61d4pcoe2d
2013-02-07 18:34:39 +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
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
niv-openerp 454c3cd23a [IMP] Added method to make the client lib work with jsonrpc.
bzr revid: nicolas.vanhoren@openerp.com-20130115104423-mb8f2ec3o1jhz8ut
2013-01-15 11:44:23 +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
vta vta@openerp.com 78f36a2fce [IMP] Browser's language as default language for anonymous user
bzr revid: vta@openerp.com-20121226074539-i5d2bqmmnqm3i8d6
2012-12-26 08:45:39 +01:00
Christophe Simonis 43f2dff179 [FIX] web: correct the concatenation of css files: @charset and @import rules must be before any other rules
bzr revid: chs@openerp.com-20130319154433-zizwv4irfvh93swe
2013-03-19 16:44:33 +01:00
Antony Lesuisse f14a8b9aac [IMP] version_info more info
bzr revid: al@openerp.com-20121219154505-lcartslny586t07n
2012-12-19 16:45:05 +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
Antony Lesuisse 3e914abf80 [MERGE] customizable web logo by chs
bzr revid: al@openerp.com-20121215192659-g5psibisxvyl8adw
2012-12-15 20:26:59 +01:00
Xavier Morel d6087e208f [FIX] flow control annoyances
bzr revid: xmo@openerp.com-20121214152957-izvuo2u0uvpuv2ho
2012-12-14 16:29:57 +01:00
Xavier Morel 7acadc00c6 [FIX] unwarranted assumption that name_get(ids) and read(ids) will return the same records in the same order
There is actually no such guarantee, neither name_get nor read
guarantee they'll return records in input order, let alone in the same
order as one another, and both are free to skip records as they see
fit (kinda).

=> convert the name_get result to a dict, and then fill in the
display_name for each record returned by read() using get()

bzr revid: xmo@openerp.com-20121213130548-x1h6czyru5nc6wwm
2012-12-13 14:05:48 +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
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
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 27ae24eed2 [IMP] remove debug logging
bzr revid: chs@openerp.com-20121211122119-mhl5383vsgacxsz5
2012-12-11 13:21:19 +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
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
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
niv-openerp aee4b7fb92 [IMP] modified chrome frame message to display better in IE8
bzr revid: nicolas.vanhoren@openerp.com-20121210155021-5b7j4626p52uz1ei
2012-12-10 16:50:21 +01:00
Thibault Delavallée 5d2d4dea2c [MERGE] Needaction loading update.
This web revision modifies the way needaction are loaded. Now they are loaded independently of the menus. After having loaded and displayed the various menus, a call to the server is done to avoid a long latency between the login and the display of menus. Needaction counter will be displayed as soon as they are available.

bzr revid: tde@openerp.com-20121210131658-pgy3t9t71f0z2yd5
2012-12-10 14:16:58 +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
Christophe Matthieu 5944b6c6d6 [IMP] web: add controler /web/binary/download_attachment with arguments: model, id, method and attachment_id
bzr revid: chm@openerp.com-20121210112712-at23yy7kls6phu9v
2012-12-10 12:27:12 +01:00
Christophe Matthieu 94c9801ac7 [MERGE] from trunk
bzr revid: chm@openerp.com-20121207081026-3edlt0698csc6gk8
2012-12-07 09:10:26 +01:00
Christophe Matthieu 98e87a51ae [IMP] attachment: sidebar rendering of tipsy in html mode, and error fix
bzr revid: chm@openerp.com-20121207080946-f7zr853hvdhdrsk0
2012-12-07 09:09:46 +01:00
Fabien Meghazi 58b44d5082 [IMP] Removed fields_view_get from controllers. Add a helper client side.
bzr revid: fme@openerp.com-20121204163948-pctxvy55w34e1pg9
2012-12-04 17:39:48 +01:00
Thibault Delavallée f0087538ac [IMP] as ir_ui_menu.needaction_enabled is back as store=True, we can filter the initial search for needaction_counters.
bzr revid: tde@openerp.com-20121129155801-0wxdogo9o9emk6i4
2012-11-29 16:58:01 +01:00
Thibault Delavallée 5fc19e0454 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129151120-e6ovaugw0pkccyuu
2012-11-29 16:11:20 +01:00
tsabi 76ca47d4fd [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Thibault Delavallée 7461f88473 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129114105-0akr0d6nji08g750
2012-11-29 12:41:05 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Thibault Delavallée 10ba4e5e60 [IMP] [TMP] controller: search for all menus to have their needaction info, because currently needaction_enabled is not searchable (non stored function field). Revert this revision when the column is back as stored.
bzr revid: tde@openerp.com-20121128110520-wijh1sr5qvsch7b8
2012-11-28 12:05:20 +01:00
Thibault Delavallée 920fd89e05 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128081853-t1efdxd9s6owrb5o
2012-11-28 09:18:53 +01:00
Thibault Delavallée c5d3036674 [IMP] Needaction: couters are not counter with the menu anymore.
Web-side: a call to get_needaction_data is performed to have action counters.
Menus are then updated synchronously with this value.

bzr revid: tde@openerp.com-20121127142944-m17zo62er5rh2lvg
2012-11-27 15:29:44 +01:00
Xavier Morel 908c986ce8 [FIX] onchange for client-side evaluation: use regular method calls
bzr revid: xmo@openerp.com-20121127133435-ss3g97sm43mrtbla
2012-11-27 14:34:35 +01:00
Vishmita 71c8b58581 [FIX]Fixed the issue of raised exception not displayed when adding attachment to object if create of ir.attachment raises exception.
bzr revid: vja@tinyerp.com-20121127100210-krziqgqh1t1063ry
2012-11-27 15:32:10 +05:30
Xavier Morel 4a5cb1ebc4 [REM] EVALPOCALYPSE PART 2: no more python-side eval
trigger an error if a nonliteral context is pushed to the server (through a new object_hook)

bzr revid: xmo@openerp.com-20121126140525-ni2x5m56upss610b
2012-11-26 15:05:25 +01:00
Xavier Morel eb9a1c7d55 [REM] EVALPOCALYPSE PART ONE
bzr revid: xmo@openerp.com-20121126105450-0f6xowd3dhj4jmbl
2012-11-26 11:54:50 +01:00
Fabien Pinckaers 456dd91064 [IMP] improved change password dialog
bzr revid: fp@tinyerp.com-20121126084339-10z9t97tbc3izmm6
2012-11-26 09:43:39 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
niv-openerp 59505d3a5a [FIX] problem in export with ID
bzr revid: nicolas.vanhoren@openerp.com-20121122131517-ys8dkdzfmoa4sgpz
2012-11-22 14:15:17 +01:00
Christophe Simonis 1782d61e44 [FIX] web: pass env in login_and_redirect
bzr revid: chs@openerp.com-20121120180933-ktarob0a3ll4ccsn
2012-11-20 19:09:33 +01:00
Jiten (OpenERP) beeaf61b21 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121120123652-ezrem00a8t8xbi7c
2012-11-20 18:06:52 +05:30
Vishmita b8836ee809 [IMP]Set Priority to display warning messages for change password dialog
bzr revid: vja@tinyerp.com-20121120123131-9boe1y6ki0sy2h3c
2012-11-20 18:01:31 +05:30
niv-openerp ade1a5df87 [IMP] allows to specify a specific eval domain in /web/action/load
bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe
2012-11-20 12:07:48 +01:00
Vishmita 3b07266500 [IMP]Minor Changes related to terminology for Change Password dialog pop-up
bzr revid: vja@tinyerp.com-20121120072957-rrjlbwkn6tkdmqkc
2012-11-20 12:59:57 +05:30
Olivier Dony 1a8acb73b3 [IMP] monodb bootstrap: support @db query string param to force monodb mode
Allows a.o. to let auth_signup URLs works even if multiple DBs
exist

bzr revid: odo@openerp.com-20121119170042-iprc0u159qpf8ll2
2012-11-19 18:00:42 +01:00
Antony Lesuisse bcfa7c49cc [IMP] minify cache
bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll
2012-11-16 14:58:22 +01:00
Xavier Morel 0d85c24ae3 [MERGE] from trunk, fix/adapt some tests
bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld
2012-11-16 11:08:40 +01:00
Fabien Meghazi cace9f7887 [IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Christophe Simonis 69f385414a [FIX] manifest_glob return path with / for web part
bzr revid: chs@openerp.com-20121115151228-xzrlpjxwkspf5fgz
2012-11-15 16:12:28 +01:00
Frédéric van der Essen b7bb7e6246 [IMP] added a .ie class on <html> when using ie <= 9
bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
2012-11-15 15:30:47 +01:00
Vo Minh Thu 1ba3ae959f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114113528-t6ed04bv1d5p7h31
2012-11-14 12:35:28 +01:00
Vo Minh Thu a219c013f1 [IMP] controllers/main.py: removed unneeded tupling/splatting.
bzr revid: vmt@openerp.com-20121114110053-9vovll5tvjobjuka
2012-11-14 12:00:53 +01:00
Fabien Meghazi 9114457d71 [REV] Revision 3408 revid:al@openerp.com-20121114005029-41tkuo2g93vbnz60 does not pass runbot tests
bzr revid: fme@openerp.com-20121114090731-hrw2eh6b1and8soc
2012-11-14 10:07:31 +01:00
Antony Lesuisse d639ae250c [MERGE] menu possible to reload only a submenu
bzr revid: al@openerp.com-20121114005029-41tkuo2g93vbnz60
2012-11-14 01:50:29 +01:00
Christophe Matthieu 0cf93f912b [IMP] mail & web menu: code review for reload menu
bzr revid: chm@openerp.com-20121113160248-1p2003uc9f5nnxnm
2012-11-13 17:02:48 +01:00
Christophe Matthieu 82cba0604f [IMP] web menu: add a context value for reload one submenus of a parent id menu. If no default_menu, load all menus
bzr revid: chm@openerp.com-20121113143220-zhwo06j7pl8rt2wi
2012-11-13 15:32:20 +01:00
Christophe Simonis fa16b8910e [ADD] req.lang property to get preferred lang for the current request
bzr revid: chs@openerp.com-20121112181033-b17zj2io47me04kk
2012-11-12 19:10:33 +01:00
Xavier Morel 9e11c51843 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121112164136-sfyfxdcjx3ps086b
2012-11-12 17:41:36 +01:00
Xavier Morel e001c965a5 [REM] unused import controller
bzr revid: xmo@openerp.com-20121112124904-4ubf9d17d2whq1ln
2012-11-12 13:49:04 +01:00
Thibault Delavallée 4ca42f9968 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112104931-jvcn0853jx08do7n
2012-11-12 11:49:31 +01:00
Antony Lesuisse 1b80c5bd52 [IMP] monodb helper
bzr revid: al@openerp.com-20121111163243-bhj3jzhuk99sklwo
2012-11-11 17:32:43 +01:00
Antony Lesuisse 49c0ed6467 [IMP] restore mono db preload, introduce bootstrap manifest key
bzr revid: al@openerp.com-20121110211343-g1r6qzka8iqk1fky
2012-11-10 22:13:43 +01:00
Christophe Matthieu d59417c879 [IMP] web controllers: add resize option on /web/binary/?image. The max size of resizing is 500*500.
bzr revid: chm@openerp.com-20121108102423-oh5633zqlj4g762o
2012-11-08 11:24:23 +01:00
Giedrius Slavinskas 70cbf251f1 [FIX] escape returned database backup and exported data filenames
bzr revid: giedrius@inovera.lt-20121031155310-htyh0qdvsxudnm59
2012-10-31 17:53:10 +02:00
Vidhin Mehta (OpenERP) 1b3d045cee [FIX] added *.id* field manually.
lp bug: https://launchpad.net/bugs/1071794 fixed

bzr revid: vme@tinyerp.com-20121031100737-u0r015etp6jilo80
2012-10-31 15:37:37 +05:30
Giedrius Slavinskas d4295fa050 [FIX] escape returned report filename
lp bug: https://launchpad.net/bugs/1072803 fixed

bzr revid: giedrius@inovera.lt-20121030115113-1aooabkpzwy62wnq
2012-10-30 13:51:13 +02:00
Xavier Morel 108d617507 [MERGE] duplicate temp branch
bzr revid: xmo@openerp.com-20121026120215-vztkxmvjghhrs2yk
2012-10-26 14:02:15 +02:00
Xavier Morel 99a2dd3938 [ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed

bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
2012-10-25 17:47:45 +02:00
Vo Minh Thu 83a0a252b9 [IMP] database management: added `duplicate` operation.
bzr revid: vmt@openerp.com-20121019101259-f32m2wlf6xugk2vi
2012-10-19 12:12:59 +02:00
Antony Lesuisse ae6ff0764b web remove common, fix imports
bzr revid: al@openerp.com-20121010203753-azrcz3k2kd44ni24
2012-10-10 22:37:53 +02:00
Antony Lesuisse 818fd9f67f remove standalone
bzr revid: al@openerp.com-20121010172418-27stgsd4w71cbxv4
2012-10-10 19:24:18 +02:00
niv-openerp c9a79627f3 [IMP] added code to download google frame
bzr revid: nicolas.vanhoren@openerp.com-20121008103700-8glev3xtzyue7for
2012-10-08 12:37:00 +02:00
vta vta@openerp.com dcb8a9e441 [FIX] Fixed more r.result issues.
bzr revid: vta@openerp.com-20121005113046-mwgb0pvm4bcgf875
2012-10-05 13:30:46 +02:00
Olivier Dony 37dd0e0319 [REV] Revert recent commit on do_action return type, broke trunk
bzr revid: odo@openerp.com-20121004135211-txo513kgfbyrjjtz
2012-10-04 15:52:11 +02:00
vta vta@openerp.com ba4e817379 [FIX] Fixed return type in action.load controller.
bzr revid: vta@openerp.com-20121004134056-je53a1m4tpxecho0
2012-10-04 15:40:56 +02:00
vta vta@openerp.com f29a405729 [FIX] Fixed return type in DataSet.call_button controller.
bzr revid: vta@openerp.com-20121004115011-702ut2j0358rw6cq
2012-10-04 13:50:11 +02:00
Olivier Dony bc650ac97c [FIX] bootstrap_translations: leftover handling for multiple langs caused error if preferred lang had a hyphen
bzr revid: odo@openerp.com-20121004091314-13nbs4386fimlxd3
2012-10-04 11:13:14 +02:00
Olivier Dony a09b2fdff1 [REM] cleanup leftover debug logging
bzr revid: odo@openerp.com-20121003152121-yeg4vhph4cy7xgpp
2012-10-03 17:21:21 +02:00
Antony Lesuisse 4f299e1b1b [MERGE] trunk
bzr revid: al@openerp.com-20121002220720-z0rjvmjx8kvy52zh
2012-10-03 00:07:20 +02:00
Antony Lesuisse 49956d869e restore monodb mode, disabled until we split translation/code loading
bzr revid: al@openerp.com-20121002220258-51w0lm0cn12l74p5
2012-10-03 00:02:58 +02:00
Olivier Dony 9e6920415e [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121001145308-ri5rp2cazxqxcxme
2012-10-01 16:53:08 +02:00
Olivier Dony ba8118b8a0 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20120919155441-hnx35t23j3k3pvkd
bzr revid: odo@openerp.com-20120926125657-ixiqypb319fxdlab
2012-09-26 14:56:57 +02:00
Fabien Pinckaers cac8884c6c [MERGE] better filename for reports
bzr revid: fp@tinyerp.com-20120920093457-dy4t9nhygka5ngmz
2012-09-20 11:34:57 +02:00
Turkesh Patel (Open ERP) 224374edd2 [FIX] Report should not have name None.pdf.
bzr revid: tpa@tinyerp.com-20120919091507-5aeo3eynubmfl3lo
2012-09-19 14:45:07 +05:30
Olivier Dony 13dfee0de0 [IMP] translations: keep only one method for loading translations
bzr revid: odo@openerp.com-20120918135111-o6ylzs1n36kqkh4c
2012-09-18 15:51:11 +02:00
Olivier Dony a3a2ec416b [IMP] translation: load translations from ir.translation after authenticating, use local POs for bootstrap only (login page)
bzr revid: odo@openerp.com-20120918072802-568n19bg1ecm1m2t
2012-09-18 09:28:02 +02:00
Olivier Dony aa98dd38e2 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20120911114201-1omaloa3b2dld9l9
2012-09-11 13:42:01 +02:00
Xavier Morel a933c17e54 [FIX] integrate web tests into buildbot runner, fix broken tests
* Remove deprecated tests and dead code
* Fix usage of mock
* Moar fixes

bzr revid: xmo@openerp.com-20120910105129-rxh3jqwkewh65rl3
2012-09-10 12:51:29 +02:00
Xavier Morel 15c7043f56 [IMP] make resequence field customizable, make sequence number for first record configurable
bzr revid: xmo@openerp.com-20120830121403-82cr13t824jdxcsh
2012-08-30 14:14:03 +02:00
Fabien Pinckaers 420a4811b9 [IMP] remove OpenERP Enterprise old code
bzr revid: fp@openerp.com-20120827213212-cjhnn33eqnrn8mk1
2012-08-27 23:32:12 +02:00
Antony Lesuisse 0b2d038be6 [IMP] on the mini fly. With gzip openerp 7 js is around 500kb.
bzr revid: al@openerp.com-20120818173437-7ua4hjbswob6byh7
2012-08-18 19:34:37 +02:00
Jigar Amin - OpenERP 02d32cd6cf [MERGE] lp:openerp-web
bzr revid: jam@tinyerp.com-20120817062019-k2i3ut3snkoot3x1
2012-08-17 11:50:19 +05:30
Fabien Meghazi 91e8503f21 [MERGE] Kanban add/edit/delete groups
bzr revid: fme@openerp.com-20120816161804-yw4h0tfbe3e4vj04
2012-08-16 18:18:04 +02:00
Christophe Simonis 8921c6e439 [FIX] /web/session/modules route return all installed modules. Web client is smart enough to not load a module twice
bzr revid: chs@openerp.com-20120816160738-symx1j22h9svigmo
2012-08-16 18:07:38 +02:00
Fabien Meghazi 8cd8c2b83a [MERGE] trunk
bzr revid: fme@openerp.com-20120816112021-dkpubr6q762qwq11
2012-08-16 13:20:21 +02:00
Antony Lesuisse dd6371e244 [FIX] handle correctly --no-database-list, move local connector to session
bzr revid: al@openerp.com-20120815170321-7qfx3ol1selfjig1
2012-08-15 19:03:21 +02:00
Fabien Meghazi f1531572de [WIP] Resequence
bzr revid: fme@openerp.com-20120814221334-8arihwthpwictk3y
2012-08-15 00:13:34 +02:00
Fabien Meghazi 2b0fcb7775 [WIP] groups drag'n drop + resequence
bzr revid: fme@openerp.com-20120814195316-j66wn6yxta6yj0w9
2012-08-14 21:53:16 +02:00
Christophe Simonis f2c059312b [IMP] split login_and_redirect() into login_and_redirect() and set_cookie_and_redirect()
bzr revid: chs@openerp.com-20120813171301-w1ynjqhosrt68ppa
2012-08-13 19:13:01 +02:00
Antony Lesuisse 2a84ba0160 [IMP] use registry contextmanager
bzr revid: al@openerp.com-20120813152045-woeg16q10xkhiqgk
2012-08-13 17:20:45 +02:00
Christophe Simonis 0f1aa3300d [FIX] do not autocorrect location header in redirects
bzr revid: chs@openerp.com-20120813135927-k32eih6tg6y28ivl
2012-08-13 15:59:27 +02:00
Fabien Meghazi 41791f7e2f [FIX] Fix bug in binary/image controller
bzr revid: fme@openerp.com-20120813135653-zvk21ch7dc9rs66w
2012-08-13 15:56:53 +02:00
Antony Lesuisse 2a7d95ac75 [IMP] load all modules at boot in single db mode
bzr revid: al@openerp.com-20120812222901-tjz9443oylidd7sy
2012-08-13 00:29:01 +02:00
Antony Lesuisse aa93e7186d [IMP] web controller helpers
- move helpers on top
- move some code from controllers to helpers
- deprecate module dependecy processing in standalone client

bzr revid: al@openerp.com-20120812214827-m1wrv7y1jvnro9ew
2012-08-12 23:48:27 +02:00
Antony Lesuisse 6a78b5dbd9 [FIX] authenticate optional env
bzr revid: al@openerp.com-20120812151532-gqt8dcqo6f5t2szb
2012-08-12 17:15:32 +02:00
Christophe Simonis ee01a39a76 merge upstream
bzr revid: chs@openerp.com-20120809152939-3dummyonbx1qdsbo
2012-08-09 17:29:39 +02:00
Christophe Simonis fb86ddb644 [IMP] merge web_dashboard module into board module of addons branch
[IMP] extract dashboard part of web into board module

bzr revid: chs@openerp.com-20120809152043-0yfm6l2zt44eiqrb
2012-08-09 17:20:43 +02:00
Fabien Meghazi 594862e93a [IMP] binary/image should be backward compatible when id url parameter is empty
bzr revid: fme@openerp.com-20120809142346-79xiq48qbgx7743i
2012-08-09 16:23:46 +02:00
Harry (OpenERP) 1b5259b3e3 [MERGE]
bzr revid: hmo@tinyerp.com-20120809132239-blyhpfxwn2szlqec
2012-08-09 18:52:39 +05:30
Fabien Meghazi 528c12774d [IMP] kanban_image uses json for id and is now tolerant to m2o id's
bzr revid: fme@openerp.com-20120809125419-j4l0063qyy6antqu
2012-08-09 14:54:19 +02:00
Christophe Simonis 1d75045294 [IMP] home controller
bzr revid: chs@openerp.com-20120808114110-b7x8b3e4pfn20ie5
2012-08-08 13:41:10 +02:00
Fabien Meghazi 68d177d609 [FIX] Binary image controller should not crash on virtual ids
bzr revid: fme@openerp.com-20120807105813-ybrsot6bco8ib36e
2012-08-07 12:58:13 +02:00
Fabien Meghazi 8e43e0f494 [ADD] Added support for future display_name
bzr revid: fme@openerp.com-20120731140309-8hawqnal8cw3zxww
2012-07-31 16:03:09 +02:00
niv-openerp 781fbd3a26 [FIX] corrected some old code about focus
bzr revid: nicolas.vanhoren@openerp.com-20120726154716-1sua5q2teqeba7r0
2012-07-26 17:47:16 +02:00
niv-openerp 26aaa7d9a7 [IMP] improvement to cache control
bzr revid: nicolas.vanhoren@openerp.com-20120726142057-7nf7wii9t37b6xo0
2012-07-26 16:20:57 +02:00
Antony Lesuisse 3d1616851a [FIX] login after database creation
bzr revid: al@openerp.com-20120726090712-5htfyn5keu2svh5c
2012-07-26 11:07:12 +02:00
Christophe Simonis 9f34b1ebaf [FIX] do not absolutify data uri when merging css files
bzr revid: chs@openerp.com-20120716142918-813sn1z197ily3un
2012-07-16 16:29:18 +02:00
Jigar Amin - OpenERP 68998d4c82 [MERGE] openerp-web
bzr revid: jam@tinyerp.com-20120716062416-xa18xmtkj5mgj2ag
2012-07-16 11:54:16 +05:30
Jigar Amin - OpenERP d23af2550d [MERGE] Call the translation services, check the requested translation if not translation then laod it from internal file resource will support when web running in non embedded mode
bzr revid: jam@tinyerp.com-20120716062251-ub62cqfwl2n15zh4
2012-07-16 11:52:51 +05:30
Turkesh Patel (Open ERP) 58e20e9c8f [IMP] improved code to load data from po.
bzr revid: tpa@tinyerp.com-20120716060056-3az6awpd6gw39hii
2012-07-16 11:30:56 +05:30
Antony Lesuisse 71a5c53072 [IMP] allow xml ids for action_id
bzr revid: al@openerp.com-20120713145740-xkwp0hxy7kou61f0
2012-07-13 16:57:40 +02:00
Turkesh Patel (Open ERP) 0d4bd736e1 [IMP] improved code to get formeted traslation from server.
bzr revid: tpa@tinyerp.com-20120713070048-7yxm3fcajemiingc
2012-07-13 12:30:48 +05:30
Turkesh Patel (Open ERP) e9c78767dd [IMP] improved code
bzr revid: tpa@tinyerp.com-20120712132542-c19ysod7jm5jmukc
2012-07-12 18:55:42 +05:30
Turkesh Patel (Open ERP) 4bbbef1929 [IMP] improved code for load translation when run web without embedded mode.
bzr revid: tpa@tinyerp.com-20120712105955-szwm5vb49va6o4dp
2012-07-12 16:29:55 +05:30
Turkesh Patel (Open ERP) f0f4ba6d41 [IMP] improved code.
bzr revid: tpa@tinyerp.com-20120712104110-wot1evq0affpx2tp
2012-07-12 16:11:10 +05:30
Turkesh Patel (Open ERP) 67aa9fa31a [IMP] load translation using 'translation' http service
bzr revid: tpa@tinyerp.com-20120711071405-g0biuqlctedlbcs9
2012-07-11 12:44:05 +05:30
niv-openerp ea076e054b [IMP] removed js file arguments in debug mode to ease debugging
bzr revid: nicolas.vanhoren@openerp.com-20120709134516-bd1yabogwoomipkd
2012-07-09 15:45:16 +02:00
Xavier Morel 9e4f8eb50c [MERGE] proposal 111358: automatically add filter to context when clicking on needaction counter
bzr revid: xmo@openerp.com-20120702075243-eftttcka8ljuokqe
2012-07-02 09:52:43 +02:00
niv-openerp 4b1991414b [FIX] problem with db manager
bzr revid: nicolas.vanhoren@openerp.com-20120629135849-hrpn59w50iu8h0j1
2012-06-29 15:58:49 +02:00
Thibault Delavallée 48b08907c0 [MERGE] Merged with trunk web.
bzr revid: tde@openerp.com-20120627115748-3ckox2kez2uhfb7k
2012-06-27 13:57:48 +02:00
niv-openerp ce9879bea4 [FIX] put back the "Add to Dashboard" feature
bzr revid: nicolas.vanhoren@openerp.com-20120626145445-kym37wuxkaapdwe6
2012-06-26 16:54:45 +02:00
Thibault Delavallée 17a46b7836 [IMP] controller/main.py: when a sever action returns False, do not try to executed it.
bzr revid: tde@openerp.com-20120626114408-a8qm0oaxywl8iqle
2012-06-26 13:44:08 +02:00
Xavier Morel 54a8f9e193 [MERGE] 6.1 changes and trunk
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
niv-openerp 7df26eb3ec [FIX] some problem with reports python-side
bzr revid: nicolas.vanhoren@openerp.com-20120622140951-9iw406yvo6rvzfxs
2012-06-22 16:09:51 +02:00
Vishmita 26dc7e2fa9 [FIX]Minor changes.
bzr revid: vja@tinyerp.com-20120621090425-wa3lrw5tait9lt9s
2012-06-21 14:34:25 +05:30
Vidhin Mehta (OpenERP) 235cca3aab [MERGE]merge with trunk and remove conflicts.
bzr revid: vme@tinyerp.com-20120620144304-yr9zodv1skkrlccf
2012-06-20 20:13:04 +05:30
Vidhin Mehta (OpenERP) 2b33e4914a [IMP]remove python code.
bzr revid: vme@tinyerp.com-20120620093813-a11mc1p64407jk6d
2012-06-20 15:08:13 +05:30
Fabien Meghazi d148034070 [ADD] Add Cache-Control support in Binary Image and kanban view
bzr revid: fme@openerp.com-20120619090642-o397qwkzanof1b04
2012-06-19 11:06:42 +02:00
Fabien Meghazi 5436e4fea8 [ADD] Added support for ETag in Binary#image
[REM] Removed kanban hack using Date#getDate() in url

bzr revid: fme@openerp.com-20120618154710-luw8bt50bjtdlj7t
2012-06-18 17:47:10 +02:00
Fabien Meghazi 1ce9ec0718 [IMP] Improved hidden file uploads usage
bzr revid: fme@openerp.com-20120613100516-1opf05g81icwuwbr
2012-06-13 12:05:16 +02:00
Fabien Meghazi 080c6d014c [FIX] Fixed http header Content-Disposition for non-ascii filenames
lp bug: https://launchpad.net/bugs/993036 fixed

bzr revid: fme@openerp.com-20120611131822-rr5m8qzr68ujjoda
2012-06-11 15:18:22 +02:00
Xavier Morel 4ed79f3457 [FIX] rename ir.actions.url to match action's type
bzr revid: xmo@openerp.com-20120608101714-lf3o4mmvllmi4ge0
2012-06-08 12:17:14 +02:00
Xavier Morel 6c4568c548 [FIX] mis-handling of url actions in sidebar
bzr revid: xmo@openerp.com-20120608090619-494wipr0pfekq6ex
2012-06-08 11:06:19 +02:00
niv-openerp 629ffe9370 fixed bug with ir.actions.url
bzr revid: nicolas.vanhoren@openerp.com-20120607140822-bsljpmaqnbg5m2pm
2012-06-07 16:08:22 +02:00
niv-openerp 53d4fcad83 [FIX] problem with ir.actions.url in some cases
lp bug: https://launchpad.net/bugs/1003923 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120607135412-0uzquukg21pbm492
2012-06-07 15:54:12 +02:00
Vidhin Mehta (OpenERP) 2a51b719c9 [REM]removed print statement.
bzr revid: vme@tinyerp.com-20120607123329-ae2yks21e4iu4i09
2012-06-07 18:03:29 +05:30
Vidhin Mehta (OpenERP) b92d420e56 [IMP]remove tuple.
bzr revid: vme@tinyerp.com-20120607122952-u3ifuam13bendtbj
2012-06-07 17:59:52 +05:30
Vidhin Mehta (OpenERP) ff00c0f635 [IMP]Dashboard items added.
bzr revid: vme@tinyerp.com-20120607103029-0iumqrzigswzpny8
2012-06-07 16:00:29 +05:30
Xavier Morel 85f95e6858 [FIX] handling of empty domains, context and view_id in action descriptors
* Some literal actions (not stored) provide an empty string for
  domains and contexts instead of (respectively) an empty array or an
  empty dict literal inside the string. Treat those case as nothing
  being provided.
* Likewise some literal actions provide nonsensical (but falsy, but
  not False) values for view_id (such as an empty list). Yield a
  ``False`` view_id for all falsy ``view_id`` received (``0`` should
  not be a valid view_id, so ``False`` works)

bzr revid: xmo@openerp.com-20120606123508-ndh3jpzw1nabf98n
2012-06-06 14:35:08 +02:00
Xavier Morel 5b6aed9576 [FIX] handling of empty lines in CSV file being imported (ignore them)
lp bug: https://launchpad.net/bugs/941977 fixed

bzr revid: xmo@openerp.com-20120606103353-k8z51yhp9j1u2irp
2012-06-06 12:33:53 +02:00
Ravi Gohil (Open ERP) 47815f1c0a [FIX] Performed boolean check for context and domain and removed redundant condition: (Maintenance Case : 574769)
bzr revid: rgo@tinyerp.com-20120521095011-4ji9wf6efbhr4yry
2012-05-21 15:20:11 +05:30
Ravi Gohil (Open ERP) b39904ad4a [FIX] To prevent the leak when domain and context passed blank and view_id is passed as blank list by the server action : (Maintenance Case : 574769)
bzr revid: rgo@tinyerp.com-20120517102359-7u10pq22ynd3219k
2012-05-17 15:53:59 +05:30
Xavier Morel 98362c1624 [FIX] context and domain of an action being added to a dashboard
* The action's context and domain are needed because they are
  explicitly ignored by those codepaths when the action is ultimately
  executed in the dashboard, and their data are needed: such flags as
  group_by_no_leaf may be set in the action's context, or things like
  the leads/opportunities filters which need to remain in the
  dashboard view.

* On the other hand, some keys in the action's context may be
  detrimental to the correct behavior of the action in the dashboard,
  one such key (group) is the search_default_*: these default values
  for the search view may have been unset by the user before adding to
  the dashboard, we must not add them back. And since the dashboard
  will instantiate a full action/view manager for each action there
  will be (empty) search views which will try to make use of those
  defaults.

As a result, add the action's context and domain to those of the
research while *creating* the dashboard action/section, *but* filter
out search_default_* context keys while doing so.

If new problematic context keys are discovered, they should be added
to the filter.

bzr revid: xmo@openerp.com-20120516153309-3eq957p1pbj99fun
2012-05-16 17:33:09 +02:00
Xavier Morel bac9bbf263 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120515070556-l2ew6ixbup3u56md
2012-05-15 09:05:56 +02:00
Raphael Collet 73e7da8dce [MERGE] trunk-report-name-tpa (pick a better file name when saving a report)
bzr revid: rco@openerp.com-20120509150110-6gx73y1vbjksm64h
2012-05-09 17:01:10 +02:00
Xavier Morel 6b2efcbeb9 [ADD] new implementation of saving current search to new filter
bzr revid: xmo@openerp.com-20120508162137-b3qu0os79zl5wz0w
2012-05-08 18:21:37 +02:00
Christophe Simonis 3658063fa0 [FIX] rename cookie when direct login
bzr revid: chs@openerp.com-20120507130256-czruw5y9riqhg20z
2012-05-07 15:02:56 +02:00
Xavier Morel e7ab44929f [MERGE] from trunk
bzr revid: xmo@openerp.com-20120419081213-m3fhofkgydj6gp1m
2012-04-19 10:12:13 +02:00
Antony Lesuisse 77ec66a20e bye bye page view
bzr revid: al@openerp.com-20120409205334-tbgk3fz7q7q60o3t
2012-04-09 22:53:34 +02:00
Antony Lesuisse eac3ebb87e [MERGE] trunk
bzr revid: nicolas.vanhoren@openerp.com-20120406123856-vpw1mk9rq642ur6n
bzr revid: al@openerp.com-20120406140537-z5em6fgqv8cnyj1t
2012-04-06 16:05:37 +02:00
Xavier Morel e7e7548869 [MERGE] new searchview
fp orders

bzr revid: xmo@openerp.com-20120406120250-dlwt0kvt0y1e2snr
2012-04-06 14:02:50 +02:00
Turkesh Patel (Open ERP) f4848e106e [IMP] Improved code for set the name of pdf report
bzr revid: tpa@tinyerp.com-20120405103613-0q1dizma6lrg2si3
2012-04-05 16:06:13 +05:30
niv-openerp 6b8e4e0832 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405081401-pmd3e12tzar3yubg
2012-04-05 10:14:01 +02:00
Xavier Morel 9678b25a9b [FIX] encoding issues when concatenating CSS or paths which may contain non-ascii
The concatenator tries to only work with bytes without ever wondering
what is in the byte bucket: files are read to `str`, concatenated with
`str` (via join) and returned as `str`, usually considered to be utf-8
encoded. It's the author's job to correctly encode files to utf-8.

So far so good.

On runbot, there's apparently an issue in some CSS files in some cases
on the runbot: `web_dir` finds itself to be typed `unicode` (because
it contains non-ascii characters? Not sure at all), as a result
`re.sub` will decode the corresponding file data when trying to inject
the dir as replacement and the CSS reader will return a `unicode`
object.

Then, when concat_files try to compute the checksum it will need bytes
thus re-encode everything using the default codec (ascii) and the
non-ascii character(s) will blow up the encoding with a
UnicodeEncodeError.

Solution:

* Assume CSS files can contain non-ascii characters (they can, and
  do), decode them using `utf-8` to get `unicode` strings in the CSS
  reader
* Inject web_dir as usual via replacement, this still yields a
  `unicode` object (a `str` web_dir will simply be decoded using the
  ASCII codec, a non-ascii web_dir should have been decoded to
  `unicode` using sys.getfilesystemencoding)
* Cleanly re-encode evrything to utf-8, so that the code outside the
  reader only ever manipulates 8-bit "byte" strings

bzr revid: xmo@openerp.com-20120405070711-vjyw8g4mge2goyik
2012-04-05 09:07:11 +02:00
Xavier Morel 45c48d6842 [MERGE] from trunk
bzr revid: xmo@openerp.com-20120403110724-a6z2wrnxgf8jbspx
2012-04-03 13:07:24 +02:00
Thibault Delavallée 8cefe9a5e1 [MERGE] Merged with main web
bzr revid: tde@openerp.com-20120402072422-tsjaxjbfrngqnodp
bzr revid: tde@openerp.com-20120403071448-x3ng76yc17pcy266
2012-04-03 09:14:48 +02:00
Antony Lesuisse d2e213844a [FIX] edi loading, partially revert commit 2226 revid:nicolas.vanhoren@openerp.com-20120217134701-7t3iklv6ndv30hln
bzr revid: al@openerp.com-20120402140020-a4d8nd6rnp625l9w
2012-04-02 16:00:20 +02:00
Thibault Delavallée a3a5ea21ed [IMP] Propagated ir.ui.menu new fields name change.
bzr revid: tde@openerp.com-20120330125928-ku9oqpb0pq4ehu6m
2012-03-30 14:59:28 +02:00
Turkesh Patel (Open ERP) f8510eee62 [IMP] Improved code to show need action counter
bzr revid: tpa@tinyerp.com-20120330105731-ss03y3l4fi5mq3jd
2012-03-30 16:27:31 +05:30
niv-openerp a15c065071 [rollback 2367] due to blocking bug during login
bzr revid: nicolas.vanhoren@openerp.com-20120326104430-0tntoj5k6n578n49
2012-03-26 12:44:30 +02:00
niv-openerp 2059123918 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120326095842-mf8v3nhizeqcfp8j
2012-03-26 11:58:42 +02:00
Xavier Morel 7353e02e2e [MERGE] from trunk
bzr revid: xmo@openerp.com-20120322143331-iajlifomw1hohbht
2012-03-22 15:33:31 +01:00
Fabien Meghazi 9678e570e4 [REM] Removed height=100% from html homepage
bzr revid: fme@openerp.com-20120322132617-q6a4f0am02g2tayh
2012-03-22 14:26:17 +01:00
Xavier Morel 1da49a44a5 [MERGE] 6.1 fixes into trunk
bzr revid: xmo@openerp.com-20120322113142-gim4svx01p336nxm
2012-03-22 12:31:42 +01:00