Commit Graph

6348 Commits

Author SHA1 Message Date
Xavier Morel cbc987191c [FIX] QUnitSuite: don't be self-recursive
bzr revid: xmo@openerp.com-20140218104347-u56pghrto948iclx
2014-02-18 11:43:47 +01:00
Antony Lesuisse e4579fdbbd [IMP] actionmanager report port to the new synchronous pyeval api.
bzr revid: al@openerp.com-20140217224626-3s0q34x0jw8t4okg
2014-02-17 23:46:26 +01:00
Launchpad Translations on behalf of openerp 5d18aa3e19 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217053857-8opbvvb5zv3f0eyz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217054439-5d8e8kmqhrft30uv
2014-02-17 05:44:39 +00:00
Antony Lesuisse 88741e98c6 [FIX] web test_ui test for view form instead of kanban
bzr revid: al@openerp.com-20140216223208-0gw9dev1jpxsskib
2014-02-16 23:32:08 +01:00
Antony Lesuisse 5c3c89a17c [FIX] tests move test_ui to web as it requires web.login template
bzr revid: al@openerp.com-20140216215039-448vh07674on9569
2014-02-16 22:50:39 +01:00
Christophe Matthieu b8a997b296 [MERGE] from trunk
bzr revid: chm@openerp.com-20140214133740-lr8lh47bem6pq8yi
2014-02-14 14:37:40 +01:00
Fabien Meghazi 2bb8b4ebfb [FIX] forward port ensure_db fix from saas-3
bzr revid: fme@openerp.com-20140213134219-pn5xmo5alxn1d57u
2014-02-13 14:42:19 +01:00
Launchpad Translations on behalf of openerp 3eceef7802 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213054839-bknb7wozzfcl2b5p
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213061121-vm9ot1x4ve6ekaoe
2014-02-13 06:11:21 +00:00
Christophe Matthieu e2898a1d59 [IMP] web: update lib bootstrap 3.1.0
bzr revid: chm@openerp.com-20140211111118-ur6xntyf6o9lwsac
2014-02-11 12:11:18 +01:00
Antony Lesuisse 09a7519654 [IMP] phantomjs helper simplification
bzr revid: al@openerp.com-20140210005008-0vmwbofnfnuqaj3d
2014-02-10 01:50:08 +01:00
Antony Lesuisse 8f29812b0f [IMP] test_ui shorter code
bzr revid: al@openerp.com-20140209234743-n3015x520z9zs4qz
2014-02-10 00:47:43 +01:00
Antony Lesuisse 85d37619e4 [IMP] add test_ui
bzr revid: al@openerp.com-20140209232001-1efvws2pzeldbuhb
2014-02-10 00:20:01 +01:00
Antony Lesuisse c954e9adf2 fix web tests
bzr revid: al@openerp.com-20140209004310-0jpc29beh7k1e27c
2014-02-09 01:43:10 +01:00
Denis Ledoux 54dff0857d [ADD]web: controller to redirect /apps/{appname} to install module form (not yet perfect, the menu is not displayed, but meanwhile this is something)
bzr revid: dle@openerp.com-20140131113347-twndgtaq6d16eycc
2014-01-31 12:33:47 +01:00
Fabien Meghazi 526c5fb6cb [FIX] Login redirection problem
bzr revid: fme@openerp.com-20140131095606-xlyzzhm2tc0myq0s
2014-01-31 10:56:06 +01:00
Launchpad Translations on behalf of openerp 807f7d87e4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140131060902-49qieib6km3uwgli
2014-01-31 06:09:02 +00:00
Antony Lesuisse f051043a26 [MERGE] trunk-website-al
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-31 01:52:02 +01:00
Antony Lesuisse 698d02e3b5 web disable jsonrpc test
bzr revid: al@openerp.com-20140131003956-jo9grgfizich2dlu
2014-01-31 01:39:56 +01:00
Christophe Simonis ca844edcf8 [IMP] web: alternative routes for company logo
bzr revid: chs@openerp.com-20140130180827-xior7wc6shtamcgu
2014-01-30 19:08:27 +01:00
Gery Debongnie 1c42440313 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140130155402-h4y6k4ydk6s2yasv
2014-01-30 16:54:02 +01:00
Gery Debongnie 8ed584d1ac [FIX] simplify a computation of raw_fields to make sure it doesn't crash (_.contains expects a list, and not a string) (addon web)
bzr revid: ged@openerp.com-20140130153700-2lno0uefta93ex53
2014-01-30 16:37:00 +01:00
Fabien Meghazi b0fa27dc7c [IMP] Quick fix for cros support in webclient
bzr revid: fme@openerp.com-20140130151146-twct15ruxq179ryu
2014-01-30 16:11:46 +01:00
Gery Debongnie 2149c1af03 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140130135056-74l65y4v24ohlwcq
2014-01-30 14:50:56 +01:00
Denis Ledoux 9c8a59b60b [FIX] web: use werkzeug instead of urllib, as werkzeug handle utf-8 while urllib doesnt
bzr revid: dle@openerp.com-20140130112741-mxonv6j1gt89f1uj
2014-01-30 12:27:41 +01:00
Fabien Meghazi ef019949f4 [FIX] ensure db param is legit in order to avoid xss
bzr revid: fme@openerp.com-20140130103045-up2bcqmqu8wm3sl9
2014-01-30 11:30:45 +01:00
Fabien Meghazi 469c5d3f1c [MOV] Move ensure_db() helper from
Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in ir_http#...auth_none() has only sense for /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with

bzr revid: fme@openerp.com-20140130091820-xezgqezsv2vnmlq1
2014-01-30 10:18:20 +01:00
Fabien Meghazi 07235017aa [REM] Remove single auth="admin" left
bzr revid: fme@openerp.com-20140129144623-a8fy4xx3hmvcww0j
2014-01-29 15:46:23 +01:00
Christophe Simonis 83345e4414 [MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd
2014-01-29 11:10:04 +01:00
Christophe Simonis acb010a985 [MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-18 12:27:43 +01:00
Launchpad Translations on behalf of openerp a8d14c47df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140325072122-d9jgtji9dmmytg8d
2014-03-25 07:21:22 +00:00
Martin Trigaux 53922c9593 [FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)
bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4
2014-03-14 14:28:54 +01:00
Martin Trigaux 08e07af590 [FIX] pager: do not try to toggle the visibility if the pager do not exists yet
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-14 12:27:09 +01:00
Martin Trigaux 71d8f8f1c4 [FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching
bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu
2014-03-13 13:38:11 +01:00
Martin Trigaux 82692f11a0 [MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format (id, name)), instead of sorting on the tuple (and then id), sort on the name_get value to match what is shown on the screen
bzr revid: mat@openerp.com-20140312150435-shq9hy3b9njkhxsn
2014-03-12 16:04:35 +01:00
Denis Ledoux 6e9f3ad806 [FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being behind jquery ui dialogs. Besides, this pane should always be on top, therefore we can assume that setting 9999 will not have bad side effects
bzr revid: dle@openerp.com-20140311104947-is5qpw71y1m2oakf
2014-03-11 11:49:47 +01:00
Xavier ALT c033e5a535 [FIX] web: on SearchPopup creation concat build context even if we have initial_ids
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
  missing custom context defined on the field.

  1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
  2. in we expand the list of available item, name_search() has 'test' in context
  3. in we click on 'Search More', search_read() is missing 'test' in context
  4. if we change filter add/remove item, search_read() will have 'test' in context

  Step 3. is wrong, should also have 'test' in context

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

bzr revid: mat@openerp.com-20140311091522-03imwd5rj3rmwapl
2014-03-11 10:15:22 +01:00
Launchpad Translations on behalf of openerp f166daf065 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065427-0he29w0cqe07xmc8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065421-4udfyb7xcfq5h1zy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140309060314-64jktl10pkq3inv4
2014-03-09 06:03:14 +00:00
Martin Trigaux 618c8b9100 [FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)
bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-07 15:12:57 +01:00
Launchpad Translations on behalf of openerp fd98bf36aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072427-zkvqj45icrzupx0m
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072433-0lqpjt07j1s8k8cs
2014-03-07 07:24:33 +00:00
Martin Trigaux 22f86f097a [MERGE] [FIX] export wizard: better behaviour when saving new fields list
- Show the fields list once we save the first one
- When delete a list, remove the selected fields
- When add a list, do not remove the selected fields

bzr revid: mat@openerp.com-20140305100843-ircqtucf1pkn3wzd
2014-03-05 11:08:43 +01:00
Martin Trigaux 7bb95a4468 Update undescore.js to version 1.6 and underscore.string.js to version 2.3
bzr revid: mat@openerp.com-20140304125528-97w5kbv3ry028kn9
2014-03-04 13:55:28 +01:00
Mohammed Shekha (OpenERP) f29f1e6f04 [FIX]Fixed the issue of o2m sorting by column, m2o field does not give proper result for sorting because whole value of m2o [id, value] going to compare for sorting.
bzr revid: msh@openerp.com-20140304110659-4uu38feetsjj0tt5
2014-03-04 16:36:59 +05:30
Martin Trigaux a1a5bc6c06 [MERGE] [FIX] view list: pagination problem when delete records in list view
When delete a record, correctly display the number of remaining items displayed (eg: 1-79 of 99)
When no more items in a page, force switch to previous page
When no more pager, reload the content to display potential items in next page

bzr revid: mat@openerp.com-20140303164114-pzeuu9hxvq17lx02
2014-03-03 17:41:14 +01:00
Launchpad Translations on behalf of openerp 4a6ba6f107 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073700-ln192h40jpgmjkzn
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062424-uzng6wm762r9e5y1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227063007-7dey6pyrhev19em4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055121-idw71yvmfonj1mmz
2014-03-01 05:51:21 +00:00
Martin Trigaux 16a5c45114 [FIX] home action: open the linked menu in addition to execute the action. The menu tree is now correctly displayed instead of only messaging.
bzr revid: mat@openerp.com-20140221165706-79uqffr5nk4zbj5e
2014-02-22 03:57:06 +11:00
Denis Ledoux ec0f9de9dc [FIX] web: preserve order of saved export fields list
bzr revid: dle@openerp.com-20140221115855-ycny8ai1vyb23cdd
2014-02-21 12:58:55 +01:00
Martin Trigaux 8be121ff69 [MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: mat@openerp.com-20140218143111-yot645o83gxvkujb
2014-02-18 15:31:11 +01:00
Martin Trigaux 2e831ab7c3 [IMP] data: skip read_ids call when got no id (opw 604099).
This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.

bzr revid: mat@openerp.com-20140218101438-yqim33cvtg6wt4mw
2014-02-18 11:14:38 +01:00
Cecile Tonglet 5ef7c4a6a1 [FIX] getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: cto@openerp.com-20140217104920-fu8hcqd51bh7qnrp
2014-02-17 11:49:20 +01:00
Martin Trigaux 9cc13d4216 [MERGE] [FIX] home action: fixing the broken field 'action_id' on the res.users form (lost with 6.1->7). This field executes a custom action at page load.
bzr revid: mat@openerp.com-20140214131800-9vwuxe9b2zki35il
2014-02-14 14:18:00 +01:00