Commit Graph

301 Commits

Author SHA1 Message Date
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
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
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
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
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
Vijaykumar Baladaniya 5f23b55909 [FIX] passtrough_events name replace with passthrough_events.
bzr revid: vba@tinyerp.com-20130204084307-8qremz8qi1qcwhfe
2013-02-04 14:13:07 +05:30
niv-openerp 4f07a4c7af [IMP] desactivate sorting in list view with function fields with store=false
lp bug: https://launchpad.net/bugs/1095664 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103144651-qcxmp0bphkylp9s2
2013-01-03 15:46:51 +01:00
Christophe Matthieu 11db0f89fe [MERGE] trunk-bug-1094839-vja: in listview, sorting arrow disappearing from column header when the user change of the view and return on listview.
bzr revid: chm@openerp.com-20130103092823-jbjhh686vix52ih6
2013-01-03 10:28:23 +01:00
vta vta@openerp.com 948d566403 [MERGE] Improvement on m2obutton widget
bzr revid: vta@openerp.com-20121220150716-a8w94s74x9ejqch5
2012-12-20 16:07:16 +01:00
Fabien Meghazi 31592e96aa [ADD] Added an openerpBounce jquery plugin
bzr revid: fme@openerp.com-20121219151217-bxp1p04gmbccckys
2012-12-19 16:12:17 +01:00
Fabien Meghazi d234a24de0 [MERGE] trunk
bzr revid: fme@openerp.com-20121219150025-h9h1956xey3tok57
2012-12-19 16:00:25 +01:00
niv-openerp 906ceba948 [IMP] lot of small improvements to better detect when a view has finished loading
bzr revid: nicolas.vanhoren@openerp.com-20121213140914-8d1u01h17r2x4fpu
2012-12-13 15:09:14 +01:00
niv-openerp d2863fbd59 [IMP] added "disabled" on buttons in list view during execution of asynchrnous operation
bzr revid: nicolas.vanhoren@openerp.com-20121207154640-609iwn2y093kw171
2012-12-07 16:46:40 +01:00
Tejas Tank 3464960518 Merged Latest.
bzr revid: tta@openerp.com-20121206111229-q2fn8zfp71ntclxv
2012-12-06 16:12:29 +05:00
Xavier Morel ae53b85d90 [FIX] clicks toggling @readonly radio buttons
bzr revid: xmo@openerp.com-20121204162354-6c4z8lvah683c5qx
2012-12-04 17:23:54 +01:00
Christophe Matthieu 2f38a4425f [MERGE] view list: Show the menu sidebar when a child item is showed.
bzr revid: chm@openerp.com-20121204141416-cay34shj7h5y4a6q
2012-12-04 15:14:16 +01:00
vta vta@openerp.com 44f27eca8e [IMP] Improve M2OButton.
bzr revid: vta@openerp.com-20121203151525-j464860k1ueqztp6
2012-12-03 16:15:25 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Tejas Tank e0f6e8701e [MERGE]: Merged
bzr revid: tta@openerp.com-20121128133712-3b86sc96skj3prfa
2012-11-28 18:37:12 +05:00
Xavier Morel ef5be74caa [FIX] disable sorting (column-click) in an editable listview being edited
To do so, extract sort handling to its own method (bound using the
events hash) and override-and-disable in editable.

bzr revid: xmo@openerp.com-20121127094109-mojnq50mzsrcj3q0
2012-11-27 10:41:09 +01:00
Vidhin Mehta (OpenERP) ef30bed827 [FIX]use this.options. for show parent class.
bzr revid: vme@tinyerp.com-20121127052653-6l366vviftbdamkp
2012-11-27 10:56:53 +05:30
Hiral Patel (OpenERP) be4047ff1b [IMP] The bounce effect is too fast everywhere, slow it down a little bit
bzr revid: hip@tinyerp.com-20121123121745-rmi0wnmzmfq6nx9z
2012-11-23 17:47:45 +05:30
Vidhin Mehta (OpenERP) 74bb901030 [FIX]List view try to display show hidden element's child element.
lp bug: https://launchpad.net/bugs/1081083 fixed

bzr revid: vme@tinyerp.com-20121122120008-dz5wy1jbh93tdken
2012-11-22 17:30:08 +05:30
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
Xavier Morel 0d85c24ae3 [MERGE] from trunk, fix/adapt some tests
bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld
2012-11-16 11:08:40 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Xavier Morel 9fcde05168 [FIX] clicking on checkbox (boolean field) of list view should correctly trigger whatever the row action is
replaced @disabled checkboxes for boolean fields by @readonly + alpha
(50%), as disabled input do not generate *any* event. Not default
action (of course) but not e.g. a click either, whether delegated or
bound directly on the element, there's no way at all to see if e.g. a
user has clicked on a disabled checkbox or radio.

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

bzr revid: xmo@openerp.com-20121113131806-7fhog1f96gxnjr67
2012-11-13 14:18:06 +01:00
Xavier Morel 22edf6193d [FIX] listview display when action button deletes the corresponding record
if a record has disappeared between activating a button and refreshing
the record, remove it from the list view

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

bzr revid: xmo@openerp.com-20121113104407-n924vinluqfdtesf
2012-11-13 11:44:07 +01:00
Fabien Meghazi 40734fc4c4 [FIX] Third part of bug#1077858 : Error in list view when displaying non saved o2m item with binary field
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112172541-n312hzvsqcr78jeh
2012-11-12 18:25:41 +01:00
Fabien Meghazi cd4c3c61ff [FIX] Listview does not handle base64 value for binary fields
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112171128-a1aoq2q4fma6fpxc
2012-11-12 18:11:28 +01:00
Fabien Meghazi a0c3b3664a [FIX] Fixes first part of bug#1077858
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112155332-eshqtkk5grn22tqm
2012-11-12 16:53:32 +01:00
Antony Lesuisse 27c872cef3 remove CallbackEnabled
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind()
it doesnt clutter stack traces anymore. However the fate of this automatic binding
feature remains uncertain.

bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-10 20:34:40 +01:00
Xavier Morel d3b22ccb36 [FIX] incorrect handling of empty values in m2m listview display
bzr revid: xmo@openerp.com-20121109083513-mjpzd01hhuylll4j
2012-11-09 09:35:13 +01:00
Xavier Morel 3a5421309b [FIX] breakage of m2m (tag) fields in editable (o2m) listviews
e.g. quotation form view, "Order Lines" table, add a tax (or more) to
a line, save, then try to edit the line.

Issue: the listview mostly uses a single-level structure for its
display, each record is a trivial map of {name: value}. For the M2O
the expected value can be complex-ish (a name_get which holds all the
interesting stuff) but not so for the m2m.

An m2m value is just a list of ids (Array<Integer>), the list view
would overwrite that with the concatenated name_get strings to get
something kind-of displayable. Except editable serializes the record
it has and passes that as-is to the embedded formview. The
corresponding widget (FieldMany2ManyTags) most definitely does not
expect a big string to be shoved up its fat ass.

So use a different but just as disgusting hack: instead of *replacing*
the ids array with the string, add the string to the record after very
slightly munging the original name, that way the form is happy because
it gets the value it expects, and the Many2Many column can override
_format to use the value of the munged/fake column as "stuff it passes
to whatever is in charge of formatting fields for display" when the
original field is asked for.

NOTE: redundant work is done as every line will do its own name_get,
      potentially on the same ids over and over again. Having a
      short-lived backend cache may allow not name_get-ing ids we've
      already fetched during the same table display...

bzr revid: xmo@openerp.com-20121108145705-uphw76z4q4krcpnl
2012-11-08 15:57:05 +01:00
Fabien Meghazi 225b0c2c2d [MERGE] trunk
bzr revid: fme@openerp.com-20121108091548-enm1aftirkzngld1
2012-11-08 10:15:48 +01:00
Antony Lesuisse a963bd019a [MERGE] m2o button
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
2012-11-07 16:19:54 +01:00
Fabien Meghazi f06b78dbf6 [MERGE] trunk
bzr revid: fme@openerp.com-20121107091047-uehws6qa3ouaa4fs
2012-11-07 10:10:47 +01:00
niv-openerp 660443885c [FIX] Problem with list view and some references
lp bug: https://launchpad.net/bugs/1071491 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121106153929-8705y9r3u2b27i8u
2012-11-06 16:39:29 +01:00
Xavier Morel 4f52103aa0 [FIX] double html-escaping of group titles in grouped lists (eg analysis)
bzr revid: xmo@openerp.com-20121106140519-0qnq934rr44l6kgt
2012-11-06 15:05:19 +01:00
vta vta@openerp.com 83a264ff2b [FIX] Fixed list view widget as per xmo review.
bzr revid: vta@openerp.com-20121106103320-zyon6mzsy9jaafj0
2012-11-06 11:33:20 +01:00
vta vta@openerp.com 3b87df079e [ADD] Added new widget, Many2OneButton, to view_form.js and view_list.js.
bzr revid: vta@openerp.com-20121105130232-rpde2k1ihbquznmg
2012-11-05 14:02:32 +01:00
Fabien Meghazi 2994db89ca [MERGE] trunk
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Divyesh Makwana (Open ERP) ede1da0a64 [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121102104628-qcf3cgpqgecbqml1
2012-11-02 16:16:28 +05:30
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Xavier Morel 04282ff00e [IMP] port search test to new framework, add handling of web.{submodule} dependencies
bzr revid: xmo@openerp.com-20121026084543-fobkc3ta5q2jc3q6
2012-10-26 10:45:43 +02:00
niv-openerp d41219749a [FIX] pager in m2m does not behave correctly
bzr revid: nicolas.vanhoren@openerp.com-20121025091132-zbja03rszs6jiavg
2012-10-25 11:11:32 +02:00
Purnendu Singh (OpenERP) abd1258be6 [MERGE]
bzr revid: psi@tinyerp.com-20121025061549-pfruq62jmmx6qcar
2012-10-25 11:45:49 +05:30
Purnendu Singh (OpenERP) a10c7b882b [MERGE] merge with main web
bzr revid: psi@tinyerp.com-20121023100528-w5z1yf2yj6cq1edj
2012-10-23 15:35:28 +05:30
Fabien Meghazi 957c187bb1 [IMP] Make 'oe_list_cannot_*' css classes generic
bzr revid: fme@openerp.com-20121023095559-63exp0dyf5zsd3qw
2012-10-23 11:55:59 +02:00