Commit Graph

143 Commits

Author SHA1 Message Date
niv-openerp a2a6c33951 [merge] improvements to the view editor
bzr revid: nicolas.vanhoren@openerp.com-20111103101952-a5zk1wgi1qkd6pr3
2011-11-03 11:19:52 +01:00
Yogesh (OpenERP) 8fcf3cf5d9 [MERGE] Merge with trunk upto revision no 1400.
bzr revid: ysa@tinyerp.com-20111101060743-3e79d5yg8pgww57h
2011-11-01 11:37:43 +05:30
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 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
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
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 e35686ca93 [ADD] global select/unselect toggle on lists
bzr revid: xmo@openerp.com-20111025105925-7ghxlljq6ugupxx5
2011-10-25 12:59:25 +02:00
Yogesh (OpenERP) 55ad46220d [IMP] improve css and view.
bzr revid: ysa@tinyerp.com-20111025084951-0ty7vt1kfw0nrykr
2011-10-25 14:19:51 +05:30
Yogesh (OpenERP) f1f48e69f0 [MERGE] Merge with trunk upto revision no 1349.
bzr revid: ysa@tinyerp.com-20111017051054-5l3pjg5sytilkjwg
bzr revid: ysa@tinyerp.com-20111018045137-msfhlnn9lofb26xv
bzr revid: ysa@tinyerp.com-20111019050434-b2uyjsget3ezfmpp
bzr revid: ysa@tinyerp.com-20111020045022-drhcz2yd62can1sy
bzr revid: ysa@tinyerp.com-20111021044543-1b1v2m4t32rifd33
bzr revid: ysa@tinyerp.com-20111024050516-2hasbf5q4v1j64kk
bzr revid: ysa@tinyerp.com-20111024130602-iixh5nvuio1nhs7x
bzr revid: ysa@tinyerp.com-20111025050237-xvf583083lg1hrrj
2011-10-25 10:32:37 +05:30
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 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
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
Turkesh Patel (Open ERP) 940b1138ae [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111024060926-f47bcg8jkmx449z2
2011-10-24 11:39:26 +05:30
Turkesh Patel (Open ERP) 75a57eed12 [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
2011-10-21 16:14:41 +05:30
Turkesh Patel (Open ERP) d049a25fa5 [FIX] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
lp bug: https://launchpad.net/bugs/878106 fixed

bzr revid: tpa@tinyerp.com-20111021065103-slbb7n124cuyvwhm
2011-10-21 12:21:03 +05:30
Yogesh (OpenERP) 0a89e5f627 [MERGE] Merge with trunk upto revison no 1256.
bzr revid: ysa@tinyerp.com-20111014045839-rc5gvd0crl20pjqv
2011-10-14 10:28:39 +05:30
Antony Lesuisse 7b5b9d45ad [MERGE] notification cleanups by chs
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
2011-10-14 02:30:56 +02:00
Christophe Simonis 00b269d1c0 [IMP] nivification of Notification Widget
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Yogesh (OpenERP) 89a7c1cdaf [MERGE] Merge with trunk upto revision no 1242.
bzr revid: ysa@tinyerp.com-20111013050907-gp4mqxjnatf9591b
2011-10-13 10:39:07 +05:30
Fabien Meghazi 65792ba3cb [MERGE] Change the way the sections and items are added to the sidebar
bzr revid: fme@openerp.com-20111012135735-6o905df1db7tmybh
2011-10-12 15:57:35 +02:00
Vidhin Mehta (OpenERP) df2e90a5f6 [MERGE] merge with main view editor branch.
bzr revid: vme@tinyerp.com-20111012104225-yqx4xb5r0d0u3gzn
2011-10-12 16:12:25 +05:30
Yogesh (OpenERP) c6d4bea1c2 [MERGE] Merge with trunk upto revision no 1218.
bzr revid: ysa@tinyerp.com-20111012050918-c83f2y42ocshk6e6
2011-10-12 10:39:18 +05:30
Vidhin Mehta (OpenERP) 22099a2d9e [IMP]fix review's issue and try to convert single method for inherited view search
bzr revid: vme@tinyerp.com-20111011133456-vq1i5cv2pmbkhixz
2011-10-11 19:04:56 +05:30
Xavier Morel 039e42110f [IMP] copy colorization code from listview to treeview
bzr revid: xmo@openerp.com-20111011112924-ih7on411mirf5wmi
2011-10-11 13:29:24 +02:00
Fabien Meghazi 9b3903be98 [FIX] m2o of reference fields does not seem working
m2o needs additional properties from view.
reference template was broken
now hide the m2o widget when no value is selected

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

bzr revid: fme@openerp.com-20111011105426-2s4d82185q5ok4ry
2011-10-11 12:54:26 +02:00
Yogesh (OpenERP) 80e7857347 [MERGE] MErge with trunk upto revision no 1202.
bzr revid: ysa@tinyerp.com-20111011050327-wsyzdd0x53yiat6h
2011-10-11 10:33:27 +05:30
Fabien Meghazi d31295d65b [IMP] Added display_title in action flags. ViewManager won't display title if false.
Will be used for dashboards, wizards, ...

bzr revid: fme@openerp.com-20111010141546-b19g0sr4fzicehss
2011-10-10 16:15:46 +02:00
Christophe Simonis 27869cac8b [IMP] change the way the sections and items are added to the sidebar
bzr revid: chs@openerp.com-20111010123432-619o61elz09jm9sy
2011-10-10 14:34:32 +02:00
Fabien Meghazi 1d0b38d034 [FIX] No title on page trigered by an action
lp bug: https://launchpad.net/bugs/872148 fixed

bzr revid: fme@openerp.com-20111017122335-vov2sy95sdt3dwp9
2011-10-17 14:23:35 +02:00
Fabien Meghazi 8b1e88a47a [REM] Removed '& Edit' label in FormView's Save and Create buttons
bzr revid: fme@openerp.com-20111017100310-sxhudt74oi7eia10
2011-10-17 12:03:10 +02:00
Xavier Morel 405beaa3c6 [FIX] m2o values display in list views (mostly under onchange condition)
Normal m2o values are pairs of (id, name) (name_get format, basically)
but in some cases (lazyness & al), APIs (often onchange results) only
return the `id` part, which is not sufficient to display the m2o
as-is, a name_get has to be performed.

Added an intermediate step in displaying a table cell (in list view):
if we're displaying an m2o cell (~a cell for an m2o column) and the
value is a number, then dispatch a name_get and keep trucking (display
the rows without the m2o values).

When the name_get returns, it will simply refresh the row and diplay
the m2o name.

bzr revid: xmo@openerp.com-20111014084310-pv2mmmy28fwwk9sm
2011-10-14 10:43:10 +02:00
Yogesh (OpenERP) 82dfc15160 [MERGE] Merge with trunk upto revision no 1184.
bzr revid: ysa@tinyerp.com-20111010050054-hvwr29706js07cmb
2011-10-10 10:30:54 +05:30
Xavier Morel cecd7f5e55 [FIX] duplicated element_class on form widgets (on container and widget), and some incorrect element_id breaking click-on-label behavior
bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo
2011-10-06 13:41:27 +02:00
Xavier Morel 0fc5a423e3 [FIX] don't screw up typing of selection values in search view
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Xavier Morel a3a45e18b3 [FIX] m2o fields with selection widget in search view
Plan was originally to just ignore this because "it should just work"
 but turns out m2o and m2o[@widget=selection] fields have very
 different behaviors when it comes to default values, especially
 custom domains and contexts:

 * An m2o field uses its string value always (behaves like a char
   field), for UI and clarity purposes we added an [[name, '=', id]]
   case when the user specifically selects an autocompletion value,
   but that's not "cannon", when it comes to dealing with custom
   domains (filter_domain) and contexts the field always uses its
   string value.

* An m2o[@widget=selection] field on the other hand uses its ids
  always (behaves like a selection field).

  That's not entirely true, really, because it has the converse to
  what we implemented on the m2o field in the web client (in the GTK
  client): if there is no @filter_domain *and* the user has entered a
  value which is not in the dropdown (it's a combobox in the GTK
  client), then it falls back on using 'ilike'. This string value is
  *not* used in custom domains and custom filters, which simply are
  not submitted.

  This second section has *not* been implemented so far in the web
  client, we'll come round to it if people actually need it.

bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00
sma (Tiny) 7e9e542418 [MERGE]
bzr revid: sma@tinyerp.com-20110926105300-72fwa60uvvdf1qgg
bzr revid: sma@tinyerp.com-20111003112731-uobxur1ryqb5laxy
2011-10-03 16:57:31 +05:30
Xavier Morel 6bb8d8ea85 [ADD] readonly & movable form view
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
2011-09-30 10:12:47 +02:00
Xavier Morel 3cde15fe01 [ADD] evaluator proof of concept: colors in list rows
bzr revid: xmo@openerp.com-20110929144036-7u2w6pf6lwkvzck0
2011-09-29 16:40:36 +02:00
niv-openerp b41131cdc6 [fix] problem with al making refactorings like a baraki de kermesse
bzr revid: nicolas.vanhoren@openerp.com-20110928123746-xudpsdgx353s2fnz
2011-09-28 14:37:46 +02:00
Christophe Simonis a578747e53 [FIX] wrap Login template
bzr revid: chs@openerp.com-20110928091958-3pbgyvug309bfmb1
2011-09-28 11:19:58 +02:00
Christophe Simonis e4c2cfb4ba [FIX] nivification of Login Widget
bzr revid: chs@openerp.com-20110927155347-dcqeg7hlyaq5djis
2011-09-27 17:53:47 +02:00