Xavier Morel
f21bb336d3
[FIX] dataset search, 'context' is popped from kwargs into the request object, and should be taken from there for RPC calls
...
bzr revid: xmo@openerp.com-20110411075846-9qxzabjav0y1l47n
2011-04-11 09:58:46 +02:00
Xavier Morel
669b109bde
[FIX] docstring for DataSet.do_search_read: missing 'fields' param
...
bzr revid: xmo@openerp.com-20110411063054-jybr8z734xy3qndp
2011-04-11 08:30:54 +02:00
Xavier Morel
75bf28388b
[IMP] improvements to View.normalize_attrs
...
bzr revid: xmo@openerp.com-20110411062541-mjib0mm8wk7ujlyy
2011-04-11 08:25:41 +02:00
niv-openerp
66a79b7e3f
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110408161023-barazui14iowxptr
2011-04-08 18:10:23 +02:00
niv-openerp
29ed9f9be3
[IMP] Action wip - popup is working.
...
bzr revid: nicolas.vanhoren@openerp.com-20110408152508-5mes2key0yzq9avq
2011-04-08 17:25:08 +02:00
Fabien Meghazi
2acfa4ba06
[ADD] form: Basic new record support
...
bzr revid: fme@openerp.com-20110407130725-0o4d8j2kgko8b7jn
2011-04-07 15:07:25 +02:00
niv-openerp
887ec82f20
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110407130644-n4u84iz4uk4ii3z2
2011-04-07 15:06:44 +02:00
Antony Lesuisse
51d8fdd646
[MERGE] gantt viw from trunk-proto61-dhtmlx-gantt-cpa
...
bzr revid: al@openerp.com-20110407121331-wx5uwrhtmsnrlsj9
2011-04-07 14:13:31 +02:00
niv-openerp
c8e100f8cd
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110407101319-5axkyl54kts7u7n4
2011-04-07 12:13:19 +02:00
niv-openerp
0cab8e6972
[IMP] Actions handling wip
...
bzr revid: nicolas.vanhoren@openerp.com-20110407095912-r6cqswx9pvo684ek
2011-04-07 11:59:12 +02:00
Antony Lesuisse
a65ac8c709
dataset split, crashmanager
...
bzr revid: al@openerp.com-20110406211037-uzn3n0uravuy900q
2011-04-06 23:10:37 +02:00
niv-openerp
a7db336065
[IMP] Changed way the sidebar is created.
...
bzr revid: nicolas.vanhoren@openerp.com-20110406144751-or0o86gvqe5sa21h
2011-04-06 16:47:51 +02:00
niv-openerp
1f2ebfbc44
[IMP] small improvement to fields_view_get
...
bzr revid: nicolas.vanhoren@openerp.com-20110406134418-hv5gii3htphwz4g8
2011-04-06 15:44:18 +02:00
Fabien Meghazi
704e180bfc
[ADD] Add call() to dataset. Moved datarecord methods in dataset
...
bzr revid: fme@openerp.com-20110406132934-7jwgrkhi78xbffsb
2011-04-06 15:29:34 +02:00
Fabien Meghazi
ed4a5a656e
[ADD] Added context in writes
...
bzr revid: fme@openerp.com-20110406095804-zcvci559rgro60zp
2011-04-06 11:58:04 +02:00
Fabien Meghazi
052ee7bb31
[ADD] Added datarecord#save
...
bzr revid: fme@openerp.com-20110405143229-a7voaqvhnipx0vzu
2011-04-05 16:32:29 +02:00
niv-openerp
df3257a741
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110404160926-f1uwddcknsezvamr
bzr revid: nicolas.vanhoren@openerp.com-20110405101739-iubtgou4lrnftmi2
2011-04-05 12:17:39 +02:00
Fabien Meghazi
6dd76ea8f6
[FIX] Simplified dataset. Plugged form view.
...
bzr revid: fme@openerp.com-20110404150619-z8tc382ujdfw89ji
2011-04-04 17:06:19 +02:00
niv-openerp
00188c2980
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110404142640-bgdhe7jcwdug4qq2
2011-04-04 16:26:40 +02:00
niv-openerp
19a8432167
[IMP] Added populate sidebar.
...
bzr revid: nicolas.vanhoren@openerp.com-20110404134705-rmzbxlobntfoblub
2011-04-04 15:47:05 +02:00
Xavier Morel
0a5a8cd81a
[IMP] show and hide search view based on whether the currently displayed view is searchable
...
Note: searchability is *opt-out*, a view is searchable until it unambiguously states 'do not search me'
bzr revid: xmo@openerp.com-20110401104500-n7g6so01xb8oow3n
2011-04-01 12:45:00 +02:00
Xavier Morel
f40d778c2e
[FIX] some domains and contexts have leading or trailing slashes, need to strip them before evaluation
...
bzr revid: xmo@openerp.com-20110401094835-k1w7xlgdcyppt7io
2011-04-01 11:48:35 +02:00
Xavier Morel
baf8d2d9a9
[IMP] server behavior fix: split tree view mode into tree and list based on view_type, nuke view_type
...
bzr revid: xmo@openerp.com-20110331152531-cpff6js0k8v4dtk9
2011-03-31 17:25:31 +02:00
Antony Lesuisse
b700dcf63f
[MERGE] xmo search views
...
bzr revid: al@openerp.com-20110329125042-5vaketmxekhv4r39
2011-03-29 14:50:42 +02:00
Xavier Morel
c3d74fe290
[ADD] handling of own values on fields (e.g. self, values which are used to evaluate the field's context and domain, but not any other field's)
...
Also fix bugs in fields_view_get: didn't evaluate filter_domain to a nonliteral Domain (or a literal domain dict)
bzr revid: xmo@openerp.com-20110329090941-av5ymojubq23yjim
2011-03-29 11:09:41 +02:00
Xavier Morel
7b711fd117
[ADD] group_by support in search views (not handled yet by the view manager and list view, so they have no actual effect)
...
bzr revid: xmo@openerp.com-20110328163917-5deq43o7jwotfpym
2011-03-28 18:39:17 +02:00
Xavier Morel
6f3862e101
[ADD] non-literal contexts
...
bzr revid: xmo@openerp.com-20110328151410-6ep57ay6sdc2k39r
2011-03-28 17:14:10 +02:00
Xavier Morel
e7860c7e63
[IMP] use non-literal domains to and from client, add a bunch of tests
...
Converted OpenERPSession's evaluations to be based on literal (dict) or nonliteral (Domain) objects. OpenERPSession will *not accept* to eval strings
bzr revid: xmo@openerp.com-20110328141920-hlp6sb173o2j6ldw
2011-03-28 16:19:20 +02:00
Xavier Morel
fd9da7558a
[ADD] start working on adding the concept of literal and non-lit domains, non-lit domains will *not* be pushed to the client but will be stored locally and only a ref will go through
...
bzr revid: xmo@openerp.com-20110328122724-gnxn8cnta4xyotab
2011-03-28 14:27:24 +02:00
Fabien Meghazi
bfba874832
[FIX] invisible tag is alias to attrs 'state', 'not in' instead of 'state', 'in'
...
bzr revid: fme@openerp.com-20110328100109-gmitlx4r9l1t3wnz
2011-03-28 12:01:09 +02:00
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