Commit Graph
5029 Commits
Author SHA1 Message Date
Xavier Morel cdee92f984 [IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
2013-08-01 11:12:39 +02:00
Xavier Morel e57e50fdfa [FIX] unneeded & dangerous start call in async test
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
niv-openerp 46869ba52d [FIX] desactivated test creating random false positive
bzr revid: nicolas.vanhoren@openerp.com-20130731133504-vt2fx11jziyad47e
2013-07-31 15:35:04 +02:00
niv-openerp 4ec2906626 [FIX] attempt to solve false-positive in js tests on the runbot
bzr revid: nicolas.vanhoren@openerp.com-20130731131933-ur5vdahgnbjsj16o
2013-07-31 15:19:33 +02:00
niv-openerp e817310ce6 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130729141149-63jsx00l9zqckmkv
2013-07-29 16:11:49 +02:00
niv-openerp 80df99fa18 cosmetic
bzr revid: nicolas.vanhoren@openerp.com-20130729093657-p0xdm0nyhg4jn3i7
2013-07-29 11:36:57 +02:00
niv-openerp 22ac3304e1 Added strict mode and es3 mode to framework and corrected some problems
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
2013-07-29 11:25:12 +02:00
niv-openerp 95599aefd4 Corrected class tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160845-z2ug9cwp41y1h9yj
2013-07-26 18:08:45 +02:00
niv-openerp e01b96e762 Put class and widgets tests in framework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726160715-adjyalkubyismvao
2013-07-26 18:07:15 +02:00
niv-openerp 89a9ab8cd0 Now uses only openerpframework in widget's tests
bzr revid: nicolas.vanhoren@openerp.com-20130726160315-l60r6z706urv2hga
2013-07-26 18:03:15 +02:00
niv-openerp a02da32a08 Changed some testing code creating side effects and making other tests crash
bzr revid: nicolas.vanhoren@openerp.com-20130726143647-rz01o0cnwm2a1gyo
2013-07-26 16:36:47 +02:00
niv-openerp 0c79e1b079 Fixed multiple side effects related to the session
bzr revid: nicolas.vanhoren@openerp.com-20130726142707-eyfq5hmubm38slk1
2013-07-26 16:27:07 +02:00
niv-openerp 38bc6817d6 Fixed problem with parsing functions tests that created side effects
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00
niv-openerp 5c7b6cffde Fixed some problems about testing framework
bzr revid: nicolas.vanhoren@openerp.com-20130726131805-wstt1de2qqq7w7hx
2013-07-26 15:18:05 +02:00
niv-openerp c94c4599b2 Moved proxy()
bzr revid: nicolas.vanhoren@openerp.com-20130726124837-yze64evp7r70uv5y
2013-07-26 14:48:37 +02:00
niv-openerp 99e07f1e3e Put some qweb globals in the framework
bzr revid: nicolas.vanhoren@openerp.com-20130726124446-6z3xpm1mu22mgep3
2013-07-26 14:44:46 +02:00
niv-openerp 32190ba02e [IMP] Put Class and Widget in a openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726124057-qwmslhhheso5xy1x
2013-07-26 14:40:57 +02:00
niv-openerp fd1df3ee22 [IMP] Removed openerp's ineffective JavaScript module loader and added retro-compatibility layer
bzr revid: nicolas.vanhoren@openerp.com-20130726121514-ss0omrhed76ybv5a
2013-07-26 14:15:14 +02:00
Thibault Delavallée 7aec524456 [CLEAN] data_export: removed a not-completely-deleted line
bzr revid: tde@openerp.com-20130726105801-2sh62ew7kpn7qudp
2013-07-26 12:58:01 +02:00
Thibault Delavallée 47d72f7a0f [IMP] export: delegated ids computation to the python side, the js gives ids or the domain to use; + fixed statically export formats
bzr revid: tde@openerp.com-20130725155740-g9a76z08ogjejp86
2013-07-25 17:57:40 +02:00
Thibault Delavallée 27735a2b85 [IMP] export: work on selected_ids or all_ids if header is selected; ugly hack to solve issue when exporting
bzr revid: tde@openerp.com-20130725153114-6rjhktvuz1k1qrnb
2013-07-25 17:31:14 +02:00
Thibault Delavallée 20c11d6703 [FIX] Fixed last commits
bzr revid: tde@openerp.com-20130725152846-zlfd5gluz15tjg2t
2013-07-25 17:28:46 +02:00
Thibault Delavallée 0979b3b6fc [IMP] view_list: better active_domain computation
bzr revid: tde@openerp.com-20130725150243-or624rj2qw6dgxiz
2013-07-25 17:02:43 +02:00
Thibault Delavallée 9e3046d611 [REM] Removed console.log statemetn
bzr revid: tde@openerp.com-20130725135535-qjucav1ss11a2sgd
2013-07-25 15:55:35 +02:00
Thibault Delavallée 7f0824e762 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725135118-urwxu1ilv1m6ljwh
2013-07-25 15:51:18 +02:00
Thibault Delavallée 0810ff005c [IMP] Better implementation of header hook check
- list_view: propagate a deselected flag when (un)checking a row
- list_view: define a get_active_domain method that returns an active domain
when having header hook selected

bzr revid: tde@openerp.com-20130725135001-zt8x1leexf7ion4z
2013-07-25 15:50:01 +02:00
niv-openerp ec9ae7ec81 Does not allow functions in loops anymore
bzr revid: nicolas.vanhoren@openerp.com-20130725113041-n6u9gyo1vbv1blw5
2013-07-25 13:30:41 +02:00
niv-openerp 17ba69eb52 Applied jshint on test files and corrected errors
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890
2013-07-25 13:24:16 +02:00
niv-openerp c767a0d34c Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
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 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
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
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
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 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
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
Olivier Dony cf9d7aaa5f [MERGE] Forward-port of latest bugfixes from 7.0 up to rev 4007 (launchpad_translations_on_behalf_of_openerp-20130730045810-58du4wi80axs0t81)
bzr revid: dle@openerp.com-20130627115936-iw2x6yjejabkc8ys
bzr revid: chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: odo@openerp.com-20130731072914-0uk62hnao5x502hh
2013-07-31 09:29:14 +02: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
Thibault Delavallée 180212b999 [FIX] Statusbar: fixed clikable statusbar on selection field.
bzr revid: tde@openerp.com-20130618133521-6zey8imcciqthcuk
2013-06-18 15:35:21 +02:00
niv-openerp 24425766ad [REVERT] of revision 3746 because it caused in bug of high priority
lp bug: https://launchpad.net/bugs/1187381 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130617162827-01gm5gvoycf3kz3p
2013-06-17 18:28:27 +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
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
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
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
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