Commit Graph

5516 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp fc8ca396d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055814-0xhzq55bhk2yalpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061855-up0d9p61pblz40xa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130625055818-kmfgjvq2jfrhd3zr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130626061858-aacxz9wf3f2e4b0v
2013-06-26 06:18:58 +00:00
Xavier Morel 11a0ece543 [FIX] evaluation context structures not being round-tripped through eval
JS objects are converted to py.object when passed in through the
evaluation context. py.object are not serializable by default (because
that doesn't really make sense), which breaks when the input is
intended as a dict and returned (e.g. o2m values, which are triples of
(int, int?, dict?)).

Intuitively, JS objects passed as part of the context should be mostly
JSON-ish and thus dicts, but that turns out not work work as some
addons use attribute accesses within contexts (e.g. parent.access in
account/account_invoice_view.xml)

=> Temporarily solve by converting raw js objects to an "attributed
dict" which acts as both a dict and an object and can be converted to
JSON.

Ideally, py.js should provide for a pluggable conversion, or should
use an attributed mapping internally. See issues 21 and 23.

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

bzr revid: xmo@openerp.com-20130624055929-3rtkgqrp4o87pvau
2013-06-24 07:59:29 +02:00
Launchpad Translations on behalf of openerp e2c795e297 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130622062509-09p9c2ue6lp31hfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130623055456-p4wd0c25eb7i07g1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130624052601-ewqft8e70ql5qs27
2013-06-24 05:26:01 +00:00
Denis Ledoux 1f6bf43079 [FIX]web: views.js & coresetup.js, ir_actions_report_xml and get_file special case for iOS devices, which do not allow iframe use the way we do it
bzr revid: dle@openerp.com-20130621124449-e3qyz7m7yfvhta1d
2013-06-21 14:44:49 +02:00
Launchpad Translations on behalf of openerp 30b55c6f28 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130620063516-l62hazz4b5zm9k6p
bzr revid: launchpad_translations_on_behalf_of_openerp-20130621060730-fbgecd0fqut0udm9
2013-06-21 06:07:30 +00:00
Xavier Morel a3b9994a3e [FIX] correctly escape labels in search view completion
lp bug: https://launchpad.net/bugs/1191699 fixed

bzr revid: xmo@openerp.com-20130618111059-v7tx4kpzv72c9pz0
2013-06-18 13:10:59 +02:00
Launchpad Translations on behalf of openerp 84ff96b759 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130614070438-ptd4opv50s2ctnxy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130615062100-f80s45b9z73glxhu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130617062118-1oe27crm1ubv65cr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130618065132-ftmkcuitm0j035tl
2013-06-18 06:51:32 +00:00
Christophe Simonis ce68573126 [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611145028-f98x6inytlr3ijjg
2013-06-11 16:50:28 +02:00
Christophe Simonis 36e113e6bd [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611110327-sipc2er6z1ch7leb
2013-06-11 13:03:27 +02:00
Launchpad Translations on behalf of openerp 75595cc55b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063100-w95zvev0e2wme31v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063242-nvli6wf9xoxol1i9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130611063247-ed0nk3aer2b28d41
2013-06-11 06:32:47 +00:00
Xavier Morel 1ef68b2806 [FIX] picking of username for session data directory in case of setuid
Try using geteuid() before getpass.getuser() so a system where
environment user and effective user (e.g. sudo, start-stop-daemon)
creates session-storage directory with a username matching the access
rights.

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

bzr revid: xmo@openerp.com-20130610092107-o4ym83e4ycz450un
2013-06-10 11:21:07 +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
Launchpad Translations on behalf of openerp 3a296f5386 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608070127-tu3wr0ejaojeuizk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061554-vunz3dsqv73j8io4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608074839-suk66wcjidodrzyu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061704-e1t9mv2alygf4g38
bzr revid: launchpad_translations_on_behalf_of_openerp-20130608075116-643xgspj93t8g1y9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130609061708-y08i6exqm5v36qg7
2013-06-09 06:17:08 +00:00
Olivier Dony cd6279b8fc [I18N] Synchronize translation templates with latest source code
bzr revid: odo@openerp.com-20130607194513-19an571lbpbbzlfz
2013-06-07 21:45:13 +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
Martin Trigaux aa0072b1b5 [MERGE] [FIX] export: allow excluding special virtual fields from exportable data
For example the virtual 'Access Rights' fields on
res.users cannot be browsed and cannot currently
by exported.

bzr revid: mat@openerp.com-20130607113400-wglfoknh8qe0hgsx
2013-06-07 13:34:00 +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
Olivier Dony 6901c4f981 [FIX] export: allow excluding special virtual fields from exportable data
For example the virtual "Access Rights" fields on
res.users cannot be browsed and cannot currently
by exported.

bzr revid: odo@openerp.com-20130607093044-y3bct44ralu8yf0o
2013-06-07 11:30:44 +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 22f268328c [MERGE] cleditor: on window resize blur event not triggered except firefox so due to which value disappears from the container.
bzr revid: chm@openerp.com-20130606144437-c9rccpsqjv13t3rw
2013-06-06 16:44:37 +02:00
Christophe Matthieu 7ad343636b [FIX] view_list: when we have more than 80 record in list and we create new record and switch the views like form->list->form gives traceback. Get if the index is over the number of visible records
bzr revid: chm@openerp.com-20130606142616-41xxepfzkdvyqu9m
2013-06-06 16:26:16 +02:00
Christophe Matthieu b151613f0d [MERGE] pager should be disappear when we create a new record from o2m/m2m popup.
bzr revid: chm@openerp.com-20130606121754-r9xa11ms6do2nrwh
2013-06-06 14:17:54 +02:00
Christophe Matthieu ef346d8b35 [FIX] min height of textarea field in non selected tabs.
bzr revid: chm@openerp.com-20130606120735-u79dqaubgq6zg7tu
2013-06-06 14:07:35 +02:00
Christophe Matthieu 89086e4451 [FIX] view list: some title not align with other.
bzr revid: chm@openerp.com-20130606104145-jezs2u9tr3xb3fmh
2013-06-06 12:41:45 +02:00
Christophe Matthieu 079b780384 [FIX] height of the many2many_tags field when the field is empty
bzr revid: chm@openerp.com-20130606102437-8j0ga41pwe8fogd0
2013-06-06 12:24:37 +02:00
Christophe Matthieu cf0fcaebc9 [MERGE] Onchange must be called for m2o when the popup view is opened an return changes (save button).
bzr revid: chm@openerp.com-20130606094739-3ydlncwv711txo41
2013-06-06 11:47:39 +02:00
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
Mohammed Shekha 22ba680c7e [FIX]Refixed the issue of oe_sessions_effectiveusername storage in temp, used geteuid which returns effective user id.
bzr revid: msh@openerp.com-20130530090814-6uf0hs5j0223w985
2013-05-30 14:38:14 +05:30
Launchpad Translations on behalf of openerp 3dc8f09253 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130529075839-8iy52gg0xn0hwag2
2013-05-29 07:58:39 +00: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
Olivier Dony 87d4e69a65 [MERGE] web doc: less confusing client action example, courtesy of Nhomar (Vauxoo)
bzr revid: odo@openerp.com-20130521145721-v9vz5e8n7127z9vy
2013-05-21 16:57:21 +02:00
Mohammed Shekha 0dc578fc9c [FIX]Fixed the issue of session storage directory created with wrong username when someone restart the server using sudo.
bzr revid: msh@openerp.com-20130521105206-8oka7n7t9z13uiwo
2013-05-21 16:22:06 +05:30
Launchpad Translations on behalf of openerp c8136cee66 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130519061301-tarop35lwadoymxh
2013-05-19 06:13:01 +00:00
Nhomar Hernandez f0ae319dec [IMP] When we go step by step, change the Case for a variable in a diff
Is a little confufing, in our case 100% of time our team had problems confusing Action with action
Obtaining an error with prototype because incorrect declaration.

IMHO this is a No-Brain merge, but i explain well to be sure you understand my point.

bzr revid: nhomar@gmail.com-20130517205608-wykuz0oxjccf6021
2013-05-17 16:26:08 -04:30