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
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
Xavier Morel
a3b9994a3e
[FIX] correctly escape labels in search view completion
...
lp bug: https://launchpad.net/bugs/1191699 fixed
bzr revid: xmo@openerp.com-20130618111059-v7tx4kpzv72c9pz0
2013-06-18 13:10:59 +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
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
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
Xavier Morel
aa416a9951
[IMP] use introduced variable across function
...
bzr revid: xmo@openerp.com-20130610071036-8w771r4urq5j31zz
2013-06-10 09:10:36 +02:00
Xavier Morel
48d28c8726
[FIX] display issues of objects with a field called "length"
...
_.each will interpret these as arrays and take incorrect/nonsensical
code paths.
bzr revid: xmo@openerp.com-20130610070527-5u6uirvfkygsp57d
2013-06-10 09:05:27 +02:00
dle@openerp.com
ac63b66448
[ADD]web: chrome.js add My OpenERP.com account
...
bzr revid: dle@openerp.com-20130607163702-4q2mr9y0cztxqflo
2013-06-07 18:37:02 +02:00
Frédéric van der Essen
63d79a1452
[FIX] css: removed the forced left alignment of dropdown menu on the calling element, as it prevented correct display of the top right drop down menu when it's content was larger than the user name
...
bzr revid: fva@openerp.com-20130607160307-52z7b4ykb36a2hpr
2013-06-07 18:03:07 +02:00
Xavier Morel
1ea609ba65
[FIX] bugs discovered by failing onwrite test case
...
Following xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw:
* add_ids should not add ids which are already in the dataset, this
leads to duplicates which the web client does not overly like
* methods which add or remove records should not manipulate
dataset.ids as well as that's now automatic (on_write feature)
* record add should only insert the id in the dataset on non-false ids
(e.g. list edition uses "pending" record with false id during
creation, then sets the id it got from create() call)
bzr revid: xmo@openerp.com-20130607152326-2pja1kuwo0ropfuw
2013-06-07 17:23:26 +02:00
Christophe Matthieu
aa423f4cb1
[FIX] M2m tags field wrong height count when field in nonactive notebook page at load time.
...
bzr revid: chm@openerp.com-20130607151339-t9n5iv2vap0kvimw
2013-06-07 17:13:39 +02:00
Christophe Matthieu
27db64f7a0
[FIX] duplicate tag when press tab key two time. Bug 1154057
...
bzr revid: chm@openerp.com-20130607132203-rcvx6wu820o03tiu
2013-06-07 15:22:03 +02:00
Xavier Morel
8d0d43b40b
[IMP] correctly reinsert ids into dataset when moving them around in the list view
...
bzr revid: xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw
2013-06-07 14:03:55 +02:00
Christophe Matthieu
a941c199c1
[FIX] translation button or icon not displayed with html widget. Bug 1179505
...
bzr revid: chm@openerp.com-20130607101517-zilu97d4akhho72v
2013-06-07 12:15:17 +02:00
Christophe Matthieu
56e4be5d1d
[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
...
bzr revid: chm@openerp.com-20130607083901-f24fjvo0vi696ll3
2013-06-07 10:39:01 +02:00
Christophe Matthieu
7a0308cdfe
[MERGE] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
...
bzr revid: chm@openerp.com-20130607082958-a59md26e0nmhzsf7
2013-06-07 10:29:58 +02:00
Christophe Matthieu
22f268328c
[MERGE] cleditor: on window resize blur event not triggered except firefox so due to which value disappears from the container.
...
bzr revid: chm@openerp.com-20130606144437-c9rccpsqjv13t3rw
2013-06-06 16:44:37 +02:00
Christophe Matthieu
7ad343636b
[FIX] view_list: when we have more than 80 record in list and we create new record and switch the views like form->list->form gives traceback. Get if the index is over the number of visible records
...
bzr revid: chm@openerp.com-20130606142616-41xxepfzkdvyqu9m
2013-06-06 16:26:16 +02:00
Christophe Matthieu
b151613f0d
[MERGE] pager should be disappear when we create a new record from o2m/m2m popup.
...
bzr revid: chm@openerp.com-20130606121754-r9xa11ms6do2nrwh
2013-06-06 14:17:54 +02:00
Christophe Matthieu
ef346d8b35
[FIX] min height of textarea field in non selected tabs.
...
bzr revid: chm@openerp.com-20130606120735-u79dqaubgq6zg7tu
2013-06-06 14:07:35 +02:00
Christophe Matthieu
89086e4451
[FIX] view list: some title not align with other.
...
bzr revid: chm@openerp.com-20130606104145-jezs2u9tr3xb3fmh
2013-06-06 12:41:45 +02:00
Christophe Matthieu
079b780384
[FIX] height of the many2many_tags field when the field is empty
...
bzr revid: chm@openerp.com-20130606102437-8j0ga41pwe8fogd0
2013-06-06 12:24:37 +02:00
Christophe Matthieu
cf0fcaebc9
[MERGE] Onchange must be called for m2o when the popup view is opened an return changes (save button).
...
bzr revid: chm@openerp.com-20130606094739-3ydlncwv711txo41
2013-06-06 11:47:39 +02:00
Xavier Morel
b45fc9bb82
[FIX] correctly display char[password] as stars in list views
...
lp bug: https://launchpad.net/bugs/1113419 fixed
bzr revid: xmo@openerp.com-20130606091325-q2wgizk8yq4xkgj6
2013-06-06 11:13:25 +02:00
Mohammed Shekha
2b65ba1f64
[FIX]Refixed the issue of resequence, added id at specified index in dataset.
...
bzr revid: msh@openerp.com-20130606065630-r536yqlcq0wihs8l
2013-06-06 12:26:30 +05:30
Xavier Morel
d72773015e
[IMP] close search autocompletion list while completing
...
Looks slightly worse as results don't seamlessly update in-place, but
limits/avoids the risk of quick-typing, hitting [Return] and getting
an incomplete/incorrect query because the completion didn't catch up
(e.g. slow network) and [Return] validated the previously retrieved
completion.
lp bug: https://launchpad.net/bugs/1183746 fixed
bzr revid: xmo@openerp.com-20130605144949-jbzs2hppr6c1djg3
2013-06-05 16:49:49 +02:00
Xavier Morel
672933ebfe
[IMP] PNG recompression
...
bzr revid: xmo@openerp.com-20130605124327-poy97bvw73sdm1o6
2013-06-05 14:43:27 +02:00
Xavier Morel
a0fbd674c9
[FIX] search view layout in case of very long facet value
...
* don't fix facet height so the facet content correctly "grows" all of
the facet and thus the surrounding view
* hard-code the heights of the view-level controls (clear and open
drawer) to avoid both overly large hitbox and their moving outside
of the top-right corner
* add some margins on the facets container to avoid overlaps between
top-level search controls and facet activable elements
lp bug: https://launchpad.net/bugs/1123704 fixed
bzr revid: xmo@openerp.com-20130605105240-h9o03ol7l8dti1yn
2013-06-05 12:52:40 +02:00
Xavier Morel
bdcb553128
[FIX] MSIE9 issue where complete.previous would be '' instead of undefined
...
bzr revid: xmo@openerp.com-20130605105227-6e5a6ckxshk8uwkg
2013-06-05 12:52:27 +02:00
Xavier Morel
431e0761c0
[FIX] assertion errors in search view when selecting all of a search input's content
...
Force normalization of the input's root node, Firefox tends to spawn
multiple text node children then create selection ranges over all of
them and worse.
lp bug: https://launchpad.net/bugs/1169945 fixed
bzr revid: xmo@openerp.com-20130604150551-0m0b48aifg9favz8
2013-06-04 17:05:51 +02:00
Xavier Morel
aaa0cc0b82
[FIX] triggering of dataset_changed events to correctly happen *after* the operation
...
also added it to DataSet#create calls where it seems to be missing
lp bug: https://launchpad.net/bugs/1185752 fixed
bzr revid: xmo@openerp.com-20130530131115-tzap50w2ydnqmxit
2013-05-30 15:11:15 +02:00