Fabien Meghazi
3e4c62c536
[ADD] Added exec_workflow controllers
...
bzr revid: fme@openerp.com-20110421155605-ek8effxz9xln26s4
2011-04-21 17:56:05 +02:00
Fabien Meghazi
85c28f6d23
[ADD] Added /base/action/load controller
...
bzr revid: fme@openerp.com-20110421132354-ubji3zz8k181qlxu
2011-04-21 15:23:54 +02:00
Xavier Morel
a383be5549
[IMP] add a level of nesting to do_fill result so do_fill_table can get the view data, also fix failing tests involving do_fill_table
...
bzr revid: xmo@openerp.com-20110421131239-dbr5cg27qntj0nuu
2011-04-21 15:12:39 +02:00
Xavier Morel
b4cd776b25
[FIX] correctly load calendar addon
...
* Fix loading of active modules (don't hardcode list)
* Implement loading of CSS files via css list
* Fix Calendar addon
- Add list of JS files to descriptor
- Add list of CSS files to descriptor
- Have calendar load its own qweb template file
- Put calendar in the correct namespace (openerp.base_calendar) instead of a nonsensical one
bzr revid: xmo@openerp.com-20110413125042-feiimul8617a51d6
2011-04-13 14:50:42 +02:00
Xavier Morel
d7da740264
[MERGE] from mainline branch, hook in new record handling
...
bzr revid: xmo@openerp.com-20110412132120-ii3mosez9kguvcjb
2011-04-12 15:21:20 +02:00
Xavier Morel
0006e356f9
[ADD] attrs.invisible in readonly list cells
...
bzr revid: xmo@openerp.com-20110412065343-ee8iinkqw2iobl90
2011-04-12 08:53:43 +02:00
Xavier Morel
83bd3c8348
[REM] attrs processing placeholders, will be done in JS
...
bzr revid: xmo@openerp.com-20110411135743-i79ti6acxe7cf400
2011-04-11 15:57:43 +02:00
Xavier Morel
5fc7311f1a
[ADD] row-wise colors
...
bzr revid: xmo@openerp.com-20110411125450-3h0ay8fskd1s6nz5
2011-04-11 14:54:50 +02:00
Fabien Meghazi
86c1b252e6
[ADD] Added record creation. Refactored form view.
...
bzr revid: fme@openerp.com-20110411113516-s8ydhmknehgbwp2n
2011-04-11 13:35:16 +02:00
Xavier Morel
911369822a
[ADD] processing of context['set_editable'] on list view
...
bzr revid: xmo@openerp.com-20110411111451-5j6ve9f1wjiuzjfx
2011-04-11 13:14:51 +02:00
Xavier Morel
3412b89d95
[IMP] add a bunch of tests for transformation of invisible fields, make View.fields_view_get take a request so it can use the request context for its evaluations
...
bzr revid: xmo@openerp.com-20110411103118-msx5plh2lnz5obps
2011-04-11 12:31:18 +02:00
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