Commit Graph

303 Commits

Author SHA1 Message Date
Xavier Morel ed9db7c2c7 [ADD] shortcuts menu in header, with toggle star next to titles
bzr revid: xmo@openerp.com-20110816143038-3fpx5esytlyuvkrw
2011-08-16 16:30:38 +02:00
Xavier Morel ffae7cb4b3 [MERGE] from trunk
bzr revid: xmo@openerp.com-20110816142515-ohq33zvua5uq8cd3
2011-08-16 16:25:15 +02:00
Xavier Morel e74e307080 [IMP] numerical id => move to data-id, from @id. Also fixes active_id as string which failed to match the numerical id stored, and did not mark the toggler as 'to remove' when opening an action from the corresponding shortcut
bzr revid: xmo@openerp.com-20110816123724-2ti43xqeue3esx3x
2011-08-16 14:37:24 +02:00
Xavier Morel 1d5f8506c8 [IMP] cleanup shortcuts toggle code
bzr revid: xmo@openerp.com-20110816123510-gcx0dk8b2sgox5oi
2011-08-16 14:35:10 +02:00
Xavier Morel b1e8671583 [IMP] remove some dead code, simplify shortcuts template, replace shortcut id by class
bzr revid: xmo@openerp.com-20110816102620-b7zodiqoi91rz0m1
2011-08-16 12:26:20 +02:00
Vidhin Mehta (OpenERP) f17f4bbd48 [IMP]checked that shortcut are from either ir.ui.menu or it is tree view
bzr revid: vme@tinyerp.com-20110812071248-y9oqa8t1wx61xciu
2011-08-12 12:42:48 +05:30
niv-openerp a245bf3719 [imp] add Save & New in popups for o2m & m2m
bzr revid: nicolas.vanhoren@openerp.com-20110811160347-rn4kjlpib1lh1o5p
2011-08-11 18:03:47 +02:00
Antony Lesuisse 8bade5d04d [FIX] database password naming
bzr revid: al@openerp.com-20110810143039-9ifxkl9qjl4kkm0s
2011-08-10 16:30:39 +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 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
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
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 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 3e47a488ee [MERGE] from trunk
bzr revid: xmo@openerp.com-20110809145209-y00jwf75mkpi93c6
2011-08-09 16:52:09 +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
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 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 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
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
Vidhin Mehta (OpenERP) 9ad05c699b [IMP]Implement shortcut functionality.
bzr revid: vme@tinyerp.com-20110808111616-2qi3d6hfebix0uho
2011-08-08 16:46:16 +05:30
niv-openerp dd09eb8f8d [fix] fixed double-click on labels that was broken
bzr revid: nicolas.vanhoren@openerp.com-20110804152045-51mwgtdpro03i33w
2011-08-04 17:20:45 +02:00
Xavier Morel e3b56ecec4 [IMP] create new databases without demo data by default
bzr revid: xmo@openerp.com-20110804122300-zr1aq3bl5oq7rpxt
2011-08-04 14:23:00 +02:00
Fabien Meghazi e0bde41f47 [IMP] Improved css (again)
bzr revid: fme@openerp.com-20110803125052-0j7q68himoylw7r3
2011-08-03 14:50:52 +02:00
Fabien Meghazi fc065eabd7 [FIX] Fixed more css
bzr revid: fme@openerp.com-20110803124702-w6ja309afcp818qk
2011-08-03 14:47:02 +02:00
Xavier Morel 620e3ad55b [MERGE] updates from trunk
bzr revid: xmo@openerp.com-20110802094717-yxmi281j1l139tws
2011-08-02 11:47:17 +02:00
Xavier Morel 808a015933 [IMP] remove redundant 'db' qualifiers in Database methods and JSON-RPC methods
bzr revid: xmo@openerp.com-20110802091849-6jobmumdqw4o6j68
2011-08-02 11:18:49 +02:00
Xavier Morel 68cb923ec6 [FIX] backup restoration, works almost 60% of the time
bzr revid: xmo@openerp.com-20110801144728-zh1d6nqpf19i6x7p
2011-08-01 16:47:28 +02:00
Xavier Morel 0fd884d234 [FIX] fully reimplement dumping a DB so that it works correctly
* handler should be an httprequest, as we're returning a binary file (maybe we could use ajax with file API abd b64, but... not now)
* use cookie-hack to know when the file is downloading (or is finished downloading, not sure which, not that it matters) so we can add some kind of UI signal

bzr revid: xmo@openerp.com-20110801131254-ik4m8yyc526pz7rf
2011-08-01 15:12:54 +02:00
Xavier Morel 4aed9098ca [IMP] don't duplicate en_US lang in create db, remove redundant <t> elements in select templates
bzr revid: xmo@openerp.com-20110801105838-5arrf4nppsle5akt
2011-08-01 12:58:38 +02:00
Xavier Morel 5ebea36bf9 [FIX] broken markup in drop db template leading to broken rendering
bzr revid: xmo@openerp.com-20110801105231-xbxxzyx8rbr9wg7a
2011-08-01 12:52:31 +02:00
Xavier Morel c6f9cb5eb6 [FIX] improve usage of jquery validator, don't trigger RPC requests on invalid forms
* Use jquery.validate's submitHandler callback so the RPC calls are *only* performed when forms are valid
* Move rules creation to markup when possible
* Setup basic rule failure messages in validate() call, not afterwards

bzr revid: xmo@openerp.com-20110801104453-a3iuyn033en57495
2011-08-01 12:44:53 +02:00
Bhumi Thakkar (Open ERP) b09cc1ecca [IMP] Values corresponding of colums.
bzr revid: bth@tinyerp.com-20110729115654-2x00msrjrag20ot6
2011-07-29 17:26:54 +05:30
Fabien Meghazi e71bb13c01 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110728161638-mfqq72naijtd21fg
2011-07-28 18:16:38 +02:00
Fabien Meghazi 64922add3a [IMP] Improve sidebar
bzr revid: fme@openerp.com-20110728151545-2fsy941wjznod4q8
2011-07-28 17:15:45 +02:00
Yogesh (OpenERP) e766d1892f In css the convention is to prepend all css declarations with .openerp.
bzr revid: ysa@tinyerp.com-20110728051953-cpjaae65bgrfr8cf
2011-07-28 10:49:53 +05:30
Fabien Meghazi 5ca8686fcc [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110727114430-kzyiq9avv2kur1zm
2011-07-27 13:44:30 +02:00
Bhumi Thakkar (Open ERP) 211d3b6194 [FIX] Minor Changes For Selection Field.
bzr revid: bth@tinyerp.com-20110727112617-rkr4zyu3kk3vvhcd
2011-07-27 16:56:17 +05:30
Fabien Meghazi 87206f1fd5 [FIX] Forgot some flags reference in previous commit
bzr revid: fme@openerp.com-20110727081448-fbspxdyx1oefmus4
2011-07-27 10:14:48 +02:00
noz (OpenERP) fca67e2ab4 [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110727053822-olbfv0ljww17cz9c
2011-07-27 11:08:22 +05:30
Fabien Meghazi d0234fa5dd [IMP] new Sidebar controller
Now, the views are responsible of the management of their own sidebar.
There is one sidebar per view.
The viewmanager creates the divs for each sidebar (as it does for each view).
The new Sidebar controller allows custom section with their own controller.

bzr revid: fme@openerp.com-20110726210005-xyalvw764y2xhvte
2011-07-26 23:00:05 +02:00
noz (OpenERP) 9f31d81739 [FIX] Removed tabs and added spaces and header string for operation.
bzr revid: noz@tinyerp.com-20110726084714-p4u13eevuf5nw4oc
2011-07-26 14:17:14 +05:30
niv-openerp bf0f008f60 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110725122231-oe0glu5cxqm7n0bw
2011-07-25 14:22:31 +02:00
niv-openerp fb0c16e24e [imp] added possibility to save filters
bzr revid: nicolas.vanhoren@openerp.com-20110725113740-8q9vo1rlvexertc1
2011-07-25 13:37:40 +02:00
Xavier Morel 05b9d6217f [FIX] formatting of aggregated fields, formatting of floats in list view (use digits if available, otherwise default to 2)
bzr revid: xmo@openerp.com-20110725102949-z7nkuwyybuczazxy
2011-07-25 12:29:49 +02:00
niv-openerp 5bc4c09c3a [imp] remember db on login screen
bzr revid: nicolas.vanhoren@openerp.com-20110725095232-fzy7rs43y1udha4b
2011-07-25 11:52:32 +02:00