Fabien Meghazi
e76c36d704
[FIX] Database selector issue
...
ensure_db() If the request.session.db is different than
the computed db abort and redirect in order to properly
dispatch on computed db
bzr revid: fme@openerp.com-20140227164018-iukowle122spr2c5
2014-02-27 17:40:18 +01:00
Fabien Meghazi
c1d9449a57
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140227101745-k6iseaz765qnflnm
2014-02-27 11:17:45 +01:00
Fabien Meghazi
71537320c5
[IMP] Improvement/changes to the http request/response API.
...
- Get rid of LazyResponses
- Made website.render() an alias to request.render() [just kept in case this is merged in saas-3 but should be removed completely in favor of request.render()]
Need server/trunk's rev#5102
bzr revid: fme@openerp.com-20140226164448-ad7mjzgg5aw66erq
2014-02-26 17:44:48 +01:00
Launchpad Translations on behalf of openerp
a900c2f44d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226063458-06tloufxtz1og92z
2014-02-26 06:34:58 +00:00
Fabien Meghazi
434f100fb8
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140225094914-419sm2gji3kiq2e2
2014-02-25 10:49:14 +01:00
Launchpad Translations on behalf of openerp
eaa20f9586
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225060535-e6jwphbnlp4q2vc6
2014-02-25 06:05:35 +00:00
Xavier Morel
bb7eb52699
[REM] RPC from js/qunit tests
...
They're a pain in the ass, they never worked right and they're basically
useless. Screw it.
bzr revid: xmo@openerp.com-20140221143518-hv3rjkw2b00ughvh
2014-02-21 15:35:18 +01:00
Xavier Morel
42763039f0
[IMP] filter out phantomjs warning on OSX
...
bzr revid: xmo@openerp.com-20140221143512-0qmmxq0gibmdgk6d
2014-02-21 15:35:12 +01:00
Xavier Morel
d27526d088
[IMP] JS unit tests
...
split automated suite so web only runs its own JS tests, and web_tests_demo runs its own.
Also reversed changes to index.
todo: use hack cursor thing?
bzr revid: xmo@openerp.com-20140221124557-s875nj0xrf2t85i9
2014-02-21 13:45:57 +01:00
Christophe Simonis
636b3ff2dd
[FIX] testing: only load js tests of loaded modules
...
bzr revid: chs@openerp.com-20140221095543-07lv6as8ym17mj7z
2014-02-21 10:55:43 +01:00
Christophe Simonis
b79f35471e
[FIX] testing: rpc tests works directly on the source database instead of copying it
...
bzr revid: chs@openerp.com-20140221095500-5cer5exzdei76y1d
2014-02-21 10:55:00 +01:00
Christophe Simonis
49f26ffbc8
[MERGE] forward port of branch saas-2 up to revid 3950 dle@openerp.com-20140220141302-3paib80ixiyi66qg
...
bzr revid: chs@openerp.com-20140220161753-ec6l9ser1pbnmzgk
2014-02-20 17:17:53 +01:00
Fabien Meghazi
f8ddf1dcb7
[FIX] /web/login renders with the wrong user id
...
bzr revid: fme@openerp.com-20140220144106-ge85vlbjeawa9982
2014-02-20 15:41:06 +01:00
Denis Ledoux
2a4d8bc6d5
[ADD] web: add no_create option in view_form, allowing to remove create and edit (and quick create)
...
Before, we used to use selection widget to hide or disable the create and edit of many2one fields, but this is actually an abuse of the selection widget, this is not its purpose
bzr revid: dle@openerp.com-20140220141302-3paib80ixiyi66qg
2014-02-20 15:13:02 +01:00
Denis Ledoux
b0f1e57269
[FIX] web: oe_form_uri is not always a link (many2one readonly no_open for instance), therefore, apply css only for a.oe_form_uri, to add the underline. Color was already added by another rule.
...
bzr revid: dle@openerp.com-20140220135030-tt6isdwum15zt6i8
2014-02-20 14:50:30 +01:00
Martin Trigaux
59aa0e88d9
Forward-port of latest saas-2 bugfixes, up to rev.3902 revid:mat@openerp.com-20140219111353-cxo860z7ctz7om30
...
bzr revid: odo@openerp.com-20140219163348-5fpbm3rgpkq7kjw5
2014-02-19 17:33:48 +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
Christophe Simonis
bb89e54866
[FIX] web: set default: handle false values + correct display of selection fields
...
bzr revid: odo@openerp.com-20140219163237-ns5zbzxvtrr3a6ed
2014-02-19 17:32:37 +01:00
Christophe Simonis
2c4466258d
[FIX] web: do not float buttons in header bar to the left. This make them invisible if they are the sole children of the header.
...
bzr revid: odo@openerp.com-20140219163213-8z4fxio7p7nzesf0
2014-02-19 17:32:13 +01:00
jke@openerp.com
50849309d1
[FIX] web_calendar: correct timezone handling when creating new events
...
bzr revid: odo@openerp.com-20140219163134-dzmx34yffnithn30
2014-02-19 17:31:34 +01:00
Denis Ledoux
c7b4f44b22
[FIX] web: fix handling of manyone with selection widget
...
Following the remove of widget selection handling in ir_ui_view of revision 4854.4.298 revid:al@openerp.com-20140121112759-zavwqdyv8kdq4oys
bzr revid: dle@openerp.com-20140218162125-bwse328ybq9d6c2v
2014-02-18 17:21:25 +01:00
Fabien Meghazi
6cce7e6dba
[REM] Removed LazyResponse from webclient, use request.render() instead
...
bzr revid: fme@openerp.com-20140218161806-j7qn4dutjtlfqjc1
2014-02-18 17:18:06 +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
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
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
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
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
Olivier Dony
15a1aef33c
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3901 dle@openerp.com-20140214114445-krexrwm9o2nrxepk
...
The following fixes have intentionally been reverted,
as the code has significantly changed and the bugs cannot
be reproduced:
- web_calendar fix (revid:dle@openerp.com-20140214114258-0hcsfdwyl61gph0v )
- CSS fix for buttons (revid:mat@openerp.com-20140213145755-txvtwqbfc83vnw9o )
bzr revid: odo@openerp.com-20140217102806-qg6kwk2jomdvvmlj
2014-02-17 11:28:06 +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
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