Commit Graph

6569 Commits

Author SHA1 Message Date
Martin Trigaux d65df64cdd [IMP] always click on first link to have menus and breadcrumb
bzr revid: mat@openerp.com-20140214111707-7zzpeccs9aanfdct
2014-02-14 12:17:07 +01:00
Martin Trigaux 8877c10161 [FIX] login: look at the value of action_id on the current res.users to execute the action instead of the first link (Inbox). Bring back 6.1 behaviour.
bzr revid: mat@openerp.com-20140214111540-sbn3y6ou3vrjza15
2014-02-14 12:15:40 +01:00
Launchpad Translations on behalf of openerp 19ba8c54c9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140214074449-flu4n6hfh9nua9t3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140214074835-2p2r1vb6ucynbspm
2014-02-14 07:48:35 +00:00
Christophe Simonis 487dee4851 [IMP] web: generic sass/css Makefile
bzr revid: chs@openerp.com-20140213142842-u7r5axxewqjfsd1c
2014-02-13 15:28:42 +01:00
Christophe Simonis 9e6c111409 [FIX] web: correct navbar position
bzr revid: chs@openerp.com-20140213142643-y0wtmbv3fzh8f0wt
2014-02-13 15:26:43 +01:00
Martin Trigaux ce778f2000 [MERGE] [FIX] css: Fixed the issue of statubar not aligned with buttons in chrome browser.
bzr revid: mat@openerp.com-20140213145755-txvtwqbfc83vnw9o
2014-02-13 15:57:55 +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
Mohammed Shekha (OpenERP) a8943b416a [FIX]Web, Statusbar: Fixed the issue of statubar in chrome is aligned, it is aligned in inline block.
bzr revid: msh@openerp.com-20140213115556-irdodahpw0atgy5u
2014-02-13 17:25:56 +05:30
Martin Trigaux 409c3cfe9f [FIX] data: _.find (prefered to older _.detect) may return undefined if no match and would trow an error when applying .values
Instead returns undefined which is handled below.
This does not solve the issue when records are not loaded properly but gives a better information on the reason.

bzr revid: mat@openerp.com-20140213085008-pnq4r0ebfl072u78
2014-02-13 09:50:08 +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 Simonis 9d670cd45f [FIX] web: navbar must have a z-index at 0 to be hidden when passing pad in fullscreen
bzr revid: chs@openerp.com-20140212180932-z1vtcfrif0rzsozu
2014-02-12 19:09:32 +01:00
Olivier Dony 6a29b0ae0f [FIX] Layout was broken in the debugging `View Logs` (perm_read) popup, fixed + boostrapified
bzr revid: odo@openerp.com-20140212141959-w2s4f960jwbknzx4
2014-02-12 15:19:59 +01:00
Olivier Dony 2223ba5600 [FIX] search view: slightly more readable error when search filters fail to evaluate
Prints the error details instead of:
  Uncaught TypeError: Cannot read property 'length' of undefined' addons/web/static/src/js/views.js

bzr revid: odo@openerp.com-20140212141346-hpw05sv3ctr243db
2014-02-12 15:13:46 +01:00
Fabien Meghazi 92b8aafe97 [FIX] /web/login: Set request.uid on auth=none so it's correct if overloaded with auth="public"
bzr revid: fme@openerp.com-20140211113916-2to1g41pccimbsgq
2014-02-11 12:39:16 +01:00
Fabien Meghazi af668b891c [FIX] pass request.context in /web/login
bzr revid: fme@openerp.com-20140211113603-0wsr288gejz416dw
2014-02-11 12:36:03 +01: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
Gery Debongnie c8e23ffe28 [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140211082642-ndnt79zjgjlcyr6a
2014-02-11 09:26:42 +01:00
Denis Ledoux 749e05ccb8 [FIX] close autocomplete listing on input
Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.

Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``

bzr revid: dle@openerp.com-20140210140032-06dnlxepcc5ae21f
2014-02-10 15:00:32 +01:00
Fabien Meghazi b9697ed52e [MERGE] upstream
bzr revid: fme@openerp.com-20140210131511-8sklkj5z2vorhbq7
2014-02-10 14:15:11 +01:00
Xavier Morel 0821af1af9 [FIX] close autocomplete listing on input
Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.

Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``.

bzr revid: xmo@openerp.com-20140210123416-cfc0x24bfkiv4lse
2014-02-10 13:34:16 +01:00
Gery Debongnie ff89abba85 [FIX] correctly displays tooltips in sales/sales team (they previously were cut in half by incorrect padding) (addon web)
bzr revid: ged@openerp.com-20140210100439-icqps10dvtdhlvv0
2014-02-10 11:04:39 +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
Christophe Simonis 0b9bf8e2bf [FIX] ensure_db():
When user ask a specific database on a new session, the nodb router
 has been used to find the route.
 Depending on installed module in the database, the rendering of the page
 may depend on data injected by the database route dispatcher.
 Thus, we redirect the user to the same page but with the session cookie set.
 This will force using the database route dispatcher...

bzr revid: chs@openerp.com-20140207154703-o0gl58i2b56eridx
2014-02-07 16:47:03 +01:00
Christophe Simonis 79caa8e186 [IMP] extract save/get session actions as methods on session object
bzr revid: chs@openerp.com-20140206115253-ed7ahi6j83mgpw4y
2014-02-06 12:52:53 +01:00
Martin Trigaux b75c52f3ed [IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field
bzr revid: mat@openerp.com-20140206102409-4lbx7ofsgz8speni
2014-02-06 11:24:09 +01:00
Launchpad Translations on behalf of openerp 7c691e9e27 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062518-3g0oj0z7mlartzal
2014-02-06 06:25:18 +00:00
Fabien Meghazi 21b863183b [IMP] Move footer to login_layout
bzr revid: fme@openerp.com-20140205150335-vc0aiagopspo1aid
2014-02-05 16:03:35 +01:00
Fabien Meghazi 9acaaa74dd [IMP] database selector, do not display Continue button for javascript
bzr revid: fme@openerp.com-20140205150158-gg274ko7y9jgy3jg
2014-02-05 16:01:58 +01:00
Martin Trigaux ea3c17a2e9 [MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView widget
This avoids getting the error 'Cannot call method 'getParent' of undefined'

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

bzr revid: mat@openerp.com-20140205102107-5ggbbkyr172855uu
2014-02-05 11:21:07 +01:00
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00
Martin Trigaux 14631ed6c5 [FIX] css: remove height: 18px on .oe_facet_value property to avoid long filter name to exceed the size of the box (on 2 lines)
bzr revid: mat@openerp.com-20140204155046-ifqts8mpaqhgvjnj
2014-02-04 16:50:46 +01:00
Cecile Tonglet df0076c67d [FIX] getParent() js error when clicking to fast on menu items of dashboards
bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
2014-02-04 16:05:44 +01:00
Launchpad Translations on behalf of openerp a12fb24290 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140204064842-0dbci9bv8whxs8ax
2014-02-04 06:48:42 +00:00
jke-openerp 41f66b8835 [TYPO] Fix bug css revert rev 4122 and add clear:both
revert because was breaking the rendering of forms using oe_title as clearfix hack
adding clear on .oe_form_group to fix the journal form on firefox (block was unaligned, some fields out of the screen)

bzr revid: jke@openerp.com-20140203173926-ohabh1vahcwqijug
2014-02-03 18:39:26 +01:00
Christophe Simonis ef14282df0 [FIX] tests: pass correct passwords to js
bzr revid: chs@openerp.com-20140203141506-zmfhd7g0zorveb5v
2014-02-03 15:15:06 +01:00
Xavier Morel 85579973a5 [ADD] large throbber
bzr revid: xmo@openerp.com-20140203160237-jlvp70gnkny2fx98
2014-02-03 17:02:37 +01:00
Launchpad Translations on behalf of openerp 9b25045d95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140203055616-29ji7mugvwf3jpmn
2014-02-03 05:56:16 +00:00
Xavier Morel e9a3d8bcec [FIX] enable jsonrpc-auth tests, remove stray log
bzr revid: xmo@openerp.com-20140131154147-oi30v8u8h3c3htx7
2014-01-31 16:41:47 +01:00
Xavier Morel ae3223907b [FIX] modules initialization when testing
broken "adaptation" to single-instance openerp would only initialize the first
set of dependencies, any further module would see its test runs without itself
or its dependencies being guaranteed to be initialized/installed into the
current openerp instance.

bzr revid: xmo@openerp.com-20140131152640-coxqulkdb0xupbvq
2014-01-31 16:26:40 +01:00
Xavier Morel b78703c122 [IMP] console.log js output should be piped to stdout during JS tests
bzr revid: xmo@openerp.com-20140131152612-rqxkge24w6p95q10
2014-01-31 16:26:12 +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
Xavier Morel 99743cae43 [REM] useless comment
the database password is necessary to duplicate databases

bzr revid: xmo@openerp.com-20140131110748-nfguxwjysgbn6y3y
2014-01-31 12:07:48 +01:00
Martin Trigaux 23de024718 [IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
2014-01-31 11:28:36 +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
Martin Trigaux 3a07e0a012 [FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29 15:14:38 +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
Gery Debongnie a482809cf9 [FIX] correctly compute the attribute 'length' in a query_group so that the list view properly display groups when grouped by 'date:interval' (addon web)
bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-29 10:23:59 +01:00
Fabien Meghazi b91b265cb8 [IMP] Use ensure_db() for /web and /web/login. Logout controller does not clear the db anymore
bzr revid: fme@openerp.com-20140128211802-9y77th2zojfhp35q
2014-01-28 22:18:02 +01:00
Xavier Morel 1f4bb2d289 [FIX] update CKEditor to 4.3.2, fixes problem of double-escaping of non-ascii characters in widgets
bzr revid: xmo@openerp.com-20140128141336-boloxf0cfcrzej03
2014-01-28 15:13:36 +01:00
Martin Trigaux 802d64ca92 [MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains
* Alter datetime.now(), generate a local datetime (add utcnow() which generates a UTC datetime)
* Implement datetime.replace() to manipulate local datetimes
* Implement date.today(), generates a local date
* Implement datetime.toJSON(), returns a javascript Date (assumes datetime attributes are local)
* Add conversion hook in JSON and JSONP handlers, automatically converts a Date object to a UTC datetime formatted according to server formats

Should allow the generation of correctly working (from the end-user's POV) [Today] filters, amongst other things.
Eg: a local expression in a domain for 'Today 00:00:00' would now be expressed as 'datetime.datetime.now().replace(hour=0, minute=0, second=0)' (no .strftime) and will be converted to UTC when sent to the server

bzr revid: mat@openerp.com-20140128133706-4yp610pp5w06tcia
2014-01-28 14:37:06 +01:00
Launchpad Translations on behalf of openerp 21ad5a6f48 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051546-xdjoni3k2eium078
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128070317-kjn3wh5y1v9z2ijd
2014-01-28 07:03:17 +00:00
jke-openerp 9f8bd865dc [IMP] Fix css with header of no_form, Fix css for Entypo lin height, Fix js positionning for search no_result, allow click on + in kanban when no_result (ask of fp)
bzr revid: jke@openerp.com-20140127172414-qftefwct3zbgfvrt
2014-01-27 18:24:14 +01:00
Gery Debongnie 3a784da015 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140124153446-2mouqvp02c009y0x
2014-01-24 16:34:46 +01:00
Fabien Meghazi f4e33da924 [ADD] Database selector to login screen
bzr revid: fme@openerp.com-20140124151656-swy3jknclfnxkwzx
2014-01-24 16:16:56 +01:00
Christophe Simonis 457d661ae0 [FIX] test: correct Mock of search_read
[IMP] search_read: build order index using dict comprehension

bzr revid: chs@openerp.com-20140123170836-4qu0ei6zucaprwxs
2014-01-23 18:08:36 +01:00
Frédéric van der Essen 2f2c1057b3 [FIX] read: fix performance issue due to O(n)^2 sorting
bzr revid: fva@openerp.com-20140123161523-xvc8so45uwj3uivs
2014-01-23 17:15:23 +01:00
Christophe Simonis 9af3bf56c0 [ADD] web: add select2 lib
bzr revid: chs@openerp.com-20140123151934-0u3yl2rsd0zfq4x1
2014-01-23 16:19:34 +01:00
Xavier Morel 84d8cde6fe [FIX] test controller
bzr revid: xmo@openerp.com-20140123124250-ek1g3a0ucuhtsgqv
2014-01-23 13:42:50 +01:00
Fabien Pinckaers e40646d98d [IMP] wording
bzr revid: fp@tinyerp.com-20140122194046-xrgf3buqlj3nlcve
2014-01-22 20:40:46 +01:00
Fabien Pinckaers 8effb55a7d [IMP] design of sign in/up
bzr revid: fp@tinyerp.com-20140122192342-t3qc2ipcj3okbbgp
2014-01-22 20:23:42 +01:00
Xavier Morel 5b7ade9db1 [ADD] ways to correctly handle local datetimes in e.g. domains
* change datetime.now() to generate user-local naive datetimes
* add datetime.utcnow() behaving as the old now()
* add date.today() generating a user-local date (for the current day)
* add datetime.replace() to replace any specific attribute of the
  datetime object (except tzinfo, for now)
* datetime.toJSON() now returns the equivalent javascript Date object
  (warning: uses the datetime attributes directly, since datetimes are
  naive if they were created with utcnow() the Date result is going to
  be complete nonsense). With the previous commit datetime.now()
  generates a user-local now() which is converted to the correct UTC
  datetime when sent to the server.

This means it becomes possible to generate datetime bounds for the
user's local today with either

    datetime.datetime.now().replace(hour=0, minute=0, second=0)

or

    datetime.datetime.combine(
        datetime.date.today(),
        datetime.time())

and once send over JSON-RPC the server will get the local datetime
in UTC to the server's format.

nb: user-local means "in the timezone of the user's browser" in this
context.

bzr revid: xmo@openerp.com-20140122151911-akn1nr6e739eg92s
2014-01-22 16:19:11 +01:00
Xavier Morel 36eedfab43 [ADD] JSONify Date objects to a UTC datetime in OpenERP server format
This way, the client can send genuine local Date objects without
caring too much, the server will get them in an expected format. This
can then be used by leaving Date objects in domains, and have these
date objects end up correctly in the server without creators of
domains having to manually serialize them to UTC from a local datetime
somehow.

bzr revid: xmo@openerp.com-20140122135426-zm80cj5wm9iebs76
2014-01-22 14:54:26 +01:00
Gery Debongnie d0806ed3f7 [FIX] makes the querygroup methods compatible with the 'field:interval' format of groupbys accepted by read_group
bzr revid: ged@openerp.com-20140122124449-4nodai5vkoz3eryf
2014-01-22 13:44:49 +01:00
Fabien Meghazi fff9749edd [ADD] TODO for database manager
bzr revid: fme@openerp.com-20140122105712-cawi7lp0mnm9k9hv
2014-01-22 11:57:12 +01:00
Fabien Meghazi c450c82e74 [IMP] use company logo controller for login layout
bzr revid: fme@openerp.com-20140122102646-ftmcud2yn7062ohq
2014-01-22 11:26:46 +01:00
Launchpad Translations on behalf of openerp 0f2d7e4820 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122054041-3ebv0zxz43meid0v
2014-01-22 05:40:41 +00:00
Fabien Meghazi 9981100807 [FIX] keep backward compatibility for saas
bzr revid: fme@openerp.com-20140121160140-wgm0av3kaw0nvc61
2014-01-21 17:01:40 +01:00
Fabien Meghazi 9e9ad95ce3 [MOV] redirection helpers from webclient to server
bzr revid: fme@openerp.com-20140121155432-3sd85jqnqgxrnjr5
2014-01-21 16:54:32 +01:00
Fabien Meghazi 301c3b9ce3 [ADD] messages to login form + init openerp modules for inheritance
bzr revid: fme@openerp.com-20140121151747-h1vj493z832bzvvz
2014-01-21 16:17:47 +01:00
Martin Trigaux 9f3ab4599c [FIX] FieldStatus: restore trigger get_selection on value change. Was removed rev 3738.
Without this a change of record in a form view would not recompute the list of states as well as a change of state due to a button

bzr revid: mat@openerp.com-20140121151255-jke0zbobb0ilpqid
2014-01-21 16:12:55 +01:00
Gery Debongnie e131e873ca [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140121143053-30rf6wcwte6404jg
2014-01-21 15:30:53 +01:00
Martin Trigaux 3c3ab07e2f [FIX] format_value: correctly compose if block, we are doing python here...
bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88
2014-01-21 15:26:25 +01:00
Martin Trigaux 36048a8442 [IMP] always apply substring and call directly str_to_date
bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo
2014-01-21 11:50:58 -02:00
Martin Trigaux 9a0a02060f [FIX] format_value: when formating to date, make sure not converting from a datetime string as would make timezones apply and lead to a possible day change
bzr revid: mat@openerp.com-20140121132725-k9f8hna3lg7nq7g8
2014-01-21 11:27:25 -02:00
Fabien Meghazi 3087646d34 [FIX] render bootstrap template checks request.debug
bzr revid: fme@openerp.com-20140121105233-h2c2nfs75qxc6w10
2014-01-21 11:52:33 +01:00
Fabien Meghazi f43f06a6b0 [IMP] use 'error' key in login template
bzr revid: fme@openerp.com-20140121093224-8auf7b00jxfq8940
2014-01-21 10:32:24 +01:00
Martin Trigaux c09798bfbb [FIX] css: remove useless css properties
float:left with cleartext hack is the same as no properties, and it's working in firefox

bzr revid: mat@openerp.com-20140120163554-zf0sq98ko8qqc9fb
2014-01-20 17:35:54 +01:00
Martin Trigaux 263693e44e [FIX] search: add delay of 250us (was 0) on autocomplete fields in search bar and m2o fields.
This avoids making a search request for each keypressed

bzr revid: mat@openerp.com-20140120160147-q7lg4j93c836ec44
2014-01-20 17:01:47 +01:00
Martin Trigaux c3e31842e0 [FIX] css: unify lines in view log menu
This prevents lines in bold font to be larger than normal one and produce a gap in lines (in Firefox at least)

bzr revid: mat@openerp.com-20140120150606-dvoetrbp3cavtuc3
2014-01-20 16:06:06 +01:00
Launchpad Translations on behalf of openerp 28d79433c3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070457-rn2tgdxis2fi3nqo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055822-ajy043mntc4jr407
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055854-z7wtyb24c5t8kcmj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070538-2xm86ece1aate8u9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055932-sa6vrp2g8ua3u88e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055948-lwcyqcfutgamwac1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070546-d89xqw56zou7e9p9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055955-6wrdxqy1018mo7jq
2014-01-20 05:59:55 +00:00
Fabien Meghazi bb3118ac3d [IMP] Honor db query param in /web/login too
bzr revid: fme@openerp.com-20140117140746-v86qxs3msxd0u6mu
2014-01-17 15:07:46 +01:00
Martin Trigaux 4b7799c0c7 [IMP] search_read: use search_read from the orm instead of rewritting it
skip search_count when getting no result from search_read
remove useless test based on implementation details

bzr revid: mat@openerp.com-20140117120047-9b5emsrbtjauvegl
2014-01-17 13:00:47 +01:00
Martin Trigaux 2dc722ac80 [FIX] format_value: consider text fields te same way as char fields for empty values
bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk
2014-01-17 19:31:41 +08:00
Martin Trigaux bd2bd8dbbc [FIX] export: ignore unexistant field when retrieving field labels in saved field list
This avoids getting an error if a list contains a field no longer present in the model (eg: removed custom field)

bzr revid: mat@openerp.com-20140117101655-gz05oxkebn0bue8w
2014-01-17 11:16:55 +01:00
Fabien Meghazi fdfcf1b71f [IMP] Create a web.login_layout template the addons can inherit from
bzr revid: fme@openerp.com-20140116181656-76ju3uyd9od0w0q3
2014-01-16 19:16:56 +01:00
Fabien Meghazi 76f7dbb96c [FIX] database selector layout
bzr revid: fme@openerp.com-20140116181619-unbnh3m6migz68as
2014-01-16 19:16:19 +01:00
Fabien Meghazi c0dda700f1 [MERGE] upstream
bzr revid: fme@openerp.com-20140116181519-xtzhzm7u98u6xz18
2014-01-16 19:15:19 +01:00
Fabien Meghazi 4b663489a6 [IMP] Restore redirect_with_hash()
bzr revid: fme@openerp.com-20140116181357-kv5iq8zcr5kk948u
2014-01-16 19:13:57 +01:00
Fabien Meghazi 153df3aeac [IMP] Moved web client stuff under .openerp
bzr revid: fme@openerp.com-20140116165439-wvltptsqr69lv9ee
2014-01-16 17:54:39 +01:00
Denis Ledoux 5649e0bbf2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx
bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1
bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k
bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2014-01-16 17:14:15 +01:00
Gery Debongnie 66c78675dc [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140116144400-2t13mcnlsnpsez7p
2014-01-16 15:44:00 +01:00
Mohammed Shekha (OpenERP) f1d96a12b0 [FIX]Re-Fixed the issue of file input widget which is not working in firefox and IE.
bzr revid: msh@openerp.com-20140116115247-abzdc5blst8ucfmm
2014-01-16 17:22:47 +05:30
Thibault Delavallée 7416766f6a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140116110102-6jo2ta5fjkfppu1j
2014-01-16 12:01:02 +01:00
Fabien Meghazi 6f2f02625a [IMP] Changed login template for inheritance
bzr revid: fme@openerp.com-20140116101554-vvqu8aeim246lj1i
2014-01-16 11:15:54 +01:00
Launchpad Translations on behalf of openerp f39b8bb436 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
2014-01-16 06:06:51 +00:00
Christophe Simonis 0e870fc7a7 [MERGE] forward port of branch saas-2 up to revid 3897 dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: chs@openerp.com-20140115221349-3lw7b0kpo3f2d04l
2014-01-15 23:13:49 +01:00
Fabien Meghazi 84a840a38c [REM] Removed useless QWeb t-escf and t-rawf
bzr revid: fme@openerp.com-20140115182018-d7q3e6elm6uqh0ox
2014-01-15 19:20:18 +01:00
Fabien Meghazi 2c7dd54fec [IMP] make /web/login route return a lazy response
bzr revid: fme@openerp.com-20140115170142-szl5y22p0rciz21t
2014-01-15 18:01:42 +01:00
Cecile Tonglet f00e6711f5 [FIX] Fix the missing border-bottom of the notebook in dialogs
bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
2014-01-15 15:26:08 +01:00
Denis Ledoux 6109102e91 [FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Martin Trigaux 2170efe270 [MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Fabien Meghazi 1783797949 [FIX] database manager link
bzr revid: fme@openerp.com-20140115100631-9wrchrrvoei4llo0
2014-01-15 11:06:31 +01:00
Fabien Meghazi 5d540d69b3 [IMP] Allow /login route to redirect after login (useful for Aline's user tests)
bzr revid: fme@openerp.com-20140114151553-fehc82gxz1nq25yu
2014-01-14 16:15:53 +01:00
Martin Trigaux 3f4c637674 [IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)
bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
2014-01-14 15:57:20 +01:00
Fabien Meghazi 0275c4ecef [IMP] Improve login footer
bzr revid: fme@openerp.com-20140114145210-omve768o1t50xjdk
2014-01-14 15:52:10 +01:00
Fabien Meghazi cd213eb652 [FIX] Honnor --no-database-list option
bzr revid: fme@openerp.com-20140114140153-0zt2iqt6di6h3hw2
2014-01-14 15:01:53 +01:00
jke-openerp 11ad17a085 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20140113200621-m1tuxf3mx9hgzsha
bzr revid: jke@openerp.com-20140114135749-p7s1vtyg0sy8yza6
2014-01-14 14:57:49 +01:00
Fabien Meghazi cedc2bd277 [IMP] Better look for login and db selector forms
bzr revid: fme@openerp.com-20140114134427-fu1zu5xxce9j8vrl
2014-01-14 14:44:27 +01:00
Fabien Meghazi dec6f2569e [MERGE] upstream
bzr revid: fme@openerp.com-20140114133953-ku7af6v3z9y7qap2
2014-01-14 14:39:53 +01:00
Xavier ALT 7960f9fc59 [FIX] web: list view: fix wrong css for fields.reference in editable tree view
bzr revid: xal@openerp.com-20140114115947-gkh09tb2vxsjyksk
2014-01-14 12:59:47 +01:00
Fabien Meghazi 01f3648d3a [ADD] javascript hooks for LoginForm and debug forwarding
bzr revid: fme@openerp.com-20140114111707-ts3ik25p4o2vysxb
2014-01-14 12:17:07 +01:00
Xavier ALT 9a84e25342 [FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works
bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum
2014-01-14 11:04:39 +01:00
Christophe Matthieu 65583f01ef [MERGE] Some fix for bootstrap issues
bzr revid: chm@openerp.com-20140114094735-ek8y73c7n0llq1hf
2014-01-14 10:47:35 +01:00
Launchpad Translations on behalf of openerp fb7a497ff0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140114055838-31j3saw3pdlwevp1
2014-01-14 05:58:38 +00:00
jke-openerp f9b6ff0760 [REF] Refactoring according to the review of CHS
bzr revid: jke@openerp.com-20140113174338-4fkx4zs8cw6k20y3
2014-01-13 18:43:38 +01:00
Fabien Meghazi 75e02860c2 [REM] Removed Login from webclient
bzr revid: fme@openerp.com-20140113173808-1clqlztx6fs79h2k
2014-01-13 18:38:08 +01:00
Fabien Meghazi 3f34405c7c [IMP] login user at db creation
bzr revid: fme@openerp.com-20140113173643-ire4cnb2nbxhs8dh
2014-01-13 18:36:43 +01:00
Fabien Meghazi b7450672c0 [IMP] Always allow /web/session/logout even if not logged in
bzr revid: fme@openerp.com-20140113171312-sf2erlwby1kpw3a6
2014-01-13 18:13:12 +01:00
Fabien Meghazi 4c4755ffae [ADD] redirect option to /web/login
bzr revid: fme@openerp.com-20140113143702-20j30wc3wuglp3mn
2014-01-13 15:37:02 +01:00
Fabien Meghazi bf26965d9f [ADD] login container
bzr revid: fme@openerp.com-20140113102838-7q3tegun1p51u6s4
2014-01-13 11:28:38 +01:00
Gery Debongnie c0c686cd15 [FIX] changes test definition to have the correct number of assertions (addon web)
bzr revid: ged@openerp.com-20140113080856-7h6cnlh675vgi8s2
2014-01-13 09:08:56 +01:00
Martin Trigaux cc553cc507 [FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter
bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w
2014-01-13 18:23:47 +01:00
Gery Debongnie 98bd9a3fc3 [FIX] the SearchQuery.add methods now properly removes the 'at' and 'merge' keys before propagating options, so the tests should now pass (addon web)
bzr revid: ged@openerp.com-20140110154812-kazqirnie3kwtl4m
2014-01-10 16:48:12 +01:00
Gery Debongnie 716d888aaf [IMP] separates a facet test into smaller tests to have better information (addon web)
bzr revid: ged@openerp.com-20140110150836-xgk11tcimhmgpl9z
2014-01-10 16:08:36 +01:00
Fabien Meghazi 0058291979 [IMP] Use qweb template for login and webclient bootstrap
The database manager should be rewritten server side

bzr revid: fme@openerp.com-20140109151140-8x3ia8zpdpw1lics
2014-01-09 16:11:40 +01:00
Fabien Meghazi b42fc403cb [IMP] Do not send button's name in form.
Will require some styling tough

bzr revid: fme@openerp.com-20140109084010-8ih86shohufur3mu
2014-01-09 09:40:10 +01:00
Denis Ledoux e00c236693 [FIX] web: redirect with hash always use html redirect
# Most IE and Safari versions decided not to preserve location.hash upon
# redirect. And even if IE10 pretends to support it, it still fails
# inexplicably in case of multiple redirects (and we do have some).
# See extensive test page at http://greenbytes.de/tech/tc/httpredirects/

bzr revid: dle@openerp.com-20140108105307-8dzzkxvtesb5d813
2014-01-08 11:53:07 +01:00
Launchpad Translations on behalf of openerp dc7821ab8f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108053808-kp6y8v47dolfbvup
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054028-juvi5k3459lfg0ov
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054034-xfyjwtdxhq3abo8c
2014-01-08 05:40:34 +00:00
Olivier Dony 1bb2fccb9d [FIX] web: avoid crash when the Home client action is called without `action` param
E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.

bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe
2014-01-07 17:11:54 +01:00
Fabien Meghazi 16be0fa33a [IMP] update TODO
bzr revid: fme@openerp.com-20140107114801-nlsi6zh1uhga805k
2014-01-07 12:48:01 +01:00
Fabien Meghazi e8a0021741 [IMP] Replace html_template by webclient_bootstrap for /web/ route
bzr revid: fme@openerp.com-20140107114535-u0kbdfeu3x9m01mv
2014-01-07 12:45:35 +01:00
jke-openerp 4c24a73c64 [Merge] Merge with trunk
bzr revid: jke@openerp.com-20140106082231-84opu0zwlwvzfvzg
2014-01-06 09:22:31 +01:00
Thibault Delavallée 3d9459ba9d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140103151458-8hl5qlmswpxdvd7v
2014-01-03 16:14:58 +01:00
Denis Ledoux 5ba8c98fee [REVERT] rev 4098, revid:dle@openerp.com-20131224112201-0zlxa6fevvj3501h. Partialy break the design (buttons and status bar not displayed sometimes)
bzr revid: dle@openerp.com-20140103094415-vi99tbbeitzr7r2b
2014-01-03 10:44:15 +01:00
Launchpad Translations on behalf of openerp c66a5ed402 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227053956-p7tdskfkfwn0icl8
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230050721-dfw5fsmgo8btk6tq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052707-fyy1k7m0u3n88vw0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054406-tted2yxu518pvp2p
2014-01-01 05:44:06 +00:00
Gery Debongnie c189cd2378 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20131227152221-w0k62w93yqs1euxx
bzr revid: ged@openerp.com-20131230090912-pc5kpl70gop00lpg
2013-12-30 10:09:12 +01:00
Launchpad Translations on behalf of openerp 1e3ebc0285 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220051750-c2x3cf7wrd35we7a
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227052617-sg1lzd37c8fk1pgm
2013-12-27 05:26:17 +00:00
Denis Ledoux 7bb4f6da82 [FIX]web: status bar alignment, sometimes wrong on google chrome
bzr revid: dle@openerp.com-20131224112201-0zlxa6fevvj3501h
2013-12-24 12:22:01 +01:00
Fabien Pinckaers 6f2e3e118f [IMP] CSS fix for statusbar misaligned
bzr revid: fp@tinyerp.com-20131224082157-o2ncgd7rsd0tpd18
2013-12-24 09:21:57 +01:00
jke-openerp 4a6d2a508e [IMP] Remove unused library jquery.ui.touch-punch
bzr revid: jke@openerp.com-20131220171355-2t77njuxx697mjh5
2013-12-20 18:13:55 +01:00
jke-openerp 0bec0a3ef9 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131220145133-rgipx3bsh79isnxg
2013-12-20 15:51:33 +01:00
Gery Debongnie 2dffdc7c96 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20131219151851-m5av5iz9e3km2s2u
bzr revid: ged@openerp.com-20131220091306-lbsixx9c1robif1m
2013-12-20 10:13:06 +01:00
Vidhin Mehta (OpenERP) f12a8e94ac [MERGE]Trunk.
bzr revid: vme@tinyerp.com-20131220073414-spf39j62hv7btxt9
2013-12-20 13:04:14 +05:30
Vidhin Mehta (OpenERP) 5e5483bde4 [FIX]for dialog box stick to page.
bzr revid: vme@tinyerp.com-20131220073241-xi7v47jecgewapw2
2013-12-20 13:02:41 +05:30
Fabien Meghazi 4f952e73b4 [IMP] forward debug query param in database manager link
bzr revid: fme@openerp.com-20131219180829-4xqrcftp4gxs012y
2013-12-19 19:08:29 +01:00
Fabien Meghazi 34c2def1da [FIX] webclient bootstrap constructor first parameter
bzr revid: fme@openerp.com-20131219180752-wmjaalqhjt8dzs0i
2013-12-19 19:07:52 +01:00
Fabien Meghazi adfd2631e4 [FIX] correctly manager login query param
bzr revid: fme@openerp.com-20131219180717-s9ec0oi5a0jl21o0
2013-12-19 19:07:17 +01:00
Fabien Meghazi 90b63ee28c [FIX] support client_options.action and client_options.post_login_action
bzr revid: fme@openerp.com-20131219180628-s95y5ryomnbgvko2
2013-12-19 19:06:28 +01:00
Fabien Meghazi a47693ae73 [FIX] database manager link
bzr revid: fme@openerp.com-20131219170358-nujn0762d2j0qe2s
2013-12-19 18:03:58 +01:00
Fabien Meghazi da780aa478 [IMP] Database selector and manager
bzr revid: fme@openerp.com-20131219143648-5jvlcet3yjsw6vq6
2013-12-19 15:36:48 +01:00
Fabien Meghazi 6754d72a93 [FIX] webclient reference
bzr revid: fme@openerp.com-20131219134601-9lgi8d3x7e02umoq
2013-12-19 14:46:01 +01:00
Fabien Meghazi 5d3891835b [ADD] Client.client_options
bzr revid: fme@openerp.com-20131219130445-tvola5kfm86b3blf
2013-12-19 14:04:45 +01:00
Launchpad Translations on behalf of openerp 64cc283264 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061541-j0v5712t55sdiqb6
2013-12-19 06:15:41 +00:00
Martin Trigaux 07f2a7c1f9 [MERGE] forward port of latest saas-2 until rev 3893 dle@openerp.com-20131218112416-2vtaq442qo8opq4u
bzr revid: mat@openerp.com-20131218165033-4djghawrzllkeckg
2013-12-18 17:50:33 +01:00
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
jke-openerp e4469e0aeb [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131218131034-61e6su19shmrgakz
2013-12-18 14:10:34 +01:00
Xavier ALT 9491755b8b [FIX] web: only show in 'Advanced Search', fields that are actually searcheable and avoid duplicate 'ID' field
bzr revid: xal@openerp.com-20131218113547-myl7eihvw5vbzkaa
2013-12-18 12:35:47 +01:00
Denis Ledoux cb0074ab15 [FIX] web: context propagation was broken on buttons of action and object type.
The context on the button must be propagated to the resulting action

bzr revid: dle@openerp.com-20131218112416-2vtaq442qo8opq4u
2013-12-18 12:24:16 +01:00
Fabien Meghazi b4918347cc [IMP] webclient entry point controller
bzr revid: fme@openerp.com-20131218111937-hp5vfutci5x7k2p5
2013-12-18 12:19:37 +01:00
Kunal Chavda (Open ERP) 012a42a6f1 [REM]removed tipsy library.
bzr revid: kch@tinyerp.com-20131218073709-yv4161e0u4exnwgr
2013-12-18 13:07:09 +05:30
Kunal Chavda (Open ERP) 00362f60c9 [IMP]customize bootstrap tooltip classes.
bzr revid: kch@tinyerp.com-20131218073440-c7sfdn0jfw0cw83n
2013-12-18 13:04:40 +05:30
Xavier Morel eae8cae9dd [IMP] update ckeditor to 4.3.1
bzr revid: xmo@openerp.com-20131217113003-ave5migr6wecjvch
2013-12-17 12:30:03 +01:00
Martin Trigaux cfd24d9822 [FIX] view_list_editable: toggle visibility (using force_visibility attribute) for readonly changes, using effective_invisibility instead of invisibility attribute (opw 601970)
bzr revid: mat@openerp.com-20131217104111-u9bnqvz7rd5rzwnc
2013-12-17 11:41:11 +01:00
Kunal Chavda (Open ERP) 7e40734c20 [FIX]forgot to uncomment code.
bzr revid: kch@tinyerp.com-20131217094438-kef28woejof2dovn
2013-12-17 15:14:38 +05:30
Kunal Chavda (Open ERP) e6112472ce [FIX]css issue.
bzr revid: kch@tinyerp.com-20131217094157-i45wv6xs1uz38kin
2013-12-17 15:11:57 +05:30
Kunal Chavda (Open ERP) 3fcd2e2440 [IMP]Improved code for set tooltip placement on top or bottom on the basis of display area.
bzr revid: kch@tinyerp.com-20131217093546-49lg5i0rm1kx9oli
2013-12-17 15:05:46 +05:30
Kunal Chavda (Open ERP) 40a4a06d06 [IMP]improved css for tooltip bottom, bottom arrow, text alignment.
bzr revid: kch@tinyerp.com-20131217073158-zjy4wbxenchxk2ax
2013-12-17 13:01:58 +05:30
Vidhin Mehta 56a78ab3a4 [FIX]Issue of trunk in website branch.
bzr revid: vme@tinyerp.com-20131217073042-13d3aa7vgct4l3xw
2013-12-17 13:00:42 +05:30
Kunal Chavda (Open ERP) 9c3edd5d6d [REM]removed tooltip.js which is not needed. tooltip included in bootstrap.js.
bzr revid: kch@tinyerp.com-20131217071004-4upcf6b5bmlok1v9
2013-12-17 12:40:04 +05:30
Kunal Chavda (Open ERP) 529c31104c [MERGE]with latest.
bzr revid: kch@tinyerp.com-20131217065045-4gk6sda3rfxp3f88
2013-12-17 12:20:45 +05:30
Xavier Morel 21700e5e28 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131213093827-cew27ajx3mlu91h3
2013-12-13 10:38:27 +01:00
Xavier Morel 0fd50c4750 [REM] leftover logging
bzr revid: xmo@openerp.com-20131213093542-sdomq8skpwq5wrgv
2013-12-13 10:35:42 +01:00
bth-openerp 6575d4e8b3 [MERGE]With trunk.
bzr revid: bth@tinyerp.com-20131212125750-6ew04w8tins9qjhe
2013-12-12 18:27:50 +05:30
bth-openerp 898c293e25 [IMP]\n replaced by <br />.
bzr revid: bth@tinyerp.com-20131212103342-tddr7vr29zud3vwb
2013-12-12 16:03:42 +05:30
Gery Debongnie d27b9ab563 [MERGE] merge trunk
bzr revid: ged@openerp.com-20131212095350-hfn21bwp031nns1m
2013-12-12 10:53:50 +01:00
Gery Debongnie 43627cc63a [FIX] makes sure the web client loads the bootstrap.js file instead of using dropdown.js in web_graph (addon web)
bzr revid: ged@openerp.com-20131212094518-jlau88zb0bxjj966
2013-12-12 10:45:18 +01:00
Gery Debongnie edbc4d8927 [MERGE] latest trunk
bzr revid: ged@openerp.com-20131212085948-ntl7j40yl6815sye
2013-12-12 09:59:48 +01:00
Christophe Simonis 9241d5f699 [FIX] when executing action received from a button call, set active_id and active_ids if there is one, remove existing if not; always set active_model
bzr revid: chs@openerp.com-20131211163609-i3s2mlncf5n91uda
2013-12-11 17:36:09 +01:00
Christophe Simonis 920ba45935 [FIX] filter the context keys only on the result action of the button
bzr revid: chs@openerp.com-20131211161810-hetgizet5mv3xkys
2013-12-11 17:18:10 +01:00
Martin Trigaux 585c72abd7 [MERGE] [FIX] Grouped ListView: avoid removing info in row title (such as total) when removing page numbers (if grouped view contains more than 80 elements) (opw 594708)
bzr revid: mat@openerp.com-20131211113330-c6mnxwba7yvxaqmc
2013-12-11 12:33:30 +01:00
bth-openerp ec96bb513b [IMP]Tooltip when field have help and on debug mode.
bzr revid: bth@tinyerp.com-20131211110030-tz3jf992ndmjgqe9
2013-12-11 16:30:30 +05:30
Martin Trigaux ad7951214c [MERGE] [FIX] One2ManyListView: reload line data without saving it when m2o record has changed in edition mode (eg: changing product name in sale order line) (opw #600224)
bzr revid: mat@openerp.com-20131211105009-iylczcepd3a0e61l
2013-12-11 11:50:09 +01:00
bth-openerp e547218faa [MERGE]With trunk.
bzr revid: bth@tinyerp.com-20131206062506-0mx9y3awczrsatrk
bzr revid: bth@tinyerp.com-20131211104422-a103eynbuyx6a1ng
2013-12-11 16:14:22 +05:30
jke-openerp 983a706429 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131210164049-tf0bny53q6tqxfvg
bzr revid: jke@openerp.com-20131211085306-2g4tluf4uqleu7ks
2013-12-11 09:53:06 +01:00
Launchpad Translations on behalf of openerp 767207aa23 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062724-zxcigdht6w71xy7v
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062802-mh61vodnsw0sr8im
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062808-o9fkpg2cg9cb403z
2013-12-11 06:28:08 +00:00
Launchpad Translations on behalf of openerp 44b7ede640 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz
2013-12-11 05:52:24 +00:00
Xavier Morel fec27404ac [CHG] replace [Add] button in m2m lists by link in row, similar to o2m
Task 4941

Extracted relevant section from One2ManyList which already implemented
it previously, then created and hooked in m2m list using (inheriting
from) extracted code.

bzr revid: xmo@openerp.com-20131210164443-ur44b8g5gdrt8jt1
2013-12-10 17:44:43 +01:00
xmo 762774df37 [FIX] prevent field going to be misplaced when going from readonly to writable in editable list view
bzr revid: mat@openerp.com-20131210155703-2mzqa2mch46nxpcj
2013-12-10 16:57:03 +01:00
Xavier Morel 9322b677aa [FIX] weird behavior when drag&dropping a row during edition in editable listview
When dropping, would simultanously stop the edition and try a write
(so 2 writes on the same record) and generally screw up the state of
all the things, ending up with an empty row and a weird (and
incorrect) warning.

This can be fixed by preventing resequencing during the creation or
edition of a record (row) inline.

For simplicity, implemented by looking up .ui-sortable descendants —
there are no utility methods for handling that and, aside from the
class, there's no good way to know if sortability was enabled on a
list body or not (as far as I can see, jquery-ui's sortable has no API
to query that) — and using jquery-ui's sortable API for enabling and
disabling sortable on the fly.

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

bzr revid: xmo@openerp.com-20131210124755-ugr3ehf744qoh1o5
2013-12-10 13:47:55 +01:00
Martin Trigaux f32b87e14d [FIX] css: avoid tabs in row below to move when selected (opw 601379)
bzr revid: mat@openerp.com-20131210112444-pk9yh8bke1z7eerr
2013-12-10 12:24:44 +01:00
Xavier Morel 029c866b8c [FIX] issue when tabbing too much at end of editable list row
Tabbing is intercepted by keydown_TAB, which — if the current cell is
the last active field of the row — will then call _next:476. _next
then calls save_edition:300 which "takes a lock" (more precisely
serializes access to its body) and within its body checks if an
edition is active (:303) and returns immediately if not (:304).

The problem here is when a second tab event arrives during the
potentially extremely long save_edition body (since for toplevel lists
it needs to perform a complete RPC call): the overall state of the
list has not changed so the second event *also* goes into _next, then
into save_edition. There it's serialized with the ongoing call and
thus inactive until said ongoing call's termination, and reaches the
body after the current edition has been wound down. As a result, the
body of _next (:408) gets the resolution of ``$.when()``, which is
``null`` and the first condition blows up.

There are 3 possible ways to fix this:

* adding a check in keydown_TAB's handler to see whether a _next call
  is ongoing. This requires adding a state flag to the object and does
  not protect (or cooperate with) _next calls from outside this
  specific handler, unless they are modified in turn.

* alter save_edition to *fail* in case there's no ongoing edition:
  this part was originally in ensure_saved which does not care whether
  a save was necessary or not and does not propagate save information,
  so ``$.when()`` made sense. In save_edition, there are really 3
  different outcomes: the save succeeded, the save failed (or
  potentially part of save's postprocessing failed, for the current
  implementation) and the save was unnecessary. But deferred only
  provide 1 bit of state (success or failure), so the last state has
  to be merged into either success or failure.
 
  Both make sense, to an extent. Changing from one to the other (as
  necessary here) could break existing code and have more extensive
  effects than expected.

* the simplest and least far-raging change is to just alter the
  save_edition().then handler to ignore cases where save_edition()
  results in no saveinfo, this can be assumed to be a
  bailed-out/unnecessary save call.

For simplicity, the 3rd solution was picked here although with more
extensive tests &al I'd have preferred trying out 2nd.

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

bzr revid: xmo@openerp.com-20131210093055-207fevqc1npy7fwr
2013-12-10 10:30:55 +01:00
Michel Meyer 68aac8e855 [FIX] events handling ordering courtesy of Michel Meyer
lead to errors during the validation of rows in list o2ms.

See https://bugs.launchpad.net/openerp-web/+bug/1182101/comments/20
for an extensive description of the events and issue.

bzr revid: xmo@openerp.com-20131209153519-n05bdx15t75dh7gf
2013-12-09 16:35:19 +01:00
Launchpad Translations on behalf of openerp a092227c6e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063209-2xi8ba5wu6l6ze00
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054536-mg4w4d6ljq8ji1nj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063232-l64v1fhf1qcpxm2l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054646-zixed7abpuze4qt1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062625-f7inv72rtg2kel8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054801-1ukcpelfukkvwn60
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060120-nm8tkfbftg8c88v1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060753-jnx5ran2accmo0lh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127054000-wtg675pf33f3bkar
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053028-abszdj4y76smnacb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054555-3u1m1sy1f2og78nn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055227-mm70khzdfnp4qcj9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063237-vza5vb51xmd2ipl6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054653-f4zth8j3iczlzcqz
2013-12-08 05:46:53 +00:00
Gery Debongnie 6a06f0d0ee [IMP] properly supports searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131206154319-6ci7ljmp2hd9q072
2013-12-06 16:43:19 +01:00
Xavier Morel b4c121db71 [FIX] bad interaction of editable list with IME
IME are ways to input language which can't trivially map to a keyboard
(e.g. CJK language) with a standard-ish keyboard. For japanese IME
this is done by entering text phonetically: text is entered in romaji
and automatically converted to hiragana (or katakana) when it matches
the transcription a japanese syllable (~phoneme?) e.g. to (と). The
text is then split and reprocessed with sequences of hiragana being
converted to kanji (or not), and the possibility to pick the right
kanji when multiple kanji match e.g. for "Tokyo" toukyou -> とうきょう
-> 東京.

But to do the edition, keyboard keys are used. For the japanese IMEs
(tested on Windows, OSX and Linux) [Space] will do the initial
conversion from kana to kanji (and allow selecting an other conversion
or a different kana split) and [Return] will validate the current
conversion (removing the underline marking "unvalidated" kana or kanji
groups).

And that's where the problem hit: IME + browser combinations may or
may not suppress part of all of the event. Firefox will trigger a
keydown of the key which "starts" IME input (e.g. "t") and will
trigger a keyup for the validation key (return), except on Linux where
the initial keydown is suppressed. Inbetween these, it will fire no
keydown, keyup or keypress event but will fire input events (at least
on an input element) every time the displayed text changes.

Meanwhile webkit browsers will, for each press on the keyboard during
IME,

* trigger a keydown with the keyCode 229
* trigger a keyup event with the keycode of the key which was actually
  hit
* trigger input events every time the displayed text changes

This include meta-operation uses of [Space] and [Return].

MSIE has the same behavior (including triggering the input event), but
the keydown event is augmented with ``key`` and ``char`` attributes
providing the character matching the key hit to trigger the change.

Although the triggering of the input even is useless for the purpose
of the editable list (especially here, the purpose of validating a
list row with [Return] one fact stands out: keypress is never
triggered during IME operations, hitting the [Return] key outside of
IME will trigger keydow, keypress, keyup but doing so during IME will
only trigger the first and last.

Thus by changing the binding from keyup (return) to keypress (return)
for a line validation, spurious validation during IME text entry
should be avoided. This seems to work correctly on MSIE (Windows),
Firefox (Windows, OSX, Linux), Chrome (Windows, OSX, Linux) and Safari
(OSX), after testing in IE9, IE10, Chrome 31, Firefox 25 and Safari 7,
and a quick test on a task's o2m did not reveal any regression.

note: not all differences between various browser/os combinations were
inspected in details, there may well be further differences which were
not noticed or not relevant to this precise issue.

bzr revid: xmo@openerp.com-20131206124431-q4a9l1gn9wjtmlvz
2013-12-06 13:44:31 +01:00
bth-openerp 6ccb6423ea [IMP]Destroy tooltip.
bzr revid: bth@tinyerp.com-20131206062152-15fi8v8xokyux40m
2013-12-06 11:51:52 +05:30
bth-openerp 188d426500 [IMP]Add sass changes.
bzr revid: bth@tinyerp.com-20131206052756-bqizhcsf2jwjn05k
2013-12-06 10:57:56 +05:30
bth-openerp 21ac480edf [IMP]Add tooltip in kanban record and search view.
bzr revid: bth@tinyerp.com-20131205111714-zat05ycom5wtjzfd
2013-12-05 16:47:14 +05:30
Gery Debongnie 15547d9267 [REF] refactors the event handling code and prepare the way for supporting col_groupby and groupby in the searchbar (addon web_graph)
bzr revid: ged@openerp.com-20131205100710-5owdxv0m971ymwbs
2013-12-05 11:07:10 +01:00
bth-openerp 63d66614c5 [IMP]Add attribute.
bzr revid: bth@tinyerp.com-20131205073431-rcmnwyph2fn0hzu8
2013-12-05 13:04:31 +05:30
bth-openerp ff5cc4d5d3 [IMP]Container added for tooltip.
bzr revid: bth@tinyerp.com-20131205064903-222sb09tcsy4x79u
2013-12-05 12:19:03 +05:30
bth-openerp 3fd24e1cb5 [IMP]Add tooltip options and add for search view drawer.
bzr revid: bth@tinyerp.com-20131205062007-cbo6wuuyg1buy0we
2013-12-05 11:50:07 +05:30
bth-openerp f33076bcd8 [IMP]Set margin-top.
bzr revid: bth@tinyerp.com-20131204122237-lsymfmuoiyg5z371
2013-12-04 17:52:37 +05:30
bth-openerp 5d874a4acb [IMP]Improved css and offset for tooltip.
bzr revid: bth@tinyerp.com-20131204115824-tbq4nys4c0d2c327
2013-12-04 17:28:24 +05:30
bth-openerp dfd38f311a [MERGE]With trunk.
bzr revid: bth@tinyerp.com-20131204052615-ne1dlo00a6d6brho
2013-12-04 10:56:15 +05:30
Antony Lesuisse d5aec362a9 [FIX] MockRequestCase
bzr revid: al@openerp.com-20131203214705-6tz63yqo9kk73ztx
2013-12-03 22:47:05 +01:00
Antony Lesuisse d699b9253a [MERGE] trunk
bzr revid: al@openerp.com-20131203192151-szbvhmanml37a9si
2013-12-03 20:21:51 +01:00
Antony Lesuisse 4c45774b6d [IMP] manual exception handling for non-json controllers
bzr revid: al@openerp.com-20131203191621-xu2350cw0u3izn3s
2013-12-03 20:16:21 +01:00
Christophe Simonis 7e8a5f7697 [FIX] web: openerpframework.js: do not use _.str
openerpframework.js can be used as standalone library (im_livechat uses
it this way) and do not depend on underscore.string.js

bzr revid: chs@openerp.com-20131203132937-ss7hx1gligzai5ch
2013-12-03 14:29:37 +01:00
bth-openerp 165d289384 [IMP]Removed tipsy library and add placement in tooltip.
bzr revid: bth@tinyerp.com-20131203125113-fuapp6wpvmcif1c5
2013-12-03 18:21:13 +05:30
Mohammed Shekha (OpenERP) b3391cd7fe [FIX]Web: Fixed the issue of immediate update of many2one field when many2one object name has been changed from follow button popup, reloaded the record from database forcefull to update dataaset, do not call form-blur when follow button is clicked, also do not evict record when record is still not created.
bzr revid: msh@openerp.com-20131203123856-gce4li1igo9k1mak
2013-12-03 18:08:56 +05:30
bth-openerp 062e96cc07 [IMP]Add bootstrap tooltip.
bzr revid: bth@tinyerp.com-20131203101317-bznca04cdosg0x3z
2013-12-03 15:43:17 +05:30
Christophe Matthieu bab3b3b8d4 [IMP] css small change for bootstrap
bzr revid: chm@openerp.com-20131202162839-9fa0jc7vhyxltje3
2013-12-02 17:28:39 +01:00
Antony Lesuisse da6fee2ac1 [FIX] session expired
bzr revid: al@openerp.com-20131202154206-6efsbeeg0mq7s67z
2013-12-02 16:42:06 +01:00
Christophe Matthieu 60a55f1077 [MERGE] sync with trunk (to rev 3893)
bzr revid: chm@openerp.com-20131202151847-4sf0ww58meql0e4z
2013-12-02 16:18:47 +01:00
Xavier Morel ef08d834f6 [IMP] add warning re. changed behavior of backbone which may be changed in the client
bzr revid: xmo@openerp.com-20131202151838-z26qnz0xpt3tigrd
2013-12-02 16:18:38 +01:00
Xavier Morel 0dff8277cc [FIX] breakage due to backbone change: in 1.0+, this.reset() will call this.add()
in 0.9, this.add would only be called if items were provided to
reset(), changed in commit cf6e862.

bzr revid: xmo@openerp.com-20131202151037-xxmvu5790p2jsxz6
2013-12-02 16:10:37 +01:00
jke-openerp fb9fed536c [Merge] Merge with trunk
bzr revid: jke@openerp.com-20131202142423-mpg3wg6dlr6wxxmp
2013-12-02 15:24:23 +01:00
Antony Lesuisse 753cb31804 [IMP] upgrade backbone to 1.1.0
bzr revid: al@openerp.com-20131202142240-ifh2rua2oiennfao
2013-12-02 15:22:40 +01:00
Antony Lesuisse 9b40c572ae [REM] gravatar support
bzr revid: al@openerp.com-20131202135414-kkm0wz06naitbp4y
2013-12-02 14:54:14 +01:00
Antony Lesuisse e057a64a02 [IMP] update fontawseome to 4.0.3
bzr revid: al@openerp.com-20131202133803-1muybwahwjo9e5sm
2013-12-02 14:38:03 +01:00
Antony Lesuisse d6c6f31231 [MERGE] boostrap3 manually merged
bzr revid: al@openerp.com-20131202131943-b01fb56u0qsgcs53
2013-12-02 14:19:43 +01:00
Launchpad Translations on behalf of openerp 9f04e0c76c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130050422-r8hhiot5r58eukys
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130051429-uepuma01yhw11md9
2013-11-30 05:14:29 +00:00
Fabien Meghazi f4c0fac4fb [ADD] added serialize_exception decorator
See server's trunk-website-al revision #5085

bzr revid: fme@openerp.com-20131128181016-2t8d0qcrmux9nkoe
2013-11-28 19:10:16 +01:00
Christophe Matthieu e468eeb9b3 [FIX] web_form: FieldMany2ManyBinaryMultiFiles error when rendering twice (with an onchange for e.g.)
bzr revid: chm@openerp.com-20131128134607-2fisdnoq0qgpvibx
2013-11-28 14:46:07 +01:00
jke-openerp 2a2c63481f [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131127175544-x83mqqo5uo87f75b
2013-11-27 18:55:44 +01:00
Xavier Morel fbb5ddce18 [FIX] MockRequestCase, broken when set_request was removed in server revid:fme@openerp.com-20131120192550-i9xzyqkufe3stnb3
bzr revid: xmo@openerp.com-20131127111614-n6xjqljzviy2i59m
2013-11-27 12:16:14 +01:00
Thibault Delavallée 727b188eac [IMP] form_view: statusbar widget: folded back as an option.
The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131127095037-me1cvl272ex1e6r9
2013-11-27 10:50:37 +01:00
Christophe Simonis 9f52ab382b [MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Christophe Simonis 162dd9ad17 [MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316-lbuxddprrgz1are3
bzr revid: chs@openerp.com-20131122131553-i22dj95bvofb7aeu
bzr revid: chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
2013-11-22 18:24:22 +01:00
Christophe Simonis 1be71fdae6 [REVERT] revert previous commit which:
1. is wrong
2. break runbot

bzr revid: chs@openerp.com-20131122170316-lbuxddprrgz1are3
2013-11-22 18:03:16 +01:00
Frédéric van der Essen 0a76694628 [IMP] webclient: Introducing SimpleIndexedDB, a key value wrapper around IndexedDB
bzr revid: fva@openerp.com-20131122140048-goaplzrx26jvcmmu
2013-11-22 15:00:48 +01:00
Frédéric van der Essen 5c080a1634 [IMP] webclient: Introducing the FullscreenWidget, enabling fullscreen behavior and fixed zoomlevels on mobile devices
bzr revid: fva@openerp.com-20131122135959-ezv9cmgwp2zfkt00
2013-11-22 14:59:59 +01:00
Christophe Simonis e555872646 [FIX] web: view list: ensure that the mutex of synchronized method `reload_content` is always released.
bzr revid: chs@openerp.com-20131122131037-sqxs1fdh4al32eh2
2013-11-22 14:10:37 +01:00
Launchpad Translations on behalf of openerp bdc5ae3291 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121052817-v5bocf8e1j6pbuby
2013-11-21 05:28:17 +00:00