Commit Graph

4797 Commits

Author SHA1 Message Date
bth-openerp 19ae69201c [IMP]Add parent-id attribute to get childrens of that parentid and show selected parent's childrens rather than else.
lp bug: https://launchpad.net/bugs/1183156 fixed

bzr revid: bth@tinyerp.com-20130705121036-0pn454ts3z9wkwxr
2013-07-05 17:40:36 +05:30
Mohammed Shekha 2e3ec5e2e9 [FIX]Fixed the issue of last element of grouped row removed, due to which grouped total information also got lost.
bzr revid: msh@openerp.com-20130703131223-bwu6hl8v5y5sjt5w
2013-07-03 18:42:23 +05:30
Martin Trigaux 7e4776f2f2 [FIX] pyeval: be more fault tolerant to avoid wrap null values
bzr revid: mat@openerp.com-20130702141600-4s7oan9yidjrlmcc
2013-07-02 16:16:00 +02:00
Christophe Simonis d5b4996aab [FIX] web: only open reports in new window on iOS devices
bzr revid: chs@openerp.com-20130702093932-r0nl3b02fludgu9s
2013-07-02 11:39:32 +02:00
Christophe Matthieu bb92e7daf0 [FIX] checkbox position for boolean field in list editable. Remove padding on the field for a good resizing and position and add margin on input
bzr revid: chm@openerp.com-20130627091705-ry0689d3dg4izhn4
2013-06-27 11:17:05 +02: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
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
Mohammed Shekha 7a9ca47e21 [FIX]Fixed the issue of save selected fields list in export.
bzr revid: msh@openerp.com-20130618120154-o0cj17snpn00mh38
2013-06-18 17:31:54 +05:30
Xavier Morel a3b9994a3e [FIX] correctly escape labels in search view completion
lp bug: https://launchpad.net/bugs/1191699 fixed

bzr revid: xmo@openerp.com-20130618111059-v7tx4kpzv72c9pz0
2013-06-18 13:10:59 +02:00
Xavier Morel aa416a9951 [IMP] use introduced variable across function
bzr revid: xmo@openerp.com-20130610071036-8w771r4urq5j31zz
2013-06-10 09:10:36 +02:00
Xavier Morel 48d28c8726 [FIX] display issues of objects with a field called "length"
_.each will interpret these as arrays and take incorrect/nonsensical
code paths.

bzr revid: xmo@openerp.com-20130610070527-5u6uirvfkygsp57d
2013-06-10 09:05:27 +02:00
Dhruti Shastri (OpenERP) e8643108ca [FIX]:Firefox layout problem with quantities and UoM in BoM (Case : 590181)
bzr revid: dhs@tinyerp.com-20130610065555-xuq2n0d3xq0sdd0f
2013-06-10 12:25:55 +05:30
dle@openerp.com ac63b66448 [ADD]web: chrome.js add My OpenERP.com account
bzr revid: dle@openerp.com-20130607163702-4q2mr9y0cztxqflo
2013-06-07 18:37:02 +02:00
Frédéric van der Essen 63d79a1452 [FIX] css: removed the forced left alignment of dropdown menu on the calling element, as it prevented correct display of the top right drop down menu when it's content was larger than the user name
bzr revid: fva@openerp.com-20130607160307-52z7b4ykb36a2hpr
2013-06-07 18:03:07 +02:00
Xavier Morel 1ea609ba65 [FIX] bugs discovered by failing onwrite test case
Following xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw:

* add_ids should not add ids which are already in the dataset, this
  leads to duplicates which the web client does not overly like

* methods which add or remove records should not manipulate
  dataset.ids as well as that's now automatic (on_write feature)

* record add should only insert the id in the dataset on non-false ids
  (e.g. list edition uses "pending" record with false id during
  creation, then sets the id it got from create() call)

bzr revid: xmo@openerp.com-20130607152326-2pja1kuwo0ropfuw
2013-06-07 17:23:26 +02:00
Christophe Matthieu aa423f4cb1 [FIX] M2m tags field wrong height count when field in nonactive notebook page at load time.
bzr revid: chm@openerp.com-20130607151339-t9n5iv2vap0kvimw
2013-06-07 17:13:39 +02:00
Christophe Matthieu 27db64f7a0 [FIX] duplicate tag when press tab key two time. Bug 1154057
bzr revid: chm@openerp.com-20130607132203-rcvx6wu820o03tiu
2013-06-07 15:22:03 +02:00
Xavier Morel 8d0d43b40b [IMP] correctly reinsert ids into dataset when moving them around in the list view
bzr revid: xmo@openerp.com-20130607120355-x3poxy2ar2bpqqvw
2013-06-07 14:03:55 +02:00
Christophe Matthieu a941c199c1 [FIX] translation button or icon not displayed with html widget. Bug 1179505
bzr revid: chm@openerp.com-20130607101517-zilu97d4akhho72v
2013-06-07 12:15:17 +02:00
Christophe Matthieu 56e4be5d1d [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607083901-f24fjvo0vi696ll3
2013-06-07 10:39:01 +02:00
Christophe Matthieu 7ad343636b [FIX] view_list: when we have more than 80 record in list and we create new record and switch the views like form->list->form gives traceback. Get if the index is over the number of visible records
bzr revid: chm@openerp.com-20130606142616-41xxepfzkdvyqu9m
2013-06-06 16:26:16 +02:00
Christophe Matthieu b151613f0d [MERGE] pager should be disappear when we create a new record from o2m/m2m popup.
bzr revid: chm@openerp.com-20130606121754-r9xa11ms6do2nrwh
2013-06-06 14:17:54 +02:00
Christophe Matthieu ef346d8b35 [FIX] min height of textarea field in non selected tabs.
bzr revid: chm@openerp.com-20130606120735-u79dqaubgq6zg7tu
2013-06-06 14:07:35 +02:00
Christophe Matthieu 89086e4451 [FIX] view list: some title not align with other.
bzr revid: chm@openerp.com-20130606104145-jezs2u9tr3xb3fmh
2013-06-06 12:41:45 +02:00
Christophe Matthieu 079b780384 [FIX] height of the many2many_tags field when the field is empty
bzr revid: chm@openerp.com-20130606102437-8j0ga41pwe8fogd0
2013-06-06 12:24:37 +02:00
Christophe Matthieu cf0fcaebc9 [MERGE] Onchange must be called for m2o when the popup view is opened an return changes (save button).
bzr revid: chm@openerp.com-20130606094739-3ydlncwv711txo41
2013-06-06 11:47:39 +02:00
Mohammed Shekha 2b65ba1f64 [FIX]Refixed the issue of resequence, added id at specified index in dataset.
bzr revid: msh@openerp.com-20130606065630-r536yqlcq0wihs8l
2013-06-06 12:26:30 +05:30
Xavier Morel d72773015e [IMP] close search autocompletion list while completing
Looks slightly worse as results don't seamlessly update in-place, but
limits/avoids the risk of quick-typing, hitting [Return] and getting
an incomplete/incorrect query because the completion didn't catch up
(e.g. slow network) and [Return] validated the previously retrieved
completion.

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

bzr revid: xmo@openerp.com-20130605144949-jbzs2hppr6c1djg3
2013-06-05 16:49:49 +02:00
Xavier Morel 672933ebfe [IMP] PNG recompression
bzr revid: xmo@openerp.com-20130605124327-poy97bvw73sdm1o6
2013-06-05 14:43:27 +02:00
Xavier Morel a0fbd674c9 [FIX] search view layout in case of very long facet value
* don't fix facet height so the facet content correctly "grows" all of
  the facet and thus the surrounding view

* hard-code the heights of the view-level controls (clear and open
  drawer) to avoid both overly large hitbox and their moving outside
  of the top-right corner

* add some margins on the facets container to avoid overlaps between
  top-level search controls and facet activable elements

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

bzr revid: xmo@openerp.com-20130605105240-h9o03ol7l8dti1yn
2013-06-05 12:52:40 +02:00
Xavier Morel bdcb553128 [FIX] MSIE9 issue where complete.previous would be '' instead of undefined
bzr revid: xmo@openerp.com-20130605105227-6e5a6ckxshk8uwkg
2013-06-05 12:52:27 +02:00
Xavier Morel 431e0761c0 [FIX] assertion errors in search view when selecting all of a search input's content
Force normalization of the input's root node, Firefox tends to spawn
multiple text node children then create selection ranges over all of
them and worse.

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

bzr revid: xmo@openerp.com-20130604150551-0m0b48aifg9favz8
2013-06-04 17:05:51 +02:00
Xavier Morel aaa0cc0b82 [FIX] triggering of dataset_changed events to correctly happen *after* the operation
also added it to DataSet#create calls where it seems to be missing

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

bzr revid: xmo@openerp.com-20130530131115-tzap50w2ydnqmxit
2013-05-30 15:11:15 +02:00
Xavier Morel c0807b34b1 [IMP] export view: use events hash
bzr revid: xmo@openerp.com-20130530100420-8zsa03ssom8ox2g4
2013-05-30 12:04:20 +02:00
Xavier Morel 398f570e69 [IMP] code cleanup, better use of jquery
bzr revid: xmo@openerp.com-20130530095827-ondsza16ze29neel
2013-05-30 11:58:27 +02:00
Xavier Morel 03b80e154e [IMP] option to only export selected records
lp bug: https://launchpad.net/bugs/900385 fixed

bzr revid: xmo@openerp.com-20130530094525-1ub1yhdqsag6xxzq
2013-05-30 11:45:25 +02:00
Xavier Morel c063ef4109 [FIX] linting warnings in export
bzr revid: xmo@openerp.com-20130530090823-7l75tasejwt5ywb9
2013-05-30 11:08:23 +02:00
niv-openerp 97110c0a48 [FIX] problem in database manager when db list is desactivated
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130527122415-pk8i2uqfrgyiac83
2013-05-27 14:24:15 +02:00
Vidhin Mehta 9182621004 [IMP]
bzr revid: vme@tinyerp.com-20130517110150-c7wm67kfnp1p2lkd
2013-05-17 16:31:50 +05:30
Paramjit Singh Sahota 3a7a4f7d5e [IMP] Removed 'cursor on '.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li' and then added 'cursor:default' on '.openerp .oe_searchview .oe_searchview_drawer'.
bzr revid: psa@tinyerp.com-20130517060133-zw7zpuvxhc459s5e
2013-05-17 11:31:33 +05:30
Paramjit Singh Sahota a031c86d68 [MERGE] Merged lp:openerp-web/7.0
bzr revid: bth@tinyerp.com-20130417073823-qh3hzbj2j70kt6c6
bzr revid: psa@tinyerp.com-20130517053130-09k6t1os2x6g8i0j
2013-05-17 11:01:30 +05:30
Vidhin Mehta d6024fa36b [FIX]add callback function to fetch_lang and in *drop db* which is not created,after drop it shows 'db succesfully droped'.
bzr revid: vme@tinyerp.com-20130516170403-7oil1k6em99a1hmp
2013-05-16 22:34:03 +05:30
Xavier Morel 4f4783537a [FIX] missing class leading to broken list layout in o2m
bzr revid: xmo@openerp.com-20130516144219-xqab9eio006r43rb
2013-05-16 16:42:19 +02:00
Xavier Morel 7f6ee29de8 [FIX] exclude non-searchable function fields from the advanced search's list
bzr revid: xmo@openerp.com-20130516110949-o79aw68izo8poivu
2013-05-16 13:09:49 +02:00
Xavier Morel 4bb3995680 [IMP] replace literal values by symbolic ones for node types dispatching
bzr revid: xmo@openerp.com-20130516110335-dk803tjn1qpqd0ro
2013-05-16 13:03:35 +02:00
Xavier Morel 5cf564e4e6 [FIX] handling of multiline strings during qweb translation
Javascript regexps don't provide a DOTALL flag (to make `.` match
newlines) so have to replace `.` by `[\s\S]` hack, as *that* will
match newlines as well as all other characters.

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

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

bzr revid: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97
2013-05-03 12:22:48 +02:00
Thibault Delavallée 1088554b40 [REV] Removed code changed not related to this branch.
bzr revid: tde@openerp.com-20130426075650-jxzw3h52idj2zp7y
2013-04-26 09:56:50 +02:00
Thibault Delavallée 5cafebd48a [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143838-cl9k0fpml5r0q6bi
bzr revid: tde@openerp.com-20130426074530-16h0doe2cju6xkug
2013-04-26 09:45:30 +02:00
Vidhin Mehta 2d07136d6f [FIX]Remove extra duplicate method,show valid error msg when invalid db to drop, do_render method call after resolving fetch_langs and call always after fetch_db.
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: vme@tinyerp.com-20130423104647-8xvrthahdzk42r08
2013-04-23 16:16:47 +05:30
Xavier Morel d4977dd3bb [FIX] missing translation mark in error message
lp bug: https://launchpad.net/bugs/1125159 fixed

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

Also includes corresponding tests.

bzr revid: odo@openerp.com-20130418112001-388op1t8ugr0rhfn
2013-04-18 13:20:01 +02:00
Christophe Matthieu 027bf19a7a [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133438-1g8h8hezbn1vtjj1
2013-04-17 15:34:38 +02:00
Xavier Morel c19bc50648 [FIX] ids of deleted records living in shared dataset when clicking on list row
When a record is activated, the listview will do some jiggling around
assigning the ids of internal dataset to the one shared between all
views, this is mostly for the case where one switches from a "grouped"
list view, so the form view only cycles on the "current" group.

Problem is, that internal dataset is not correctly synchronized with
the shared one, so when the id is removed from the shared dataset it
is *not* removed from the internal one(s), and when the switch is made
the ids from the internal dataset are set on the shared one and
reintroduce the deleted record, leading to the form view's incorrect
state.

Fix the issue by updating the dataset's ids list when a record is
deleted from the records tree.

Also extracted some stuff from DataSetSearch's unlink callback so it
can be overridden and is more stable across datasets.

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

bzr revid: xmo@openerp.com-20130416152000-06dbwkgdb8zlf9pc
2013-04-16 17:20:00 +02:00
Xavier Morel a455d6c2b2 [FIX] correctly handle group_by_no_leaf when no grouping applied
If there are no grouping field specified *but* group_by_no_leaf is
specified, should call read_group with no grouping fields: will
generate a single group (which can not be opened) for all of the
model.

Necessary for analysis views since individual "records" make no sense.

bzr revid: xmo@openerp.com-20130416092344-2pqog8f7xprn6hsh
2013-04-16 11:23:44 +02:00
Fabien Meghazi 428fdca40a [FIX] FormRenderingEngine: allow class propagation to group cells
bzr revid: fme@openerp.com-20130411163238-qy377cdnn9enax34
2013-04-11 18:32:38 +02:00
Anael Closson 543c6012da [FIX] Multiline texts could not be matched for tranlations
bzr revid: acl@openerp.com-20130411162035-ij47tyulejkqqz4t
2013-04-11 18:20:35 +02:00
Frédéric van der Essen 174ef7b490 [MERGE] adding a rounding method that is compliant with the server side rounding method
bzr revid: fva@openerp.com-20130409154129-gul9hkn0p4nt24md
2013-04-09 17:41:29 +02:00
Frédéric van der Essen a5e4d757a1 [FIX] add a correct rounding algorithm to be able to duplicate server-side financial computations
lp bug: https://launchpad.net/bugs/1157761 fixed

bzr revid: fva@openerp.com-20130409144414-nqnmkny5cxrmyru1
2013-04-09 16:44:14 +02:00
Fabien Meghazi 905d13671b [FIX] Do not autofocus Notebook pages by default
bzr revid: fme@openerp.com-20130409122852-f4ikugl83otx8423
2013-04-09 14:28:52 +02:00
Fabien Meghazi 30cce00296 [FIX] Date[time] widget width issues on OSX
bzr revid: fme@openerp.com-20130404102306-hrinhnldt5dxqcy7
2013-04-04 12:23:06 +02:00
Fabien Meghazi 8a20760fc8 [FIX] DataSet#size() problem + FormView#on_button_delete() shall pop breadcrumb on empty dataset
bzr revid: fme@openerp.com-20130404101459-m9q90e32qwf068lw
2013-04-04 12:14:59 +02:00
Christophe Matthieu f3ce4dedf3 [FIX] view_form: Fixed the issue of attachment was not added in any other language, because action URL was getting translated.
bzr revid: chm@openerp.com-20130402144039-y0xoaijds4ipw7g0
2013-04-02 16:40:39 +02:00
Fabien Meghazi cea7a7a0ab [FIX] m2o does not use @alive()
lp bug: https://launchpad.net/bugs/1160192 fixed

bzr revid: fme@openerp.com-20130402133952-xz2qaoygg83ks3tx
2013-04-02 15:39:52 +02:00
Mohammed Shekha b5793bc85b [FIX]Fixed the issue of file input widget which is not working in firefox and IE.
bzr revid: msh@openerp.com-20130401053500-q8tsnnr59u2aqawt
2013-04-01 11:05:00 +05:30
Darshan Kalola (OpenERP Trainee) 6073d6b642 [FIX]Bad view O2M with attribute delete
lp bug: https://launchpad.net/bugs/1126027 fixed

bzr revid: darshankalola@gmail.com-20130329122741-pqj62e06oivq5cjs
2013-03-29 17:57:41 +05:30
Dharti Ratani (Open ERP) ec1c8323ef [MERGE]Merged with 7.0
bzr revid: dhr@tinyerp.com-20130329084854-77byxjrf7x4pf58z
2013-03-29 14:18:54 +05:30
Dharti Ratani (Open ERP) 0e664c9e93 [FIX]Fix the issue of editing inline many2one values doesn't show up with field name legth
bzr revid: dhr@tinyerp.com-20130329084528-a3ppzy7paww97yc7
2013-03-29 14:15:28 +05:30
Fabien Meghazi c94c81c8ac [FIX] Remove dirty flag on save
lp bug: https://launchpad.net/bugs/1099380 fixed

bzr revid: fme@openerp.com-20130328210718-85lemijdjc79hhea
2013-03-28 22:07:18 +01:00
Olivier Dony 35d61bbd8b [FIX] web search: correct previous fix to properly handle searching for 0 on number fields
Also removed useless HTML escaping and added basic tests.

bzr revid: odo@openerp.com-20130328153502-v71q2m60wh37ganq
2013-03-28 16:35:02 +01:00
Olivier Dony 300d5be0e6 [FIX] web: int/float fields were not offering auto-completion in search views, making them un-searchable except via advanced search
Added the missing complete() function and removed the incorrect
value_from() override that seemed to be a leftover remnant
of the 6.1 search field implementation of get_value(), wrongly
renamed for 7.0.

bzr revid: odo@openerp.com-20130328120337-lao4o9i0owsbpysi
2013-03-28 13:03:37 +01:00
chirag patel 4f8f192df0 [FIX] Fixed autocomplete of search view hide behind overlay.
bzr revid: cpa@tinyerp.com-20130328063346-1aib1n3on9pdr81u
2013-03-28 12:03:46 +05:30
bth 876c790077 [FIX] Put arrow on or.
bzr revid: bth@bth-laptop-20130326094432-rq3rnxw60r6e00bv
2013-03-26 15:14:32 +05:30
bth 3a971d10a6 [MERGE] Merge lp:openerp-web/7.0.
bzr revid: bth@bth-laptop-20130326093643-746n0kzeu3nlwfe2
2013-03-26 15:06:43 +05:30
niv-openerp ab154e8cbc [FIX] small code problem in set defaults feature
lp bug: https://launchpad.net/bugs/1112232 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322163935-557zk749eiuswpcg
2013-03-22 17:39:35 +01:00
niv-openerp 13863aaa99 [FIX] deferred problems when clicking too quickly on some menu items
lp bug: https://launchpad.net/bugs/1100280 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322162310-135hd0hoak8k5oq6
2013-03-22 17:23:10 +01:00
Xavier Morel 03330ea230 [FIX] minor presentational offset issue
missed mis-handling of oe_selected in xmo@openerp.com-20130321155123-211iht7c6zme712e

bzr revid: xmo@openerp.com-20130322103606-60ayhrsn5gmgyu2h
2013-03-22 11:36:06 +01:00
dle@openerp.com 6311e080ac [FIX]testing.js: replace testing.case by testing['case'] for compatibility (IOS < 5, IE8)
bzr revid: dle@openerp.com-20130322101606-u8v8lyh59r3qnnk1
2013-03-22 11:16:06 +01:00
Fabien Meghazi 2b40c8ba9e [FIX] Fix FormFields#focus()
The focus() of AbstractFormField should return false if field
is not focusable otherwise it breaks FormView's#autofocus()

Also added checks of existance of the element to focus.
Those errors makes it harder to find other bugs

bzr revid: fme@openerp.com-20130321220636-1pja2ahsdstyl8kz
2013-03-21 23:06:36 +01:00
Xavier Morel 839ceca3e4 [FIX] visible text in Chrome on Linux after applying text-to-icon
@include text-to-icon makes the text invisible (and adds an icon), but
some platform apparently don't apply the text's transparency (or
visibility) to its shadow, leading to the invisible text's shadow
still being noticeably visible (an interesting literary idea, an
"invisible" man who still casts a shadow?) as if the text had not been
erased. Furthermore, combined with the 1px font size it made the text
look like some sort of screen smudge or glitch.

Fix by erasing the text-shadow as well as the text.

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

bzr revid: xmo@openerp.com-20130321164741-iakau7g1kfq2mqu4
2013-03-21 17:47:41 +01:00
Xavier Morel 3c5d38918b [FIX] filter preceded by an invisible filter in the same group
On click on a filter in the drawer, FilterGroup would just match the
offset of the filter in the group's DOM with an index in the internal
#filters array. 

This worked until invisible fields, and then again only for filters
*preceded* by an invisible sibling in the same group: invisible
filters are not rendered in the DOM, so the indexes would get out of
sync.

Fix by using explicit indexes stored in a filter's @data-index and
using that to get the filter object/node.

An alternative fix (but hackier I think): instead of not rendering
invisible filters, render them with display: none. Remains an option
in the future if needed...

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

bzr revid: xmo@openerp.com-20130321155123-211iht7c6zme712e
2013-03-21 16:51:23 +01:00
Fabien Meghazi f4a98e143b [MERGE] Date Picker is not translated into local language
lp bug: https://launchpad.net/bugs/1101072 fixed

bzr revid: fme@openerp.com-20130321115330-cz7gk7il6hkvntw9
2013-03-21 12:53:30 +01:00
Olivier Dony 57ca8fb11a [FIX] base.xml: improve backwards compatibility of SearchView.filters template to resolve JS errors on OpenERP Apps where 2 different versions of the web client frameworm can be mixed
The incompatible change was introduced at revision
 rev. 3803 revid:xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1.

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

bzr revid: odo@openerp.com-20130321112020-l9fwle08s37z4oqi
2013-03-21 12:20:20 +01:00
Fabien Meghazi c20977eed8 [FIX] Form binary fields 'Select' and 'Save as' buttons does not work under IE9
lp bug: https://launchpad.net/bugs/1092869 fixed

bzr revid: fme@openerp.com-20130321103407-nh0ncw0vrqba7zfm
2013-03-21 11:34:07 +01:00
Christophe Simonis 8fd08f900f [FIX] web: Fix old versions of Webkit (such as ones used on iOS < 6 or PhantomJS <= 1.7)
which does not have Function.prototype.bind function

bzr revid: chs@openerp.com-20130320143652-xqglvte5kwvtwl5i
2013-03-20 15:36:52 +01:00
Paramjit Singh Sahota 3d545a4530 [IMP] Set position, width and top for hover on 'or' in Advance search to inhibits the excution of CURSOR on hover.
bzr revid: psa@tinyerp.com-20130320103207-6vbrf4dqnwo2s1u8
2013-03-20 16:02:07 +05:30
Paramjit Singh Sahota 6c8be94ab7 [IMP] Set cursor on 'or' in Advance search.
bzr revid: psa@tinyerp.com-20130320101528-0i90ne0dzqr5adgc
2013-03-20 15:45:28 +05:30
Fabien Meghazi d2076aece3 [FIX] webclient returns to database manager after 1st database creation
lp bug: https://launchpad.net/bugs/1151767 fixed

bzr revid: fme@openerp.com-20130319154345-9xal244vuehl9vbw
2013-03-19 16:43:45 +01:00
niv-openerp c55de6996f [FIX] small problem with m2o, does not uses context when opening them in read-only mode
bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-19 11:27:19 +01:00
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
2013-03-18 18:45:03 +01:00
Olivier Dony 662f4066f8 [FIX] db creation: change master password field back to type=password
This is not only dangerous but also
completely inconsistent with the other
db management screens. It also represents
little improvement in terms of usability
for first-time users, since the password
is now mentioned on the comment just above
the field.

bzr revid: odo@openerp.com-20130318155618-z9s2izahnv1j2no6
2013-03-18 16:56:18 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00
Antony Lesuisse 4f6e61a05e [MERGE] base.sass infobox and url text attribute
bzr revid: al@openerp.com-20130314222838-xjf3p76o1n1u2y93
2013-03-14 23:28:38 +01:00
Fabien Meghazi ac64a4fcb8 [IMP] Improved box_info box_warning css
bzr revid: fme@openerp.com-20130314222616-gz7f0zpnpz0skq88
2013-03-14 23:26:16 +01:00
Christophe Simonis ddd252b5d1 [FIX] EmbeddedClient.do_action() forward all arguments
bzr revid: chs@openerp.com-20130314144503-e5ewicf13er2clh8
2013-03-14 15:45:03 +01:00
Christophe Simonis 089bec0d9a [MERGE] [ADD] `hide_breadcrumb` option
bzr revid: chs@openerp.com-20130314144416-v3eb8czyr44qiub8
2013-03-14 15:44:16 +01:00
niv-openerp 3d53abcc8e [FIX] corrected small problem that made appear "false" in empty field text
bzr revid: nicolas.vanhoren@openerp.com-20130314135141-lnifcsa405qzjp0j
2013-03-14 14:51:41 +01:00
Fabien Meghazi ae24f3fb71 [FIX] Do not restraint info box width
bzr revid: fme@openerp.com-20130314115055-7vv9nw51hf284lz3
2013-03-14 12:50:55 +01:00
Fabien Meghazi 1bc43748ee [ADD] `hide_breadcrumb` option
bzr revid: fme@openerp.com-20130314105213-13dtn26c773qsu7a
2013-03-14 11:52:13 +01:00
Quentin (OpenERP) d4181a6625 [MERGE] view_form.js: fixing the statusbar. if there is no domain defined, the statusbar mustn't try to concat with ('|',('id','=',...)) because it is creating a syntactically invalid domain
bzr revid: qdp-launchpad@openerp.com-20130314103233-icm1b664xrisy66k
2013-03-14 11:32:33 +01:00
Fabien Meghazi f6f5b20d96 [FIX] missing oe_page_only class
bzr revid: fme@openerp.com-20130313162032-5jhh4nhk16z7qh1n
2013-03-13 17:20:32 +01:00
Fabien Meghazi bed679f1c8 [ADD] Added form view infobox styling
bzr revid: fme@openerp.com-20130313154429-yjrbj0oklt7hd0qw
2013-03-13 16:44:29 +01:00
Fabien Meghazi fe758caa05 [ADD] Added @text attribute to fields@widget=url
bzr revid: fme@openerp.com-20130313154345-6y8s7k5s0vyc3cc8
2013-03-13 16:43:45 +01:00
Cedric Snauwaert ca7aa3ef8d [FIX]view_form : fix invalid domain in widget statusbar when using m2o fields
bzr revid: csn@openerp.com-20130313142554-7k6xgpeq20s8sqru
2013-03-13 15:25:54 +01:00
Thibault Delavallée 408144864b [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130313101756-r0b41kr2c4sxzfm8
2013-03-13 11:17:56 +01:00
Mohammed Shekha 9fea2be12d [FIX]Fixed the issue of attachment was not added in any other language, because action URL was getting translated.
bzr revid: msh@openerp.com-20130313061416-rmauiz7bqe2omecx
2013-03-13 11:44:16 +05:30
Mohammed Shekha 8cb9a216f0 [FIX]Refixed the issue of reload whole record from one2many.
bzr revid: msh@openerp.com-20130313051042-4nqv5abjf9odi2bh
2013-03-13 10:40:42 +05:30
Antony Lesuisse cb9106d99f [FIX] IE9 db creation, better monodb
bzr revid: al@openerp.com-20130312230344-uasy5dx2e8n5ytlr
2013-03-13 00:03:44 +01:00
niv-openerp e35e199064 [FIX] small error, probably due to refactoring, that disabled feature of form buttons.
The feature was to disable button automatically buttons in unsaved o2m to avoid errors.

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

bzr revid: nicolas.vanhoren@openerp.com-20130312170515-qt74ceqm50uscupu
2013-03-12 18:05:15 +01:00
Mohammed Shekha 1289a23782 [FIX]Fixed the issue of reload whole record when new record is created for one2many from wizard, so by default only that record is reloaded but as wizard creates new record in one2many so we have reload whole record so that one2many reloaded with new record, we already did this with setting options=reload_on_button to true
bzr revid: msh@openerp.com-20130312134748-kpmf0dxz9iyji1v3
2013-03-12 19:17:48 +05:30
Xavier Morel 18eb55643e [FIX] hide form autofocus trying to focus destroyed fields under the rug
lp bug: https://launchpad.net/bugs/1153437 fixed

bzr revid: xmo@openerp.com-20130312132144-o5enjfemuk5zxilz
2013-03-12 14:21:44 +01:00
Xavier Morel ee46eb8015 [FIX] blurring propagation on m2m tag fields
lp bug: https://launchpad.net/bugs/1153492 fixed

bzr revid: xmo@openerp.com-20130312131412-mtcl932of1466n2j
2013-03-12 14:14:12 +01:00
Xavier Morel 3890039735 [FIX] correctly check for o2m listview validity
if an edition has been canceled, don't check the form's content as it
does not matter.

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

bzr revid: xmo@openerp.com-20130312112244-zmt34jydpzge6yof
2013-03-12 12:22:44 +01:00
Xavier Morel 2dff34a18f [FIX] array extra comma
bzr revid: xmo@openerp.com-20130312110520-aym6nspf6mlcvsqe
2013-03-12 12:05:20 +01:00
Olivier Dony 0c440aa941 [FIX] web: typo in logo_edit function introduced at revision 3789
rev 3789 = nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz

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

bzr revid: odo@openerp.com-20130312104429-wnegqndcagas2c9f
2013-03-12 11:44:29 +01:00
Xavier Morel 1899141b38 [FIX] groupby groups fetching of their ancestor searchview
Implementation of invisibles in search view altered handling of search
inputs: their parent may not be the searchview anymore (usually is a
instance.web.search.Group). GroupbyGroup assumed parent was view and
was actually unused until
xmo@openerp.com-20130307124222-1ypzfopbktxmad4z, which exposed the
incorrect underlying assumption.

Make GroupbyGroup access its view when it wants its view, not its
parent.

bzr revid: xmo@openerp.com-20130312092824-z7sh4h3ityo4g00v
2013-03-12 10:28:24 +01:00
Antony Lesuisse 1d3c577e33 [IMP] dbmanager create screen
bzr revid: al@openerp.com-20130311212353-9f591b5y0h216l70
2013-03-11 22:23:53 +01:00
Thibault Delavallée 459fce0150 [CLEAN] Removed unnecessary quotes. As Teal'c said: Indeed.
bzr revid: tde@openerp.com-20130311140838-g9pvncskvuibz1wm
2013-03-11 15:08:38 +01:00
Thibault Delavallée 16a89075e0 [FIX] FieldTextHtml: fixed quote error in parameter of cleditor, leading to font-family not taken into account.
bzr revid: tde@openerp.com-20130308131452-8mmmpc6was3lfse8
2013-03-08 14:14:52 +01:00
Thibault Delavallée 0d92909edd [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130308125541-z19wqiqqxx6mertr
2013-03-08 13:55:41 +01:00
niv-openerp 3f40cad548 [FIX] problem when o2m and readonly fields, now readonly fields are saved in buffered dataset too
bzr revid: nicolas.vanhoren@openerp.com-20130308104336-u2gslznv24h8n88l
2013-03-08 11:43:36 +01:00
niv-openerp 2328040c3a added readonly fields to buffered dataset cache
bzr revid: nicolas.vanhoren@openerp.com-20130308104050-uqt5qi2n9dmcd2hb
2013-03-08 11:40:50 +01:00
Thibault Delavallée a82042a6b1 [FIX] uploader widget: use the field string instead of an hardcoded 'File'.
bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
2013-03-08 10:25:32 +01:00
Fabien Meghazi b18bca920b [ADD] Restore timestamp in Reload
bzr revid: fme@openerp.com-20130307173612-nso4w37o9ejtu7w4
2013-03-07 18:36:12 +01:00
Fabien Meghazi 369137c7a3 [FIX] Use new db parameter after database creation's reload
bzr revid: fme@openerp.com-20130307144815-3v2ocglf6p83gyvo
2013-03-07 15:48:15 +01:00
Xavier Morel 617c03a19c [FIX] broken inference of groupby groups in search view filters
Before the valpocalypse, filter contexts were "literal" (parsed
objects) when reaching the search view, and `.attrs.context.group_by`
would return the right thing (namely the group_by attribute of the
context object).

After the valpocalypse, contexts & domains on view fields (and
filters) are not evaluated on the Python side anymore and reach view
objects as strings, the access chain above thus always returns a falsy
value (undefined) as strings don't have a .group_by.

Fix FilterGroup to correctly parse filter's @context before trying to
see if it has a group_by.

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

bzr revid: xmo@openerp.com-20130307124222-1ypzfopbktxmad4z
2013-03-07 13:42:22 +01:00
niv-openerp 527e17033c [FIX] typo in previous commit
bzr revid: nicolas.vanhoren@openerp.com-20130306162436-nuitgum452gz6bq9
2013-03-06 17:24:36 +01:00
niv-openerp 13ec67e478 [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode
lp bug: https://launchpad.net/bugs/1149640 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130306151306-1qwv04bvw50z81z9
2013-03-06 16:13:06 +01:00
Xavier Morel 32d90f6014 [FIX] cleanup m2o field events when reloading m2o fields
The big issue was the hooking on the closest ui-dialog's scroll event:
if an m2o in a dialog (e.g. wizard-type situations) toggled state from
editable to readonly (workflow action of some sort), the event hook
would remain, and call .$input.autocomplete("widget") which would blow
up because the autocompletion widget hasn't been re-initialized.

Take care to fully unbind all events during the reload process to
avoid this issue (and potentially other such as duplicate bindings and
the like).

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

bzr revid: xmo@openerp.com-20130306145527-sssv7ocfvqxgv896
2013-03-06 15:55:27 +01:00
Fabien Meghazi 2084065daa [FIX] xml2str: Do not keep html void tags opened
bzr revid: fme@openerp.com-20130306144024-gjuyq6fsrvol12x2
2013-03-06 15:40:24 +01:00
Xavier Morel 71ec2c9439 [FIX] search view field visible through dropdown menu
xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l added zIndex on wrong
element of search view (view itself instead of just the autocompletion
drop-down) leading to the search view text field being visible over
the "more" section of the menu.

Move zIndex setting to the right place (on the missing
`autocomplete('widget')` indirection, and on open as jquery ui
autocomplete apparently decides to reset the dropdown's z-index each
time it is open)

bzr revid: xmo@openerp.com-20130306110051-1wfhxaylsn71skjp
2013-03-06 12:00:51 +01:00
Xavier Morel 2ed01c1954 [FIX] various forgotten compilations of sass files into css
bzr revid: xmo@openerp.com-20130306105106-k66gvdz0vgbn1y3e
2013-03-06 11:51:06 +01:00
Xavier Morel 2e0270783a []FIX] disable (broken) inline edition in grouped editable lists
Because the Add/Create button is global, it's not really possible to
know *where* to create the new record, and the current design can't
really deal with a record being edited outside of all groups.

An option might be to create a dedicated empty group for that, but the
cost/benefit is high and the UI would probably be odd.

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

bzr revid: xmo@openerp.com-20130306102136-2ms7llbt4swka92k
2013-03-06 11:21:36 +01:00
Fabien Meghazi 44f8d5f1a0 [IMP] Use instance.web.redirect
bzr revid: fme@openerp.com-20130305110947-ztgb4cbyjso5r4so
2013-03-05 12:09:47 +01:00
Fabien Meghazi 96ddbcd2c7 [FIX] Make 'remember credential' option work with --no-database-list
bzr revid: fme@openerp.com-20130305105112-6d5q0qyxw1p2k9d6
2013-03-05 11:51:12 +01:00
Fabien Meghazi de658646e0 [FIX] Correctly handle --no-database-list
bzr revid: fme@openerp.com-20130305104054-s0r4g02954fd8qmw
2013-03-05 11:40:54 +01:00
Xavier Morel 8e9fed0574 [IMP] use @draggable instead of hooking on dragstart to disable image and fake-link dragging
Improves upon xmo@openerp.com-20130218104529-i0i8700v2mwxje4b

bzr revid: xmo@openerp.com-20130305100400-8cqkcnd527yn1hbj
2013-03-05 11:04:00 +01:00
Xavier Morel 25baf23e23 [FIX] stacking of various "drop-down" elements
The search view's completion list should be in front of the search
view's drawer, which itself should (probably) be on top of the graph
view's "action" dropdown.

The graph view's dropdown itself needs a z-index > 0 to be in front of
the graph itself, otherwise it is inactive and unusable: it's visible
through the graph but not activable.

bzr revid: xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l
2013-03-05 10:36:19 +01:00
Xavier Morel b438ce5249 [FIX] access rights handling on m2m widgets
m2m lists inherit (from listview/view) the handling of access rights
attributes (e.g. @create, @delete) in which the access rights to the
related model are those checked for the view. This is generally true,
but *not* for m2ms: even if a user has no creation rights to the
related model, he can still create a *relation* between the current
and related models.

The m2m access rights are really governed by the *current* (source)
model, in which case the user won't get to see an "editable" view of
the m2m in the first place.

So just override is_action_enabled to disable it in m2ms.

bzr revid: xmo@openerp.com-20130305091956-zn6qtuo4tl0vh3bs
2013-03-05 10:19:56 +01:00
Xavier Morel f12b4b2b9e [IMP] jsdoc annotations
bzr revid: xmo@openerp.com-20130305091951-z2p0wi7w7p6b93y0
2013-03-05 10:19:51 +01:00
Xavier ALT b07c1a8461 [FIX] statusbar widget: fix no value display for 'selection' field
* really call initial get_selection() after binding 'change:selection'
 overwise no value are assigned to internal selection list - resulting
 to an empty statusbar when field type is 'selection'

bzr revid: xal@openerp.com-20130304230253-0e959r9sintwsd98
2013-03-05 00:02:53 +01:00
Xavier Morel b921444d6f [FIX] implement forgotten @invisible handling on search view fields
bzr revid: xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1
2013-03-04 16:20:47 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Fabien Meghazi 3d98b97e46 [MERGE] Merge 7.0
bzr revid: fme@openerp.com-20130304093155-dfuyjy66mv4tq13a
2013-03-04 10:31:55 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
niv-openerp 77088d339b merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130301143341-xa55351zb166bl2w
2013-03-01 15:33:41 +01:00
niv-openerp 36d47aebc1 [FIX] small problem with <button confirm="..."/>, didn't confirmed correctly when closing the popup
lp bug: https://launchpad.net/bugs/1095366 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301140015-67av4zwrdhbh3srh
2013-03-01 15:00:15 +01:00
Xavier Morel 7278305f68 [FIX] O2M record reloading after workflow progress
Evict record from BufferedDataSet cache as is done with button calls,
otherwise when caller reloads record (read) after having executed the
workflow action, it'll get the old one back from the BDS's cache.

bzr revid: xmo@openerp.com-20130301103543-jra87w2wm417tgyc
2013-03-01 11:35:43 +01:00
Xavier Morel ed98418441 [FIX] docstring
bzr revid: xmo@openerp.com-20130301102223-htb9cteh5rjmex38
2013-03-01 11:22:23 +01:00
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +01:00
niv-openerp b413e00d6a [FIX] Field monetary handles "digits" like the float field.
bzr revid: nicolas.vanhoren@openerp.com-20130228165117-z9r9ua18xohn7rgm
2013-02-28 17:51:17 +01:00
Fabien Meghazi 686e919b8d [FIX] Also check dbname in session_is_valid()
bzr revid: fme@openerp.com-20130228161901-8ff2t1km24t1im3b
2013-02-28 17:19:01 +01:00
Fabien Meghazi cb9c598ca4 [FIX] correctly set cookie for last used database
bzr revid: fme@openerp.com-20130228161757-le1halu03kesu3fa
2013-02-28 17:17:57 +01:00
Fabien Meghazi 301d63b8c9 [WIP] wip , lots of troubles !
bzr revid: fme@openerp.com-20130228101614-zn4prwhi6zk0h13d
2013-02-28 11:16:14 +01:00
Antony Lesuisse 1bec18f5f8 [FIX] view_list limits more sensible values
bzr revid: al@openerp.com-20130227212507-ag6ibb9x3nz5deko
2013-02-27 22:25:07 +01:00
Fabien Meghazi 8f56c19ad4 [FIX] Kanban: Can't drag and drop in the last column position under IE9
bzr revid: fme@openerp.com-20130227210715-p2rqb0pa81078nms
2013-02-27 22:07:15 +01:00
niv-openerp 5c3eebcb4d [FIX] crash in editable list o2m when a record is saved
bzr revid: nicolas.vanhoren@openerp.com-20130227141941-phigsnt3x3rj0atu
2013-02-27 15:19:41 +01:00
niv-openerp 5a9bf08f46 [FIX] lot of potential bugs, mainly due to quickly clicking on menu items
bzr revid: nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz
2013-02-27 12:31:32 +01:00
niv-openerp 1b4337f8e6 [IMP] Added utility method to better handle asynchronous calls and destruction of objects.
Critical to help solve many bugs.

bzr revid: nicolas.vanhoren@openerp.com-20130227111619-dwhjt84tz8wpd6vp
2013-02-27 12:16:19 +01:00
niv-openerp 650ff2dd5e [FIX] remove useless debug messages
bzr revid: nicolas.vanhoren@openerp.com-20130227104226-d75fgyg4iu4igftr
2013-02-27 11:42:26 +01:00
niv-openerp 07a94ec16a [FIX] too much rendering in FieldStatus
bzr revid: nicolas.vanhoren@openerp.com-20130226174509-3dppgg9b9e9xndlj
2013-02-26 18:45:09 +01:00
Fabien Meghazi fa9143b831 [FIX] m2o's autocomplete in a dialog stay absolute positioned when dialog is scrolled down
bzr revid: fme@openerp.com-20130226093346-jtun7zdmzbin7gl0
2013-02-26 10:33:46 +01:00
Xavier Morel a88586a71b [FIX] @domain not handled on searchview m2o fields
Also injected view context in m2o completion name_search

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

bzr revid: xmo@openerp.com-20130225165314-78e04rewsqw86r5d
2013-02-25 17:53:14 +01:00
Xavier Morel 6803c0048f [IMP] add view's context to m2o completion name_search
bzr revid: xmo@openerp.com-20130225165236-386r8438h4vz6fav
2013-02-25 17:52:36 +01:00
Xavier Morel ece114024f [ADD] @domains handling to searchview m2o field during completion
bzr revid: xmo@openerp.com-20130225164255-y3qkcjozr7rbtz1v
2013-02-25 17:42:55 +01:00
Fabien Meghazi 017d75f6f0 [FIX] Correctly check the id index in dataset
lp bug: https://launchpad.net/bugs/1098508 fixed

bzr revid: fme@openerp.com-20130225161236-8yb98wfzbkawr8yu
2013-02-25 17:12:36 +01:00
Christophe Matthieu 18387d7e0b [FIX] form_view: field url, don't add http for local link
bzr revid: chm@openerp.com-20130225160932-yfoxmpkf8td9hr8k
2013-02-25 17:09:32 +01:00
Xavier Morel a8d2327cda [FIX] Correctly stop embedded form when switching from editable to non-editable list
When using the ``set_editable`` feature (context key) from filters
(togglable on/off), the list view would not correctly clean up
(destroy) the form when switching from editable with a started editor
(and form) to non-editable, leading to form fields (in this case m2o
fields being in an incorrect state and trying to query a non-started
autocompletion widget on every click anywhere blowing it up).

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

bzr revid: xmo@openerp.com-20130225135629-8k338gw0arsi6m6j
2013-02-25 14:56:29 +01:00
Xavier Morel 021086d5a8 [FIX] Search view's drawer closing unexpectedly when using the date widget
jquery-ui's date picker (at least in currently used version) lets
*some* (but not all) clicks go through. The date picker dialog is
added directly to the page body so capturing clicks in a parent widget
doesn't work, and these "stray" bubbling clicks will trigger the
global bus's "click" event.

Add a capturing (and stopPropagation-ing) of these clicks in our
wrapper to jquery-ui's datepicker to avoid the issue.

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

bzr revid: xmo@openerp.com-20130225110614-p7dmmjd41xdxescy
2013-02-25 12:06:14 +01:00
Olivier Dony 932a63ce36 [FIX] db manager: allow creating databases with a leading digit - useful for naming version-specific databases
bzr revid: odo@openerp.com-20130225102350-u6nywl3vmtopfuaz
2013-02-25 11:23:50 +01:00
Xavier Morel 1e9b03ea99 [FIX] listview: bug in binary column download link rendering
bzr revid: xmo@openerp.com-20130222093621-crdgl79nl93zejvh
2013-02-22 10:36:21 +01:00
Fabien Meghazi 73b99d0932 [FIX] IE9: traceback in Reporting when changing type of view
lp bug: https://launchpad.net/bugs/1091715 fixed

bzr revid: fme@openerp.com-20130221221025-dnqws0lwq0bvwi4o
2013-02-21 23:10:25 +01:00
Fabien Meghazi 94b1c039ce [MERGE] [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
lp bug: https://launchpad.net/bugs/1130650 fixed

bzr revid: fme@openerp.com-20130221183839-wkgla6ldxx96sxi2
2013-02-21 19:38:39 +01:00
Fabien Meghazi 3467d27261 [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
bzr revid: fme@openerp.com-20130221172327-0dydqn548av5vkqo
2013-02-21 18:23:27 +01:00
Olivier Dony 620c7359e8 [FIX] web: avoid translating technical URL in qweb template
lp bug: https://launchpad.net/bugs/1099449 fixed

bzr revid: odo@openerp.com-20130221131006-l8aerp2vg0rqf43d
2013-02-21 14:10:06 +01:00
Vidhin Mehta bbb2900f9a [FIX]
bzr revid: vme@tinyerp.com-20130221094853-24ufyiis0bmqlj41
2013-02-21 15:18:53 +05:30
Vidhin Mehta 1cfbfeb061 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130221094453-dupm500oez98cv13
2013-02-21 15:14:53 +05:30
Vidhin Mehta 5da4bd83b6 [IMP]use debounce to close on scroll.
bzr revid: vme@tinyerp.com-20130221093922-ofzreua1ua4nv0yd
2013-02-21 15:09:22 +05:30
Christophe Simonis 544c8f2dd7 [MERGE] correct hashchange check of current_state to do not coerce values. only push active_ids in state if relevant
bzr revid: chs@openerp.com-20130220174455-gsobu19naslo1h73
2013-02-20 18:44:55 +01:00
Fabien Meghazi f20c884cf5 [IMP] Custom filters: restore checkboxes and make them exclusive
bzr revid: fme@openerp.com-20130220163306-14xwsgvu8rw2ciny
2013-02-20 17:33:06 +01:00
Vidhin Mehta 4212725417 [FIX]select accurate element with use of 'child selector'.
bzr revid: vme@tinyerp.com-20130220132634-6ycdntomequypxfw
2013-02-20 18:56:34 +05:30
Vidhin Mehta ca912e0975 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130220131956-hrnbak55i9qdpe4y
2013-02-20 18:49:56 +05:30
Fabien Meghazi ee4bc76f14 [IMP] Do not push active_ids in state if active_ids == [active_id]
bzr revid: fme@openerp.com-20130220091226-akczbmurjvn5jzjl
2013-02-20 10:12:26 +01:00
Fabien Meghazi 364ea001f9 [FIX] stringify states (patch from chs)
bzr revid: fme@openerp.com-20130220084437-cyb0pi8nw71bl5mx
2013-02-20 09:44:37 +01:00
Fabien Meghazi f559b97ce9 [FIX] Fixed mysterious bug about active_ids in state
This is a temporary fix, I need more time to check the issue.

bzr revid: fme@openerp.com-20130219181519-a1zdkr2y8a43dqgb
2013-02-19 19:15:19 +01:00
Fabien Meghazi 5c8bb9a089 [FIX] FormOpenPopup does not trigger on_button_cancel
bzr revid: fme@openerp.com-20130219143215-68izxr278eu77sn0
2013-02-19 15:32:15 +01:00
Fabien Meghazi ffab924c08 [FIX] FieldStatus does not re-render when view change
bzr revid: fme@openerp.com-20130219141645-3c1avqxnk23gcn1g
2013-02-19 15:16:45 +01:00
Mohammed Shekha 8d02a23ee9 [FIX]Fixed the issue of reload record affter callign exec_workflow for one2many dataset.
bzr revid: msh@openerp.com-20130219101940-uum7iqbvvhg619uk
2013-02-19 15:49:40 +05:30
Fabien Meghazi b68f13d892 [FIX] BufferedDataset ids should not be passed to on_changes
bzr revid: fme@openerp.com-20130218180732-ivdxvenc2flgl32p
2013-02-18 19:07:32 +01:00
Fabien Meghazi b9daa4d837 [MERGE] [FIX] Fixed TWSB (The White Square Bug)
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218133251-mskozjdbm0ry6uee
2013-02-18 14:32:51 +01:00
Fabien Meghazi 98a9bb5376 [FIX] ViewManagerAction's do_create_view() does not pipe _super's deferred.
bzr revid: fme@openerp.com-20130218114911-wpack9pfkr3pn0a2
2013-02-18 12:49:11 +01:00
Fabien Meghazi 1a1d413367 [FIX] Fixed layout
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218110802-1i6esihnb29f5nvh
2013-02-18 12:08:02 +01:00
Xavier Morel 6fe0dd8032 [FIX] prevent dragging click target images of m2o and datetime fields
can get slightly disturbing when missing a click and slightly dragging the image instead, possibly to the input (pasting its URL)

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

bzr revid: xmo@openerp.com-20130218104529-i0i8700v2mwxje4b
2013-02-18 11:45:29 +01:00
Xavier Morel e00db293d1 [IMP] move domain section and label to ExtendedSearchProposition.Field
Simplifies and linearizes control flow

bzr revid: xmo@openerp.com-20130214142952-e59q9aoz4ngx9iwb
2013-02-14 15:29:52 +01:00