Commit Graph
33187 Commits
Author SHA1 Message Date
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
Olivier Dony 7742f7ff1a [IMP] res.users: slightly better views for email preferences
More consistent, better-looking, and no hyphen in "email",
as this is the convention from now on for english labels

bzr revid: odo@openerp.com-20110809105724-sinwgr2du47kmime
2011-08-09 12:57:24 +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
Quentin (OpenERP) 13ecd980b7 [IMP] project_issue: adding new field inactivity_days, that can be used in tree view to color late things on which action is needed
bzr revid: qdp-launchpad@openerp.com-20110809103736-yd4hokhciyy681pl
2011-08-09 12:37:36 +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
Rucha (Open ERP) 324e4a4fad [ADD]: project_issue: Added new field inactivity days, which is the difference between the last_action_date and today
bzr revid: rpa@tinyerp.com-20110809102304-qhyv4xmwlrbpfumu
2011-08-09 15:53:04 +05:30
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
Launchpad Translations on behalf of openerp 4c6e88ba46 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110809045042-2gdi00rnxmh7s0ki
2011-08-09 04:50:42 +00: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 a0a0505c7e [FIX] Fixed event deletion in calendar view
bzr revid: fme@openerp.com-20110808141840-8gxx1ssqd5e0l8y1
2011-08-08 16:18:40 +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
Quentin (OpenERP) f02dc603db [FIX] crm_partner_assign: switch latitude and longitude fields
bzr revid: qdp-launchpad@openerp.com-20110808124110-vi2q17dbvsadale4
2011-08-08 14:41:10 +02:00
Fabien Meghazi be0778eff1 [FIX] Dashboard could not be reloaded with 'Reset' button
bzr revid: fme@openerp.com-20110808123830-1v7x45v38ys1vixj
2011-08-08 14:38:30 +02:00
Vo Minh Thu bc52bf9827 [MERGE] tools/convert.py: better indentation.
bzr revid: vmt@openerp.com-20110808121221-6zksngrib69cdei7
2011-08-08 14:12:21 +02:00
Vo Minh Thu 635580f463 [MERGE] rml2txt.py: /bin/env should be /usr/bin/env.
bzr revid: vmt@openerp.com-20110808120856-cw0u989ckqj767nt
2011-08-08 14:08:56 +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 6ab80e92e7 [FIX] res.users: correctly json-encode modifiers in generated fields_view_get
bzr revid: xmo@openerp.com-20110808115207-y2a0p9c0z4uk7bo5
2011-08-08 13:52:07 +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
Xavier Morel 0056818c76 [ADD] some tests for base class
bzr revid: xmo@openerp.com-20110808083235-gid40uswzyfcx1e1
2011-08-08 10:32:35 +02:00
Xavier Morel 94b06f2d1d [ADD] @namespace annotations for window.openerp so ide stops whining
bzr revid: xmo@openerp.com-20110808081734-lx8mj3eywtseir0s
2011-08-08 10:17:34 +02:00
Xavier Morel 3fcd34682e [REF] reindent openerp,base.Class for clarity
bzr revid: xmo@openerp.com-20110808081101-43h9c4ny8g59p4ho
2011-08-08 10:11:01 +02:00
Xavier Morel d987cea9f6 [FIX] favicon path in tests
bzr revid: xmo@openerp.com-20110808072450-sl95nkts036kpu9g
2011-08-08 09:24:50 +02:00
Xavier Morel 9b751b0686 [REM] list tests, completely broken
bzr revid: xmo@openerp.com-20110808070611-i0e6zmaejftcga0u
2011-08-08 09:06:11 +02:00
Xavier Morel 8540d27122 [FIX] kinda sorta fix JS tests post-refs (add links to boot.js and core.js, update jquery to 1.6, remember to initialize openerp.base.core)
bzr revid: xmo@openerp.com-20110808070523-sav9wafwuqdggl97
2011-08-08 09:05:23 +02:00
Launchpad Translations on behalf of openerp 7fe942991c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110807043729-g8qz14f69cr0wpi6
bzr revid: launchpad_translations_on_behalf_of_openerp-20110808043648-93fd7m8c1sgdeu97
2011-08-08 04:36:48 +00:00
Antony Lesuisse 76ffd4ab7f [MERGE] trunk-usability-modify_sale_application_configuration-aar
bzr revid: al@openerp.com-20110806132420-i2497zs0uvxtj5a2
2011-08-06 15:24:20 +02:00