Commit Graph

1288 Commits

Author SHA1 Message Date
Xavier Morel bd49735371 [IMP] convert listviews (non-editable anyway) to collections
bzr revid: xmo@openerp.com-20110817131635-cv3qcbiarmlk5o3o
2011-08-17 15:16:35 +02:00
Xavier Morel 2f8e6e62e5 [FIX] qweb2: incorrect tail call when using foreach() with a number (to iterate over a range)
bzr revid: xmo@openerp.com-20110817125541-wh95qu7jjwa7ojef
2011-08-17 14:55:41 +02:00
Xavier Morel 4ce473b8dc [ADD] basics for smarter collections to back the listview and its components
bzr revid: xmo@openerp.com-20110817085532-4chvix1odshuebvc
2011-08-17 10:55:32 +02:00
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 d33c95fc45 [IMP] only display shortcut toggle star in case the grandparent of the viewmanager is the WebClient
it's absolutely disgusting, but so far I have not find an other good way to know we're not in a weird place such as a dashboard action, so...

bzr revid: xmo@openerp.com-20110816141236-f95jnr2u9s34ho95
2011-08-16 16:12:36 +02:00
Xavier Morel c30f8b0d88 [IMP] CSS: fix position of shortcut-toggle-star and padding on the sides of the actual shortcuts
bzr revid: xmo@openerp.com-20110816140824-abeamy4qqpkoserz
2011-08-16 16:08:24 +02:00
Xavier Morel a2b0a44354 [IMP] use shortcuts list shoved directly into session as the communication channel between stuff adding and removing shortcuts in the viewmanager and the shortcuts list display in the header
no standard cross-elements communication method yet, so...

if there's one one day, it should replace this hodge-podge system. Also need better error handling

bzr revid: xmo@openerp.com-20110816140425-q2a71idlxnhuortb
2011-08-16 16:04:25 +02:00
niv-openerp 5a34b9fee1 [imp] added fallback support for translations
bzr revid: nicolas.vanhoren@openerp.com-20110816125912-5fkm71nb4y6yp3d0
2011-08-16 14:59:12 +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
niv-openerp 81ea898b8c [imp] added loading of encoding parameters
bzr revid: nicolas.vanhoren@openerp.com-20110816122450-1cpa3oq8j31hr4xd
2011-08-16 14:24:50 +02:00
Xavier Morel 840f25e143 [FIX] remove events during re-render, so they're not registered multiple times
bzr revid: xmo@openerp.com-20110816111746-hiv9699dfjss6njv
2011-08-16 13:17:46 +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
niv-openerp 6301669581 [imp] improvements to TranslationDatabase + small translations in forms
bzr revid: nicolas.vanhoren@openerp.com-20110816075405-o46ytaiw5sqkwgjw
2011-08-16 09:54:05 +02:00
niv-openerp e63f70d9b0 [imp] used the user language
bzr revid: nicolas.vanhoren@openerp.com-20110812154915-n7o666qfrc99aas8
2011-08-12 17:49:15 +02:00
niv-openerp 7342931a84 [imp] removed multi-module functionnality
bzr revid: nicolas.vanhoren@openerp.com-20110812153415-2u4irohduvv3yfsm
2011-08-12 17:34:15 +02:00
niv-openerp eca2d44bba [imp] added translation database
bzr revid: nicolas.vanhoren@openerp.com-20110812151736-ycx4jejdj0rpep5j
2011-08-12 17:17:36 +02:00
niv-openerp fb29f3a97e [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110812143947-7l5d1acum5298j0s
2011-08-12 16:39:47 +02:00
Xavier Morel a4f9eb398b [REM] listview columns filtering on a name being present: don't try to read buttons with a name, it's kinda stupid
bzr revid: xmo@openerp.com-20110812133108-5bync0jgo0krn0u4
2011-08-12 15:31:08 +02:00
Vidhin Mehta (OpenERP) 5f0eb9e11b [IMP] imporve code and re implement shortcut check functionality
bzr revid: vme@tinyerp.com-20110812123559-va1fumifmld75tdc
2011-08-12 18:05:59 +05:30
Xavier Morel 964ae3f196 [FIX] stupid bug introduced in revision xmo@openerp.com-20110810141545-k98nvymjy5r7sslb
bzr revid: xmo@openerp.com-20110812121127-m50vupb36bv0tnjy
2011-08-12 14:11:27 +02:00
Xavier Morel d6074e6619 [IMP] move openerp.base.Widget to relevant section of the actual dogs (as a guide), remove old manual openerp.base.Widget APIDoc
bzr revid: xmo@openerp.com-20110812103643-2ew32jiqdsm71jqe
2011-08-12 12:36:43 +02:00
niv-openerp 64571fa4ab [imp] refactoring of Session to not inherit Widget anymore
bzr revid: nicolas.vanhoren@openerp.com-20110812101952-qw12p8xhdfa3kmzu
2011-08-12 12:19:52 +02:00
Xavier Morel 4e5f4bd565 [IMP] simple style fixes
bzr revid: xmo@openerp.com-20110812094541-zeb5lz6nk0jgq21y
2011-08-12 11:45:41 +02:00
Xavier Morel 61e9552f6d [FIX] reintroduce o2m search field, aliases to CharField. Also make m2m search field an actual alias to CharField
bzr revid: xmo@openerp.com-20110812083610-utduagt0np0h7rib
2011-08-12 10:36:10 +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
Fabien Meghazi c1401ef8f0 [FIX] Fixed css problem with reauired fields
bzr revid: fme@openerp.com-20110811161927-ot5p552djlb1iigw
2011-08-11 18:19:27 +02:00
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 1dea8eff47 [FIX] action where res_id is defined
bzr revid: al@openerp.com-20110811145904-0on11bcatcvg8r3q
2011-08-11 16:59:04 +02:00
Xavier Morel 1dea9ed16f [FIX] when reloading the view description thingie, the listview needs to send the search context along so stuff line invisible attributes (for invisible columns) can be correctly evaluated
bzr revid: xmo@openerp.com-20110811144407-f5nlq89wqdh4z0pa
2011-08-11 16:44:07 +02:00
Xavier Morel 142ae74461 [FIX] re-introduce M2M widget
bzr revid: xmo@openerp.com-20110811131257-t6pdqsdrhuxgne22
2011-08-11 15:12:57 +02:00
niv-openerp 3c8664626c [fix] problem due alification
bzr revid: nicolas.vanhoren@openerp.com-20110811124813-ni1mdvcmp6gwvhsn
2011-08-11 14:48:13 +02:00
Xavier Morel adf903f0b0 [FIX] listview pagination
broken in fme@openerp.com-20110808144120-xlut0922rd61moxc, listview needs to get it from the action descriptor stored in the parent object

bzr revid: xmo@openerp.com-20110811084301-xp42ylhmv2ackhws
2011-08-11 10:43:01 +02:00
Xavier Morel 13c30f7b50 [IMP] avoid altering the dataset's domain and context in place during list view search
bzr revid: xmo@openerp.com-20110811082818-hhgdmn0k10tnbxm4
2011-08-11 10:28:18 +02:00
Xavier Morel 13c75281b0 [IMP] change DataSet.read_slice to take an options object for optional fields, offset and limit args
bzr revid: xmo@openerp.com-20110811070050-pkz6x39tf0i4e49r
2011-08-11 09:00:50 +02:00
Xavier Morel 93a1fa9263 [ADD] some jsdoc before refactoding dataset methods
bzr revid: xmo@openerp.com-20110811062835-smlv47aybl336q9b
2011-08-11 08:28:35 +02:00
Antony Lesuisse af721b53d1 [IMP] misc comments
bzr revid: al@openerp.com-20110811031000-z0nkvickg6dkfe0d
2011-08-11 05:10:00 +02:00
Antony Lesuisse bb381cb21f [FIX] viewmanageraction set action before _super
bzr revid: al@openerp.com-20110811030309-76p0gev9e2dqng2s
2011-08-11 05:03:09 +02:00
Antony Lesuisse f31d25f556 [IMP] cleanups, session in core, keep a ref to webclient in window.openerp.sessions for debugging
bzr revid: al@openerp.com-20110811024246-g3it6dtrqidzv0rx
2011-08-11 04:42:46 +02:00
Antony Lesuisse 51da265304 [FIX] list button actions
bzr revid: al@openerp.com-20110811020014-skhi0zscvs1n7md5
2011-08-11 04:00:14 +02:00
Antony Lesuisse 4fc1277932 [FIX] actionmanager ir.action.act_window_close and button special
bzr revid: al@openerp.com-20110811015232-sv31mivmb9zvpszs
2011-08-11 03:52:32 +02:00
Antony Lesuisse c605d7a770 [FIX] actionmanager dialog
bzr revid: al@openerp.com-20110810230213-k9qrjv491tetsaqj
2011-08-11 01:02:13 +02:00
Antony Lesuisse ea999bd1cd [FIX] dialog restore close hook fme
bzr revid: al@openerp.com-20110810222354-glykgj1cvvt57upa
2011-08-11 00:23:54 +02:00
Antony Lesuisse 0b9610e435 [IMP] remove actiondialog
bzr revid: al@openerp.com-20110810192509-isdf1h8vb758r07j
2011-08-10 21:25:09 +02:00
Fabien Meghazi 0cd8a79009 [ADD] Added exception throw when domain references an unknown field
bzr revid: fme@openerp.com-20110810154238-h18xpgjtbhqlr67d
2011-08-10 17:42:38 +02:00
Xavier Morel 84dde229f0 [IMP] use Class for Compound* types instead of manual prototypes
bzr revid: xmo@openerp.com-20110810145840-rblh9kouk1pf63by
2011-08-10 16:58:40 +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 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