Antony Lesuisse
8bade5d04d
[FIX] database password naming
...
bzr revid: al@openerp.com-20110810143039-9ifxkl9qjl4kkm0s
2011-08-10 16:30:39 +02:00
Xavier Morel
5e7f787c65
[IMP] simplify code of padding function in date formatting, add some doc, fix name
...
bzr revid: xmo@openerp.com-20110810141545-k98nvymjy5r7sslb
2011-08-10 16:15:45 +02:00
Xavier Morel
2d13490435
[REM] references to color in list rows, not used anymore and template broken anyway
...
bzr revid: xmo@openerp.com-20110810140058-mbnbp04seohojh0h
2011-08-10 16:00:58 +02:00
Xavier Morel
2b460ae48b
[REM] tests of date search widget, since the complexity of the widget was removed
...
bzr revid: xmo@openerp.com-20110810133845-yuzzt1p6nvrh7lcw
2011-08-10 15:38:45 +02:00
Antony Lesuisse
8faecbd609
[FIX] get rid of null viewmanager
...
bzr revid: al@openerp.com-20110810132945-lti3ihn58he88ivq
2011-08-10 15:29:45 +02:00
Antony Lesuisse
a7163f9d6a
[IMP] remove nullviewmanagerfrom search
...
bzr revid: al@openerp.com-20110810124124-zw1ab65iz6fi79wu
2011-08-10 14:41:24 +02:00
Xavier Morel
14ec9faf37
[REM] O2M and M2M search field: not sure they're ever used, and in case they are I'd rather have an actual error than some crappy placeholder field
...
bzr revid: xmo@openerp.com-20110810111903-doxuzpec9rb432zc
2011-08-10 13:19:03 +02:00
Xavier Morel
f7369a8de7
[IMP] make date field a single-component field, domained by equality
...
bzr revid: xmo@openerp.com-20110810110055-y2zmsn33lfbeksct
2011-08-10 13:00:55 +02:00
Xavier Morel
bdacad5c2d
[IMP] make search boolean field inherit from selection
...
bzr revid: xmo@openerp.com-20110810104910-sz4236szqt5pmjst
2011-08-10 12:49:10 +02:00
Fabien Meghazi
42b4e254db
[IMP] Reactivated date & datetime widgets
...
bzr revid: fme@openerp.com-20110810121625-mxbmxmr8qdy10zu6
2011-08-10 14:16:25 +02:00
Fabien Meghazi
52ba9d992d
[REM] Removed auto open argument from Dialog#start()
...
bzr revid: fme@openerp.com-20110810120548-697agu5xajf11tvx
2011-08-10 14:05:48 +02:00
Antony Lesuisse
85b1852aa6
[FIX] double action manager
...
bzr revid: al@openerp.com-20110810114914-rnokf7v1mp8kmtu1
2011-08-10 13:49:14 +02:00
Fabien Meghazi
d1a5c72972
[FIX] Fixed remaining references to session.action_manager
...
bzr revid: fme@openerp.com-20110810103836-li6e7kx8tdk52iil
2011-08-10 12:38:36 +02:00
Antony Lesuisse
c1191b54ef
more nivification of ViewManager
...
bzr revid: al@openerp.com-20110810015211-mwyex6w9pze8djk2
2011-08-10 03:52:11 +02:00
Antony Lesuisse
8b0443e1a5
open chart of account works
...
bzr revid: al@openerp.com-20110810013448-agtnui8hmn0hj9xk
2011-08-10 03:34:48 +02:00
Antony Lesuisse
bed92070d0
new actwindow logic, widget nivification of viewmanager and actionmanager
...
bzr revid: al@openerp.com-20110810003857-eqhdu3zz74pkpt5q
2011-08-10 02:38:57 +02:00
Antony Lesuisse
e425379520
underscorize action type
...
bzr revid: al@openerp.com-20110809223115-skydn8n9fc443b9t
2011-08-10 00:31:15 +02:00
Antony Lesuisse
dd91baaba4
[FIX] remove importexport from chrome
...
bzr revid: al@openerp.com-20110809222827-ejc4y2r6wnaxmbmm
2011-08-10 00:28:27 +02:00
Xavier Morel
1d9216a96c
[IMP] make treeview table take the whole screen width
...
bzr revid: xmo@openerp.com-20110809155429-lq17yzlukz804eby
2011-08-09 17:54:29 +02:00
Xavier Morel
ac896c3ac6
[FIX] don't blow up when there are no records in the theeview
...
bzr revid: xmo@openerp.com-20110809154817-w9hvt2whhzh5djoz
2011-08-09 17:48:17 +02:00
Xavier Morel
03ebf10f4c
[FIX] rendering of complex fields in treeview
...
bzr revid: xmo@openerp.com-20110809154440-ay5ih9h3lsuc2b8d
2011-08-09 17:44:40 +02:00
Xavier Morel
13710dfca9
[IMP] rename 'dates.js' to 'formats.js', move data-formatting for cells from list to formats so treeview can rely on them
...
bzr revid: xmo@openerp.com-20110809153021-k1wop0j8qjp6rp49
2011-08-09 17:30:21 +02:00
Xavier Morel
3e47a488ee
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20110809145209-y00jwf75mkpi93c6
2011-08-09 16:52:09 +02:00
Xavier Morel
bebb31cdd5
[FIX] make content of treeview cells take the whole cell
...
bzr revid: xmo@openerp.com-20110809142343-mo8j5gsw5ei04mpd
2011-08-09 16:23:43 +02:00
Xavier Morel
e9f9397ac4
[FIX] action handling in treeview
...
bzr revid: xmo@openerp.com-20110809142243-wzl5qz1pl05312fa
2011-08-09 16:22:43 +02:00
Xavier Morel
b72ce5f76a
[ADD] handle case where 'toolbar' is disabled on the tree view
...
bzr revid: xmo@openerp.com-20110809135640-32vqiv6lxs9dr6oc
2011-08-09 15:56:40 +02:00
Xavier Morel
960330f5a3
[IMP] move more stuff to the template, use classes instead of images, not sure if improvement
...
bzr revid: xmo@openerp.com-20110809123547-2ebhlw5ysq3h3m0v
2011-08-09 14:35:47 +02:00
Fabien Meghazi
96280eea6d
[FIX] Fixed css problem for invalid fields
...
bzr revid: fme@openerp.com-20110809113625-0lunt6tdylj6apqh
2011-08-09 13:36:25 +02:00
Xavier Morel
680aeb0ae2
[IMP] remove bunch of crummy padding-fiddling JS, replace with slightly less crummy (but still pretty bad) padding code in template + CSS
...
bzr revid: xmo@openerp.com-20110809112527-tb4ycvd6d254duvn
2011-08-09 13:25:27 +02:00
Xavier Morel
605326208d
[REM] useless JS highlighting code
...
bzr revid: xmo@openerp.com-20110809104818-ukp0pa510dy26afp
2011-08-09 12:48:18 +02:00
Xavier Morel
a48ee7f21d
[IMP] UNDERSCORE EVERYTHING
...
bzr revid: xmo@openerp.com-20110809103407-me8938pzt0nx84d2
2011-08-09 12:34:07 +02:00
Xavier Morel
79d7da0ba1
[REM] bunch of useless shit in the code for hiding/displaying already-loaded records
...
bzr revid: xmo@openerp.com-20110809102951-vgy8sh2mws48fu3y
2011-08-09 12:29:51 +02:00
Xavier Morel
e483027956
[IMP] simplify and cleanup handling of clicking on a given table open/close icon; split out setup in a separate method
...
bind the event *once* at the table toplevel instead of binding it at every sub-tree display, which mandates adding supplementary code to filter out clicks coming from the wrong height of the tree and not concerning the record(s) we're interested in
bzr revid: xmo@openerp.com-20110809100438-i9546bkxydaz58ol
2011-08-09 12:04:38 +02:00
Xavier Morel
3724ff0545
[IMP] remove fixed todo comment
...
bzr revid: xmo@openerp.com-20110809091400-z0211vxj51exeve5
2011-08-09 11:14:00 +02:00
Xavier Morel
5c3d5d2319
[IMP] simplify, cleanup template, make better use of qweb
...
bzr revid: xmo@openerp.com-20110809090939-k8ru4p23lsnrnf0a
2011-08-09 11:09:39 +02:00
Xavier Morel
deed2ac28c
[FIX] incorrect traversal of the tree: field handling the parent-child relationship *must not* be hardcoded (it's provided by fields_view_get)
...
Also parent records provide the ids of their children directly, and fvg gives the name of the field in which these children live, there is no need to perform a search + read for every level of the tree past the first one, just perform a read() of the provided ids
bzr revid: xmo@openerp.com-20110809085628-klvic2fmlvfmxjt3
2011-08-09 10:56:28 +02:00
Xavier Morel
4aba2baf63
[IMP] only fetch fields we *need* when loading first level of treeview
...
bzr revid: xmo@openerp.com-20110809081247-789cmdb88nrdq306
2011-08-09 10:12:47 +02:00
Xavier Morel
864e850e97
[FIX] set action domain in the SearchDataSet in ViewManagerAction, use that to query the first treeview level
...
bzr revid: xmo@openerp.com-20110809081136-1q1nowzq4xj4jcwu
2011-08-09 10:11:36 +02:00
Xavier Morel
f951ca003d
[FIX] revision fme@openerp.com-20110808171407-mfclmemaljegwsgg missed some references to openerp.base.Dialog.options which should have been renamed to dialog_options
...
bzr revid: xmo@openerp.com-20110809074712-dyf3hkdrisj561x4
2011-08-09 09:47:12 +02:00
Fabien Meghazi
e0fdc7078b
[FIX] Fixed views options
...
bzr revid: fme@openerp.com-20110808173230-fdzbdeaegxpnszd1
2011-08-08 19:32:30 +02:00
Fabien Meghazi
16c38f64c7
[IMP] Dialog: renamed @options to @dialog_options in order to allow mixin without property collision
...
bzr revid: fme@openerp.com-20110808171407-mfclmemaljegwsgg
2011-08-08 19:14:07 +02:00
Fabien Meghazi
1a9e157eb5
[FIX] Avoid creating sidebar each time the list view reloads itself
...
bzr revid: fme@openerp.com-20110808163900-qxowalfph0xeypmg
2011-08-08 18:39:00 +02:00
Xavier Morel
05a9546794
[FIX] invisible and tree_invisible, cleanup template and remove duplications, simplify code, correctly use modifiers
...
bzr revid: xmo@openerp.com-20110808152343-p3pj1mx85uiofi63
2011-08-08 17:23:43 +02:00
Fabien Meghazi
6322a565f5
[IMP] Added View#do_switch_view
...
[REM] Removed references to view_manager out of list view
bzr revid: fme@openerp.com-20110808144120-xlut0922rd61moxc
2011-08-08 16:41:20 +02:00
Xavier Morel
46563bd391
[FIX] first code cleanup
...
* Remove unneeded fields_get in load, simplify return format for load (just return fields_view_get result)
* Simplify generation of base select for first level of records
* Remove special handling of selection fields
bzr revid: xmo@openerp.com-20110808143718-brwd62w7jy344d8r
2011-08-08 16:37:18 +02:00
Fabien Meghazi
ab2d202ed9
[FIX] Prevent field focus on embeded views
...
bzr revid: fme@openerp.com-20110808130847-vz15aorcqel040nu
2011-08-08 15:08:47 +02:00
Fabien Meghazi
7a41bdf232
[FIX] Fixed notebooks tab switching bug with on_changes. Improved notebook tab index initialization on new record creation.
...
bzr revid: fme@openerp.com-20110808120500-06aph84ix0axl3hc
2011-08-08 14:05:00 +02:00
Xavier Morel
dad68b79a7
[IMP] use Class.include() in editable listview, also in WebClient static home extension
...
but not as good: this._super references break when used in async contexts as the this._super reference has already been broken by the time the callback executes
bzr revid: xmo@openerp.com-20110808103424-043a0ro0o7r390s7
2011-08-08 12:34:24 +02:00
Xavier Morel
f130d1c374
[IMP] rename openerp.base.Class.mix to openerp.base.Class.include, // to Ruby's name for the same behavior
...
bzr revid: xmo@openerp.com-20110808095750-yhg1ixaump4rq09x
2011-08-08 11:57:50 +02:00
Xavier Morel
2f94a513bd
[ADD] method to extend classes in place (w/o reassignment)
...
semantics similar to ruby's Module.include
bzr revid: xmo@openerp.com-20110808094030-qfmi2s14vqz2nybz
2011-08-08 11:40:30 +02:00