Commit Graph

38 Commits

Author SHA1 Message Date
Xavier Morel ec7510b839 [FIX] documentation handling issues
bzr revid: xmo@openerp.com-20110328091809-kju0n2rw232z1pxf
2011-03-28 11:18:09 +02:00
Xavier Morel 5820b8f32c [MERGE] small refactoring from trunk
bzr revid: xmo@openerp.com-20110328083153-0uxa4m63aa3we8s7
2011-03-28 10:31:53 +02:00
Xavier Morel 6b3b5fec2f [IMP] extract attributes normalization in its own method, add some comments and fix style a bit (y u use has_key?)
bzr revid: xmo@openerp.com-20110328083112-v2y9y2ith7gidq50
2011-03-28 10:31:12 +02:00
Xavier Morel 1938cda158 [MERGE] fixes from trunk for annoying no-id-menu click
bzr revid: xmo@openerp.com-20110325133359-kjcjrhgu9niyjyw5
2011-03-25 14:33:59 +01:00
Xavier Morel 632d93afa7 [ADD] evaluation of search contexts and domains, hook ViewManager to the dataset in order to perform the correct search.
I'm pretty sure there's a race condition somewhere in there, in the initial loading of the whole mess I bet we can have the auto_search triggering before the list controller is done loading...

We probably need some deferred (one for each searchable view in the manager + one for the searchview itself) and a final one waiting on them all (I don't think jquery's deferred can do that built-in) before launching the auto_search

bzr revid: xmo@openerp.com-20110325123252-fjrgj4aicac3fo3b
2011-03-25 13:32:52 +01:00
Xavier Morel 049964817d [FIX] handle default values setting on search view
bzr revid: xmo@openerp.com-20110325103425-ag08qufuavok6kz0
2011-03-25 11:34:25 +01:00
Xavier Morel 0a7efc04dc [IMP] eval action context and domain straight as they come from a tree_but_open (on menu), add APIDoc for OpenERPSession
OpenERPSession is in charge of evaluating domains and contexts. Always.

bzr revid: xmo@openerp.com-20110325094119-fpd4e00w20kbgfzf
2011-03-25 10:41:19 +01:00
Fabien Meghazi 78f759622f [IMP] Remove unused line
bzr revid: fme@openerp.com-20110325080108-7c155e8xc27m0zvb
2011-03-25 09:01:08 +01:00
Fabien Meghazi a75c048ede [ADD] Transformation of fields view get during parsing. See http://pad.openerp.com/discoveries
bzr revid: fme@openerp.com-20110324201125-in8wgrad51aljoej
2011-03-24 21:11:25 +01:00
Antony Lesuisse 506a85c80e viewmanager part1
bzr revid: al@openerp.com-20110324163114-dvoi8l3nzmut5y63
2011-03-24 17:31:14 +01:00
Xavier Morel c6aab663bc [FIX] rst rtype specification for a bare list is the constructor name
bzr revid: xmo@openerp.com-20110323122217-ehqru2nu2iq2jhvj
2011-03-23 13:22:17 +01:00
Xavier Morel 1d587145de [IMP] fix docstrings on DataSet, insert into internal APIdoc (and fix documentation PYTHONPATH to generate this correctly)
bzr revid: xmo@openerp.com-20110323122126-3qj7vkhjsc6l0x5x
2011-03-23 13:21:26 +01:00
Xavier Morel 801fae18ca [ADD] implement forgotten DataSet.get RPC method, test it a bit
bzr revid: xmo@openerp.com-20110323120806-uhas8xvxnpsa1dm2
2011-03-23 13:08:06 +01:00
Xavier Morel 2594a8cad6 [ADD] tests for DataSet.(do_)find
bzr revid: xmo@openerp.com-20110323090801-vx75gc5vk0hx71og
2011-03-23 10:08:01 +01:00
Xavier Morel 3d65a024d2 [IMP] implement DataSet.find, rename .ids() to .fetch() (and the corresponding event), make list and form views use the new dataset API
bzr revid: xmo@openerp.com-20110323083441-ego3wphgpb94obrg
2011-03-23 09:34:41 +01:00
Xavier Morel efa2ac2939 [ADD] ids and set methods on DataSet
bzr revid: xmo@openerp.com-20110322191043-d2s7qz2riuv7tjkd
2011-03-22 20:10:43 +01:00
Xavier Morel 3b3494b27e [FIX] rooted application menus incorrectly, fixed tests
bzr revid: xmo@openerp.com-20110321154034-tqd03u8u7tpxm5vc
2011-03-21 16:40:34 +01:00
Xavier Morel 3d02b3f804 [ADD] tests for base.controllers.main.Menu.load
* Make model factory pluggable in OpenERPSession (so it's possible to mock the models handler)
* Split load between the JSON-RPC handler and the actual logic
* Add some docstring to Menu.do_load

bzr revid: xmo@openerp.com-20110321104735-9hmrsyoccueya9fh
2011-03-21 11:47:35 +01:00
Xavier Morel f201393fa4 [IMP] reformat Menu
bzr revid: xmo@openerp.com-20110321084324-0b3it36uhxk44lc8
2011-03-21 09:43:24 +01:00
Xavier Morel e9854573d1 [REM] old Hello controller
bzr revid: xmo@openerp.com-20110321081419-e2mv119gfm5kbaem
2011-03-21 09:14:19 +01:00
Xavier Morel 99f29c8202 [IMP] reformat python code in core and base
bzr revid: xmo@openerp.com-20110321081331-gvgb1qt6v80oq5hm
2011-03-21 09:13:31 +01:00
Xavier Morel 6cab13279a [FIX] inline temporary variable
bzr revid: xmo@openerp.com-20110317171403-s1p00g5omgix01uu
2011-03-17 18:14:03 +01:00
Antony Lesuisse 1d13b61284 login ask for db
bzr revid: al@openerp.com-20110317150153-afr9lmsy1ihuafrt
2011-03-17 16:01:53 +01:00
Antony Lesuisse 5f1e8c27c5 base_calendar
bzr revid: al@openerp.com-20110317145321-bchwp2kw8isof6xx
2011-03-17 15:53:21 +01:00
Antony Lesuisse b8b37b18a2 datarecord load
bzr revid: al@openerp.com-20110317140638-dgsu44ci48nnpevq
2011-03-17 15:06:38 +01:00
Antony Lesuisse 02bf3106d6 addons loading working
bzr revid: al@openerp.com-20110316172042-go8m79n6j8b6lmaa
2011-03-16 18:20:42 +01:00
Xavier Morel 59a5c4c2a5 [IMP] result dict creations
bzr revid: xmo@openerp.com-20110314093825-1gcwso6w27tt6stz
2011-03-14 10:38:25 +01:00
Xavier Morel 9cf7baee6b [FIX] use simplejson as json is not available on Python 2.5 (also simplejson has better perfs)
bzr revid: xmo@openerp.com-20110310155345-8nxu3i92hno4j2yc
2011-03-10 16:53:45 +01:00
Antony Lesuisse 10104a2bf0 addons js loading
bzr revid: al@openerp.com-20110311132622-otrxhghgox9jqax6
2011-03-11 14:26:22 +01:00
Antony Lesuisse 5971491a13 skeleton part1
bzr revid: al@openerp.com-20110310115123-5a4i2wg3lw33kqv5
2011-03-10 12:51:23 +01:00
niv-openerp 2e2d85503a [FIX] compilation problems
bzr revid: nicolas.vanhoren@openerp.com-20110308162041-0t6kk49hfmf13hay
2011-03-08 17:20:41 +01:00
niv-openerp 13d8b38c4e [FIX] Cleaned for eclipse.
bzr revid: nicolas.vanhoren@openerp.com-20110308145754-uzjzt5unoa2sslri
2011-03-08 15:57:54 +01:00
niv-openerp 747783efea [FIX] Corrected indentation.
bzr revid: nicolas.vanhoren@openerp.com-20110308145530-rdy43672n558kq5s
2011-03-08 15:55:30 +01:00
Antony Lesuisse 04eaeaaeb4 addons loading part2
bzr revid: al@openerp.com-20110308111954-7z5sp3jtp0skllze
2011-03-08 12:19:54 +01:00
Fabien Meghazi c19798a74e Fix indentation
bzr revid: fme@openerp.com-20110307135237-q6w2asndu84an7a7
2011-03-07 14:52:37 +01:00
Antony Lesuisse fc679ac8a5 preliminary addons loading support
bzr revid: al@openerp.com-20110307092632-e0a6rho0bvuk04ei
2011-03-07 10:26:32 +01:00
Fabien Meghazi f435d8ca99 Include xml2json_direct in main. Converted node.@attribute to node.attrs = {}
bzr revid: fme@openerp.com-20110303145552-f4cbxu2oi01ykbxl
2011-03-03 15:55:52 +01:00
Antony Lesuisse 820630a906 openobject is dead long live to openerpweb
bzr revid: al@openerp.com-20110302185606-gcag0tlkcli0kqas
2011-03-02 19:56:06 +01:00