Commit Graph

648 Commits

Author SHA1 Message Date
Christophe Simonis 6f91e87f8c [FIX] correct CrashManager
bzr revid: chs@openerp.com-20111102100511-f58vlgnv12cti8ry
2011-11-02 11:05:11 +01:00
Christophe Simonis 6f899d86c0 [IMP] rename Session to Connection and create one at initialisation
bzr revid: chs@openerp.com-20111027153132-qoj0fiwoj813gsda
2011-10-27 17:31:32 +02:00
Xavier Morel 9d4602fcb8 [FIX] unfuck formatting of negative floats
bzr revid: xmo@openerp.com-20111027125448-3wkk61xpt8uwjgt1
2011-10-27 14:54:48 +02:00
Xavier Morel ab1bf880f1 [IMP] blockUI defaults configuration
* Set throbber image as the default message
* Ensure blockUI is on top of dialogs

bzr revid: xmo@openerp.com-20111027124503-i4u0fmqij3o80sy3
2011-10-27 14:45:03 +02:00
Fabien Meghazi 66ea543974 [FIX] Add support for @align attribute in form views
lp bug: https://launchpad.net/bugs/844625 fixed

bzr revid: fme@openerp.com-20111027124325-ckd8kuujbb591nqu
2011-10-27 14:43:25 +02:00
Xavier Morel fca7ced152 [IMP] rename 'this' from 'view' to 'widget' in the FormView template rendering to increase coherency amongst templates, courtesy of Valentin Lab
bzr revid: xmo@openerp.com-20111027104517-9u3b8q0e50mboikw
2011-10-27 12:45:17 +02:00
Xavier Morel d52a8f3f20 [FIX] states-based row colors failing to apply on o2ms due to overly precise rule
lp bug: https://launchpad.net/bugs/882175 fixed

bzr revid: xmo@openerp.com-20111027095707-22brxk7fyg3w4svj
2011-10-27 11:57:07 +02:00
Xavier Morel 8290deff05 [ADD] handle failure to save in ListView#ensure_saved: reject the deferred
bzr revid: xmo@openerp.com-20111027083617-medipetfasqvfacq
2011-10-27 10:36:17 +02:00
Xavier Morel 6acbb08aa7 [ADD] method forcing the saving of a listview if it's being edited (and not doing anything if it's not)
bzr revid: xmo@openerp.com-20111027082436-46zcjurzxtg5n9zt
2011-10-27 10:24:36 +02:00
Xavier Morel a989c15dfb [ADD] titles on all viewmanagers, for o2m lists. Un-styled
bzr revid: xmo@openerp.com-20111027061727-0elo0jciwv7lu3mt
2011-10-27 08:17:27 +02:00
niv-openerp 33c4580c03 [fix] problem when switching from form view to list view in o2m
bzr revid: nicolas.vanhoren@openerp.com-20111026153944-bdk335em06dxxi2p
2011-10-26 17:39:44 +02:00
niv-openerp 5329b9273a [fix] potential race condition in o2m
bzr revid: nicolas.vanhoren@openerp.com-20111026153109-8pcjlo7c5ud6bkko
2011-10-26 17:31:09 +02:00
niv-openerp 5bc7011b52 [fix] race condition in m2m
bzr revid: nicolas.vanhoren@openerp.com-20111026152305-t7rg7mn37h91swra
2011-10-26 17:23:05 +02:00
niv-openerp 08ef807c3b [imp] implemented readonly in o2m in form view too
bzr revid: nicolas.vanhoren@openerp.com-20111026144218-vn44rlkzo7vo0umq
2011-10-26 16:42:18 +02:00
niv-openerp 9988d503b1 [imp] implemented readonly in o2m in list view only
bzr revid: nicolas.vanhoren@openerp.com-20111026141148-kl37triimsivvh9n
2011-10-26 16:11:48 +02:00
niv-openerp 9a48657a45 [imp] made o2m reload when readonly property is changed
bzr revid: nicolas.vanhoren@openerp.com-20111026125524-c77rmzd6gq9u9oke
2011-10-26 14:55:24 +02:00
niv-openerp f0714ccd72 [imp] removed useless logging
bzr revid: nicolas.vanhoren@openerp.com-20111026100538-momcgi4s3lxy560l
2011-10-26 12:05:38 +02:00
Fabien Meghazi 692293d31b [IMP] Add underscore ( '_' ) lib in default rendering context of the qweb instance used in the webclient
bzr revid: fme@openerp.com-20111026082543-xsnfh298e0wb0ccw
2011-10-26 10:25:43 +02:00
Fabien Meghazi de31afa995 [FIX] Password fields values are not hidden
lp bug: https://launchpad.net/bugs/880804 fixed

bzr revid: fme@openerp.com-20111025185030-vw69honpjoaekh2v
2011-10-25 20:50:30 +02:00
Fabien Meghazi 20e5cb63a4 [FIX] json_node_to_xml: whitespaces wrongly inserted around text nodes causing bugs in kanban views.
bzr revid: fme@openerp.com-20111025163531-nxr8gb4j2f7wne2a
2011-10-25 18:35:31 +02:00
niv-openerp dd514b567d [imp] made m2m support readonly
bzr revid: nicolas.vanhoren@openerp.com-20111025162031-wsjaebu713nht3i1
2011-10-25 18:20:31 +02:00
Xavier Morel 59c9d34417 [ADD] title to all viewmanager variants
Uses the string of the current view arch by default, overridden with action name by ViewManagerAction.

Mostly of use for/with o2m and m2m fields

bzr revid: xmo@openerp.com-20111025143738-yugscol5kabg8whv
2011-10-25 16:37:38 +02:00
Xavier Morel 69f909a9a1 [REN] 'New' button of ListView to 'Create'
bzr revid: xmo@openerp.com-20111025132412-4vx57uf1vipcyfkq
2011-10-25 15:24:12 +02:00
Xavier Morel 7451d66e4b [ADD] search: prefix to the view title when the current view is searchable:
bzr revid: xmo@openerp.com-20111025132326-83i1t2adn4o5vsjo
2011-10-25 15:23:26 +02:00
niv-openerp a34f06dd4c [imp] changed default mode of o2m to tree (was tree,form)
bzr revid: nicolas.vanhoren@openerp.com-20111025124251-uy67cprw499wcb7c
2011-10-25 14:42:51 +02:00
Xavier Morel e35686ca93 [ADD] global select/unselect toggle on lists
bzr revid: xmo@openerp.com-20111025105925-7ghxlljq6ugupxx5
2011-10-25 12:59:25 +02:00
Xavier Morel b6a0874f4c [FIX] disgusting hack to skip around race condition
When clicking on an action button, form view first saves then executes
the action. In doing so, it causes the o2m field to call
ListView#reload_content twice without waiting for the reloading to
end, generating a race condition in ListView.List#render_dataset.

As a result, the read_slice callback fills the list twice (once for
each #reload_content call), resulting in everything being duplicated.

Clear the content of the records collection before adding stuff.

note: collections should dedup on ids.

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

bzr revid: xmo@openerp.com-20111025085112-q38q8m0k2mopwadg
2011-10-25 10:51:12 +02:00
Fabien Meghazi 44344a21b2 [ADD] Added jQuery.MD5
bzr revid: fme@openerp.com-20111025083648-x5nd1mv7z7nee7cl
2011-10-25 10:36:48 +02:00
Xavier Morel ba2f06a2ac [ADD] missing deferred propagation in ListView.reload_content
bzr revid: xmo@openerp.com-20111025070626-pxxp6virhhomb7kl
2011-10-25 09:06:26 +02:00
kbh fa94cf7578 [IMP] Remove unnecessary code in checkbutton select all/none in list view.
bzr revid: kbh@bde-desktop-20111025062429-dvx4x0h1caqwg21i
2011-10-25 11:54:29 +05:30
kbh 276cff1807 [IMP] Remove unnecessary code in checkbutton select all/none in list view.
bzr revid: kbh@bde-desktop-20111025060142-47y025oqteocdgj3
2011-10-25 11:31:42 +05:30
Antony Lesuisse f097e140b8 [IMP] try session instead of openerp,db and we would rename Session into Connection
bzr revid: al@openerp.com-20111024225431-g9eaqophnw3k8hh4
2011-10-25 00:54:31 +02:00
Xavier Morel d9c03065fd [FIX] handling of invisible attribute in search view
bzr revid: xmo@openerp.com-20111024152612-3mh7nj8k8g5gcsp9
2011-10-24 17:26:12 +02:00
niv-openerp 6cb7f2b6f9 [imp] m2o now supports readonly mode
bzr revid: nicolas.vanhoren@openerp.com-20111024152056-2nfx7zk4kc9py17k
2011-10-24 17:20:56 +02:00
Xavier Morel 19bb1dda1a [IMP] use empty box/check mark for page boolean fields, instead of cross vs check mark
bzr revid: xmo@openerp.com-20111024152013-nhi8kwra46se0yva
2011-10-24 17:20:13 +02:00
Xavier Morel 84a383d5aa [IMP] make notebooks in page view identical to those of normal form view
as requested by fp

bzr revid: xmo@openerp.com-20111024151158-7hqox4k6xrjujxnb
2011-10-24 17:11:58 +02:00
niv-openerp a617e3bacc [fix] small problem with the context menu of m2o when there is not item selected
bzr revid: nicolas.vanhoren@openerp.com-20111024151039-k9jlntcj3n56h13d
2011-10-24 17:10:39 +02:00
Xavier Morel 06344150eb [FIX] automatically open options box if the file fails to parse entirely
bzr revid: xmo@openerp.com-20111024142744-zeal912gqf9bvrrp
2011-10-24 16:27:44 +02:00
Xavier Morel cd59e5e6fb [ADD] open/close arrow next to import options
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
2011-10-24 16:17:37 +02:00
Xavier Morel b45b7ad22c [IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24 16:06:58 +02:00
Xavier Morel a8b81ed575 [ADD] dropdown arrow next to import autocompletes
bzr revid: xmo@openerp.com-20111024135521-aikh791r9j94moal
2011-10-24 15:55:21 +02:00
Xavier Morel ce45893633 [FIX] Display 'don't import' placeholder when no value selected
bzr revid: xmo@openerp.com-20111024134413-kgcgemdzquwtn0ns
2011-10-24 15:44:13 +02:00
kbh 3e20652e55 [IMP] Fixed the issue of checkbutton select all/none in tree view.
bzr revid: kbh@bde-desktop-20111024132959-y9b3scfye91nut1c
2011-10-24 18:59:59 +05:30
RavishchanraMurari (Open ERP) 1945d19d15 mulit_company_in group_by
bzr revid: rmu@tinyerp.com-20111024121415-wkjyjzl6ydqz3t7o
2011-10-24 17:44:15 +05:30
RavishchanraMurari (Open ERP) 4871ed069c merge_web_trunk
bzr revid: rmu@tinyerp.com-20111024121059-cu4z9cfx5jy9b65y
2011-10-24 17:40:59 +05:30
Fabien Meghazi 62c52bf0c2 [FIX] Do not use node.parentElement (sorry all)
lp bug: https://launchpad.net/bugs/879797 fixed

bzr revid: fme@openerp.com-20111024092140-zvrtzmy9cppjyaj2
2011-10-24 11:21:40 +02:00
kbh 2ce07c97c6 [FIX] Fixed the issue of checkbutton select all/none in tree view.
lp bug: https://launchpad.net/bugs/878108 fixed

bzr revid: kbh@bde-desktop-20111024091730-dkzafro2f9e0k7tf
2011-10-24 14:47:30 +05:30
Xavier Morel ec18460aa3 [ADD] pagination buttons at the bottom of the list view
bzr revid: xmo@openerp.com-20111024084853-kcq2dflsk36r6pby
2011-10-24 10:48:53 +02:00
niv-openerp cdac09e3dc [fix] css problem in database screen when we use a too high resolution
bzr revid: nicolas.vanhoren@openerp.com-20111024084005-et884p0px0l08ge8
2011-10-24 10:40:05 +02:00
Fabien Meghazi dbf2f1ddd2 [merge] [FIX] FieldBoolean: allow click event to propagate the value to the model in all cases
bzr revid: fme@openerp.com-20111024082338-anop000q7iy0o2mr
2011-10-24 10:23:38 +02:00