Commit Graph
4635 Commits
Author SHA1 Message Date
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
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 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
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
Xavier Morel c0807b34b1 [IMP] export view: use events hash
bzr revid: xmo@openerp.com-20130530100420-8zsa03ssom8ox2g4
2013-05-30 12:04:20 +02:00
Xavier Morel 398f570e69 [IMP] code cleanup, better use of jquery
bzr revid: xmo@openerp.com-20130530095827-ondsza16ze29neel
2013-05-30 11:58:27 +02:00
Xavier Morel 03b80e154e [IMP] option to only export selected records
lp bug: https://launchpad.net/bugs/900385 fixed

bzr revid: xmo@openerp.com-20130530094525-1ub1yhdqsag6xxzq
2013-05-30 11:45:25 +02:00
Xavier Morel c063ef4109 [FIX] linting warnings in export
bzr revid: xmo@openerp.com-20130530090823-7l75tasejwt5ywb9
2013-05-30 11:08:23 +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
Vidhin Mehta 9182621004 [IMP]
bzr revid: vme@tinyerp.com-20130517110150-c7wm67kfnp1p2lkd
2013-05-17 16:31:50 +05:30
Paramjit Singh Sahota 3a7a4f7d5e [IMP] Removed 'cursor on '.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li' and then added 'cursor:default' on '.openerp .oe_searchview .oe_searchview_drawer'.
bzr revid: psa@tinyerp.com-20130517060133-zw7zpuvxhc459s5e
2013-05-17 11:31:33 +05:30
Paramjit Singh Sahota a031c86d68 [MERGE] Merged lp:openerp-web/7.0
bzr revid: bth@tinyerp.com-20130417073823-qh3hzbj2j70kt6c6
bzr revid: psa@tinyerp.com-20130517053130-09k6t1os2x6g8i0j
2013-05-17 11:01:30 +05:30
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 4f4783537a [FIX] missing class leading to broken list layout in o2m
bzr revid: xmo@openerp.com-20130516144219-xqab9eio006r43rb
2013-05-16 16:42:19 +02:00
Xavier Morel 7f6ee29de8 [FIX] exclude non-searchable function fields from the advanced search's list
bzr revid: xmo@openerp.com-20130516110949-o79aw68izo8poivu
2013-05-16 13:09:49 +02:00
Xavier Morel 4bb3995680 [IMP] replace literal values by symbolic ones for node types dispatching
bzr revid: xmo@openerp.com-20130516110335-dk803tjn1qpqd0ro
2013-05-16 13:03:35 +02:00
Xavier Morel 5cf564e4e6 [FIX] handling of multiline strings during qweb translation
Javascript regexps don't provide a DOTALL flag (to make `.` match
newlines) so have to replace `.` by `[\s\S]` hack, as *that* will
match newlines as well as all other characters.

Note: the `m` flag has a different meaning, it makes `^` and `$` match
      the start and end of lines rather than the start and end of the
      string itself.

bzr revid: xmo@openerp.com-20130516105908-exgtwwf785hrmedo
2013-05-16 12:59:08 +02:00
Martin Trigaux eb90dd9370 [IMP] clean permissions and shebang in files
bzr revid: mat@openerp.com-20130514103736-kfuk3nutvezyo7l0
2013-05-14 12:37:36 +02:00
Christophe Matthieu 42ad806345 [FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined'
bzr revid: chm@openerp.com-20130513112202-32sko79k23v5seq2
2013-05-13 13:22:02 +02:00
Mohammed Shekha d8dd8fc14b [FIX]Fixe the issue of listview record re-ordering which is not working due to revision 3898.
bzr revid: msh@openerp.com-20130509085102-ln4lidp7caqw25ur
2013-05-09 14:21:02 +05:30
Anael Closson 9db02eae90 [FIX] typo & imp
bzr revid: acl@openerp.com-20130507152103-0gm36pnuc4pp6wet
2013-05-07 17:21:03 +02:00
Anael Closson 74dcc49bd8 [FIX] OPW 590091 : not searchable functional fields aren't removed from advanced search
bzr revid: acl@openerp.com-20130507092734-zmmm0g5c1t8va1dl
2013-05-07 11:27:34 +02:00
Olivier Dony ce57acd302 [FIX] do_load_needaction: properly reject falsy menu_ids
bzr revid: odo@openerp.com-20130506135031-4y9qydjc67rugq60
2013-05-06 15:50:31 +02:00
Olivier Dony f6f575543f [FIX] need_action: avoid reloading needaction counters when there is no menu
- guard do_load_needaction to prevent exceptions when
  there is no menu to load
- avoid calling do_load_needaction where there is no
  menu to reload in the first place

bzr revid: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97
2013-05-03 12:22:48 +02:00
Thibault Delavallée 1088554b40 [REV] Removed code changed not related to this branch.
bzr revid: tde@openerp.com-20130426075650-jxzw3h52idj2zp7y
2013-04-26 09:56:50 +02:00
Thibault Delavallée 5cafebd48a [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143838-cl9k0fpml5r0q6bi
bzr revid: tde@openerp.com-20130426074530-16h0doe2cju6xkug
2013-04-26 09:45:30 +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
Xavier Morel d4977dd3bb [FIX] missing translation mark in error message
lp bug: https://launchpad.net/bugs/1125159 fixed

bzr revid: xmo@openerp.com-20130418125640-87g9sdowig7w565d
2013-04-18 14:56:40 +02:00
Olivier Dony dc24794855 [FIX] web: support integer/float fields in search view via auto-completion + tests
integer/float fields were not offering auto-completion in search views,
making them unsearchable except via advanced search.
This patch adds the missing complete() function and removes the incorrect
value_from() function that did not conform to the 7.0 search view API.
It seemed to be a leftover of the 6.1 search field implementation
of get_value(), wrongly renamed for 7.0.

Also includes corresponding tests.

bzr revid: odo@openerp.com-20130418112001-388op1t8ugr0rhfn
2013-04-18 13:20:01 +02:00
Christophe Matthieu 027bf19a7a [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133438-1g8h8hezbn1vtjj1
2013-04-17 15:34:38 +02:00