Commit Graph

197 Commits

Author SHA1 Message Date
Xavier Morel c605283990 [FIX] error handling in db backup operation
bzr revid: xmo@openerp.com-20110802092845-anf3pndd7nfidsos
2011-08-02 11:28:45 +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 21aab96e41 [IMP] deduplicate display of error dialog, add some error handling improvements to restore db
bzr revid: xmo@openerp.com-20110802091344-3lk1wk7ctjhs0j3p
2011-08-02 11:13:44 +02:00
Xavier Morel 71862dfc35 [IMP] block UI during db creation
bzr revid: xmo@openerp.com-20110802070007-z3ameuhsr84w51cs
2011-08-02 09:00:07 +02:00
Xavier Morel 7c1ecda162 [FIX] get correct field name in chane_password method
bzr revid: xmo@openerp.com-20110801145437-x0qyfk5fsg7ivc9o
2011-08-01 16:54:37 +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 b159aab446 [IMP] simplify unpacking of parameters in db operations, cleanup error handling as well
bzr revid: xmo@openerp.com-20110801091107-cw5rx59s2kgbgo51
2011-08-01 11:11:07 +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
noz (OpenERP) 42a1093225 [FIX] Used jQuery's serializeArray to get the form values.
bzr revid: noz@tinyerp.com-20110726124523-8unw7svihn7r159q
2011-07-26 18:15:23 +05:30
noz (OpenERP) a5476e9749 [FIX] Update code for exception handling.
bzr revid: noz@tinyerp.com-20110726082002-r5j6cbzzz4lyitzj
2011-07-26 13:50:02 +05:30
noz (OpenERP) 01ae186bec [FIX] Fixed spaces instead of tabs.
bzr revid: noz@tinyerp.com-20110726080318-gu5xvwlepj8o7nmi
2011-07-26 13:33:18 +05:30
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
Antony Lesuisse 8737e4af14 [IMP] remove base from listed modules
bzr revid: al@openerp.com-20110723135344-xryjmq2hc259sm7g
2011-07-23 15:53:44 +02:00
niv-openerp fb18826093 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110722161904-al9ifl50mv9omjmg
2011-07-22 18:19:04 +02:00
niv-openerp 95ccd74114 [imp] made usage of a managed filter possible
bzr revid: nicolas.vanhoren@openerp.com-20110722153505-g5mukqwfmd6eup2t
2011-07-22 17:35:05 +02:00
Antony Lesuisse 66a054ab7d [IMP] get rid of base.html
bzr revid: al@openerp.com-20110722142824-u7j7gu3o00skliwi
2011-07-22 16:28:24 +02:00
noz (OpenERP) 3409288eae [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110719115409-pdha2nr3o7eyss22
2011-07-19 17:24:09 +05:30
niv-openerp dc764a3832 [fix] little correction in clean_action
bzr revid: nicolas.vanhoren@openerp.com-20110718142923-drk0tvdl8jj2z54f
2011-07-18 16:29:23 +02:00
noz (OpenERP) 8484c9577c [Merge] Merged with latest branch.
bzr revid: noz@tinyerp.com-20110718053005-40qxjjeybb9xv294
2011-07-18 11:00:05 +05:30
niv-openerp f40328b46a [imp] added some context/domain parsing in fields_get too
bzr revid: nicolas.vanhoren@openerp.com-20110714155438-4x8u4wsrkm82w7cj
2011-07-14 17:54:38 +02:00
Xavier Morel 55be9c8aa0 [FIX] fields fixer in process_view: contexts should be parsed via parse_context, has_key should not be used, dict.get ~ in + __getitem__
bzr revid: xmo@openerp.com-20110714153647-qilykek2df0uhp3t
2011-07-14 17:36:47 +02:00
niv-openerp 90bb70473e [fix] big fix related to domains and contexts defined in a model
bzr revid: nicolas.vanhoren@openerp.com-20110714135200-03e9ovknnz9lusni
2011-07-14 15:52:00 +02:00
Xavier Morel 9d814c830b [FIX] remove bloody crazy (and useless) indirection keys in DataSet.call and DataSet.get_result RPC methods
bzr revid: xmo@openerp.com-20110714100522-94rp1otj1n4hrf2x
2011-07-14 12:05:22 +02:00
noz (OpenERP) 59aa97860b [FIX] Removed print statement.
bzr revid: noz@tinyerp.com-20110713105314-bgbbw3xt2loo2h8w
2011-07-13 16:23:14 +05:30
noz (OpenERP) 18f7e351c8 [FIX] Merged with main branch and created separate class for database operations.
bzr revid: noz@tinyerp.com-20110713105058-ptb2ejnlml8ccugj
2011-07-13 16:20:58 +05:30
Xavier Morel d1209c847b [FIX] sorting list views
lp bug: https://launchpad.net/bugs/809309 fixed

bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
noz (OpenERP) dfb7f58c40 [FIX] Partially implemented Create Database (DB creation without any configuration wizard).
bzr revid: noz@tinyerp.com-20110713103552-47ncaeqafv26vb12
2011-07-13 16:05:52 +05:30
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
noz (OpenERP) e370808a84 [FIX] Validation for bad database name.
bzr revid: noz@tinyerp.com-20110713094339-1612ynj0dc40roo7
2011-07-13 15:13:39 +05:30
noz (OpenERP) bcccef82d0 [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110713093209-3f2njjjhp0cgd5rj
2011-07-13 15:02:09 +05:30
noz (OpenERP) 59bb0fd4e6 [FIX] Better error popup messages.
bzr revid: noz@tinyerp.com-20110713092242-0q5ii7haqfhldgtl
2011-07-13 14:52:42 +05:30
Antony Lesuisse a2e890635b db filter typo
bzr revid: al@openerp.com-20110713120411-tm9j4x9tmgw08mdy
2011-07-13 14:04:11 +02:00
Fabien Meghazi 3e79375a01 [FIX] clean_action not always return action
bzr revid: fme@openerp.com-20110712133430-l55d0bwxwb0znke1
2011-07-12 15:34:30 +02:00
Xavier Morel 8ac948f360 [FIX] explicitly pass a list of fields to read_group instead of False
read_group does not take inherited fields in its default list-of-fields-to-read, so if grouping on an inherited field it will blow up

conversely, read_group can not aggregate on inherited numerical fields, so if it reads *all* the columns (including inherited) it will try to aggregate on fields it's not reading and that's also going to blow up.

bzr revid: xmo@openerp.com-20110711113228-18mbcft9y2lf7ptm
2011-07-11 13:32:28 +02:00
noz (OpenERP) 84fd866212 [Merge] With trunk upto revision 584.
bzr revid: noz@tinyerp.com-20110711072314-kas966zook3joe8p
2011-07-11 12:53:14 +05:30
Fabien Meghazi f0f386e748 [REM] Removed use of attrs and replaced it with modifiers
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8

bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-07-07 12:37:40 +02:00
noz (OpenERP) fd6563b818 [FIX] Improved required validation.
bzr revid: noz@tinyerp.com-20110707090444-iaf58v4umq53lb88
2011-07-07 14:34:44 +05:30
niv-openerp ea9b60393e [imp] desactivated stupid hello module
bzr revid: nicolas.vanhoren@openerp.com-20110707084415-6or8nj1mrt9pql7e
2011-07-07 10:44:15 +02:00
Xavier Morel 1847dbc017 [MERGE] list pagination branch
bzr revid: xmo@openerp.com-20110706083214-1thifexcz5pk0jih
2011-07-06 10:32:14 +02:00
noz (OpenERP) 0f88193e8f [FIX] Some improvement in exception handling.
bzr revid: noz@tinyerp.com-20110706071546-w9fcjdsbxg473a90
2011-07-06 12:45:46 +05:30
noz (OpenERP) 5ffdaf4ec1 [FIX] Fixed methods for submit.
bzr revid: noz@tinyerp.com-20110705134213-c83d7bxpxd676uu4
2011-07-05 19:12:13 +05:30
noz (OpenERP) 15ef484d7d [IMP] Implemented validation for Change password.
bzr revid: noz@tinyerp.com-20110705131053-ccjarqd328y5hsk8
2011-07-05 18:40:53 +05:30
noz (OpenERP) 6c971a0fda [IMP] Improved methods for backup, restore, change password.
bzr revid: noz@tinyerp.com-20110704134823-bhn2qg4nwgx819ii
2011-07-04 19:18:23 +05:30
noz (OpenERP) 9d77bed1ca [FIX] Handled exception when dropping a database.
bzr revid: noz@tinyerp.com-20110704131838-lf4x944os5ynuy0u
2011-07-04 18:48:38 +05:30
noz (OpenERP) 38340f448d [FIX] Created common method for all Database operations.
bzr revid: noz@tinyerp.com-20110701122430-lhomemgtfay5jeev
2011-07-01 17:54:30 +05:30
noz (OpenERP) dc2cdac7e0 [IMP] Implemented Drop DB feature.
bzr revid: noz@tinyerp.com-20110701122222-kph026dlps1tkgzq
2011-07-01 17:52:22 +05:30
noz (OpenERP) 1f44208fd7 [FIX] Implement get languages function.
bzr revid: noz@tinyerp.com-20110701065842-a9nlwe33lrco3siu
2011-07-01 12:28:42 +05:30
Xavier Morel 1b236bd882 [FIX] xmlrpclib being an asshole
xmlrpclib.ServerProxy will convert XMLRPC strings to 'str'. Or to 'unicode' if it does not feel right today, or just wants to fuck with you. Competence is overrated!

Check precise type of view archiectures and re-encode to str if we're facing unicode strings, so it's possible to feed these little bastards to ElementTree

bzr revid: xmo@openerp.com-20110630142528-1xtj61gaou2klzme
2011-06-30 16:25:28 +02:00