Commit Graph

179 Commits

Author SHA1 Message Date
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
niv-openerp d80b269891 [imp] corrected some problems with context and domains in relation + evalution of non literal context/domains
bzr revid: nicolas.vanhoren@openerp.com-20110630123113-tnzb6owv8kxtl3sw
2011-06-30 14:31:13 +02:00
Xavier Morel 1e8072ea2d [FIX] act_window actions not coming from the db and missing a views key (and collection): generate views from whatever can be found in view_mode and view_id
bzr revid: xmo@openerp.com-20110630064651-701903va7mgbps7g
2011-06-30 08:46:51 +02:00
Xavier Morel 3cd6c86f87 [ADD] support for server actions
bzr revid: xmo@openerp.com-20110630062424-gmnlahmexklnftbk
2011-06-30 08:24:24 +02:00
Xavier Morel ef3a71fec3 [IMP] let non-act_window actions pass through unmolested by clean_action, which is currently mostly there to cleanup the junk in act_window actions
bzr revid: xmo@openerp.com-20110629151400-pyv48na2wecp7rhj
2011-06-29 17:14:00 +02:00
Xavier Morel e6483eb6ba [FIX] typos in python code
bzr revid: xmo@openerp.com-20110629131233-tvxwkrke73ytrw2a
2011-06-29 15:12:33 +02:00
Fabien Meghazi d933184dcc [ADD] Added Dataset#call_button for form's buttons triggering action that should be cleaned
bzr revid: fme@openerp.com-20110628155956-yj8m2r7kpjye5m8v
2011-06-28 17:59:56 +02:00
niv-openerp e819561d1a [imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation
bzr revid: nicolas.vanhoren@openerp.com-20110628145413-ljqdmunxi7ykmytz
2011-06-28 16:54:13 +02:00
niv-openerp 63a5ac2355 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628140534-3lvqp50zrav7s7ld
2011-06-28 16:05:34 +02:00
niv-openerp 58e236eb44 [fix] redesigned evaluation contexts
bzr revid: nicolas.vanhoren@openerp.com-20110628140418-lxmclab51ll0iwdd
2011-06-28 16:04:18 +02:00
niv-openerp aa9eedee9e [imp] added evaluation context into compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628133407-yoqcfl6z3gm90ct6
2011-06-28 15:34:07 +02:00
Fabien Meghazi 85e0fbc6fe [FIX] Removed global bin_size causing problems in context. Will activate it only when needed.
Don't forget to logout/login in order to purge context after you pull this revision

bzr revid: fme@openerp.com-20110628133044-dp9jm6aj7ixzc69p
2011-06-28 15:30:44 +02:00
niv-openerp 46d87b34b0 [imp] added evaluation context to compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628121747-e8y1y3avglshzxv1
2011-06-28 14:17:47 +02:00
niv-openerp 7f8b7e7bc1 [imp] removed useless method in main.py
bzr revid: nicolas.vanhoren@openerp.com-20110623155946-mj3lca6u617exxsn
2011-06-23 17:59:46 +02:00
Xavier Morel 1e0fc68cad [IMP] rpc search_read and internal managment of DataSetSearch.read_slice to better handle pagination
* /base/dataset/search_read now returns a dict of {ids, records} where ids are *not* paginated and is an ordered sequence of all the ids matching the unpaginated search criteria (domain, context, sort)
    records is the old toplevel result: an ordered, paginated sequence of the records read (with fields correctly selected and everything)
* Removed context param to search_read since context comes from request object

bzr revid: xmo@openerp.com-20110622145559-3r2jszyddvbsz3hq
2011-06-22 16:55:59 +02:00
niv-openerp 8ab9cd3411 [imp] changed bin_size behavior
bzr revid: nicolas.vanhoren@openerp.com-20110620105818-gq2ajlxl4npwn038
2011-06-20 12:58:18 +02:00
Fabien Meghazi 4b2ac6b298 [FIX] Fixed context support for action loaded by menu
bzr revid: fme@openerp.com-20110620095558-qstmnthsio1ig3n6
2011-06-20 11:55:58 +02:00
niv-openerp 23dbe20028 [imp] big improvements to context handling
bzr revid: nicolas.vanhoren@openerp.com-20110617160849-zevutg246ns1ghrk
2011-06-17 18:08:49 +02:00
niv-openerp 157273f15a [imp] added default name on false quick create in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110617141945-wnnhkhf8wezwfyed
2011-06-17 16:19:45 +02:00