Xavier Morel
a5d2c95cc1
[FIX] field contexts are lists of lists, not just lists (otherwise the evaluator gets screwy)
...
bzr revid: xmo@openerp.com-20110325124223-2q0li224uhogy52s
2011-03-25 13:42:23 +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
9760d629a5
[FIX] timing issue with the ViewManager triggering a search on auto_search
...
* search should be performed after on_loaded has executed, otherwise no data is available (rendering hasn't even happened)
* don't offload start()ing all the widgets via a setTimeout/defer, otherwise need intermediate callback (for when the view is rendered but the widgets are not loaded) to keep ViewManager in sync
* fix preventDefault condition on SearchView DOM event handlers: only try to preventDefault() if there is a first argument *and it has a preventDefault attribute*
bzr revid: xmo@openerp.com-20110325105151-wkdf8llenaqlffhn
2011-03-25 11:51:51 +01:00
Xavier Morel
0f4a950db1
[FIX] no 'not' operator in QWeb conditions, use 'bzr cdiff'
...
bzr revid: xmo@openerp.com-20110325104847-1lkv0jkbkhemju2x
2011-03-25 11:48:47 +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
niv-openerp
55a226ef3a
[MERGE] Resynchronized with trunk.
...
bzr revid: nicolas.vanhoren@openerp.com-20110325102413-7xjgusazsow7nwaf
2011-03-25 11:24:13 +01:00
ksa (Open ERP)
771ebbbcb6
[FIX]: Improve code
...
bzr revid: ksa@tinyerp.co.in-20110325102208-udopl6kg3f8orowl
2011-03-25 15:52:08 +05:30
ARA (OpenERP)
9b06e256e1
[FIX] Account:Exception raised when setting an Account InActive
...
bzr revid: ara@tinyerp.com-20110325101808-r1yfsenlr10lgdv4
2011-03-25 15:48:08 +05:30
ksa (Open ERP)
40c1a838f4
[IMP]: Improve code
...
bzr revid: ksa@tinyerp.co.in-20110325101359-60mbc5w41907xt0i
2011-03-25 15:43:59 +05:30
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
ksa (Open ERP)
30594d9013
[IMP]: Improve the code
...
bzr revid: ksa@tinyerp.co.in-20110325092453-jalp1rinh8mw943b
2011-03-25 14:54:53 +05:30
ARA (OpenERP)
19c0ebbd45
[FIX] account: slow invoice cancel because validate for every line
...
bzr revid: ara@tinyerp.com-20110325083549-ud6qd6hxhzimsb1l
2011-03-25 14:05:49 +05:30
Xavier Morel
32f9914ebd
[FIX] typo
...
bzr revid: xmo@openerp.com-20110325081613-1i8ns180e84hmz9p
2011-03-25 09:16:13 +01:00
Xavier Morel
f03f6115e4
[IMP] hook search into ViewManager, add handling for auto_search in window action
...
bzr revid: xmo@openerp.com-20110325081227-cpct376v07amlooo
2011-03-25 09:12:27 +01:00
Fabien Meghazi
78f759622f
[IMP] Remove unused line
...
bzr revid: fme@openerp.com-20110325080108-7c155e8xc27m0zvb
2011-03-25 09:01:08 +01:00
Xavier Morel
98037d1fe5
[IMP] use .toggle(condition) instead of if(condition) .show() else .hide()
...
bzr revid: xmo@openerp.com-20110325072607-gbz2z3rsnv140fgu
2011-03-25 08:26:07 +01:00
Launchpad Translations on behalf of openerp
dea0358cee
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110325044036-zt02l3fxb5pjby0g
2011-03-25 04:40:36 +00:00
Launchpad Translations on behalf of openerp
287538e8d6
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110325043936-rwjw2gtidaw2trw4
2011-03-25 04:39:36 +00:00
Xavier Morel
ddaf85e1b3
[MERGE] favicon fix
...
bzr revid: xmo@openerp.com-20110324211157-mb9ehmr4nd4bo354
2011-03-24 22:11:57 +01:00
Xavier Morel
73343295fa
[FIX] Label widget rendering breaking on actual label elements/widgets (e.g. opportunities form)
...
bzr revid: xmo@openerp.com-20110324210347-1tnqjpzu22zr0vzw
2011-03-24 22:03:47 +01:00
Xavier Morel
d6979759fa
[FIX] shut up the annoying console spamming by default. To enable it, set 'openerp.debug' to true or add 'debug' at the start of the querystring
...
bzr revid: xmo@openerp.com-20110324204813-09wdb7k3m5h7asca
2011-03-24 21:48:13 +01:00
Xavier Morel
885cab6230
[FIX] use LABjs to load scripts to avoid recurring 'TypeError: Result of expression 'openerp._openerp[mod]' [undefined] is not a function.'
...
Might not be the best loader, not sure, but we only use it in two places so it's trivial to replace. It's also one of the oldest loaders so it should be pretty stable.
bzr revid: xmo@openerp.com-20110324203538-bk59e8wbiux47e7j
2011-03-24 21:35:38 +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
Fabien Meghazi
d981f1413f
[FIX] Secondary menu content has scrollbar under firefox
...
bzr revid: fme@openerp.com-20110324201018-tczdnrobb1jr3c28
2011-03-24 21:10:18 +01:00
Fabien Meghazi
196f6f6ec8
[FIX] Using js keywords for object keys is a bad idea (of fme)
...
bzr revid: fme@openerp.com-20110324200858-36lh8ioqdd2m6su1
2011-03-24 21:08:58 +01:00
Xavier Morel
6c5665b7ed
[ADD] integer widget
...
bzr revid: xmo@openerp.com-20110324192459-csylxhu32au9nns6
2011-03-24 20:24:59 +01:00
Xavier Morel
270ccc546a
[ADD] text, selection and boolean fields; improve logic to detect whether a field has a value
...
If the value returned by a field is the literal 'null' or an empty
string, then the field is empty (empty input, no valued option
selected, etc...).
On the other hand, because openerp.base.search.Field.get_value returns
a *javascript* value it can be the literals '0' or 'false'. Those are
falsy in a boolean context (for good reasons, for 'false') but they
should still count as the field having a value.
I'm guessing this part is going to reach "spin off in its own
per-field method" complexity pretty soon.
bzr revid: xmo@openerp.com-20110324184713-sf7skv34s9824ge6
2011-03-24 19:47:13 +01:00
Xavier Morel
58584c82a7
[IMP] move group toggling from template code to JS code
...
bzr revid: xmo@openerp.com-20110324182222-qaymq120818jx10n
2011-03-24 19:22:22 +01:00
Xavier Morel
2e2e88e687
[ADD] Date and ManyToMany fields
...
bzr revid: xmo@openerp.com-20110324181655-xh1btoq1mj8kr2mi
2011-03-24 19:16:55 +01:00
Xavier Morel
3c46de8c98
[FIX] the default operator on 'char' fields is 'ilike'
...
bzr revid: xmo@openerp.com-20110324180129-mv36bxo7dswv7q06
2011-03-24 19:01:29 +01:00
Xavier Morel
f9e10d85a1
[IMP] only send domain if there's a value (the field is 'enabled')
...
bzr revid: xmo@openerp.com-20110324180028-3cuim4glo70wezkh
2011-03-24 19:00:28 +01:00
Xavier Morel
10d34d936a
[FIX] it turns out the default operator is weirdly named 'default_operator', not 'die_walküre'. Weird
...
bzr revid: xmo@openerp.com-20110324174230-nfv342t6aysrkkb5
2011-03-24 18:42:30 +01:00
Xavier Morel
cff572c9c4
[FIX] yes suzie, we do actually need the last filter of our view, it can be useful
...
bzr revid: xmo@openerp.com-20110324173926-ctk9ys2ddiuguvjz
2011-03-24 18:39:26 +01:00
Xavier Morel
cd46d24b33
[ADD] basic domain and value handling on all inputs (integrated so far)
...
bzr revid: xmo@openerp.com-20110324173721-zo5gm38lv92f2b7f
2011-03-24 18:37:21 +01:00
Antony Lesuisse
cce35c01e1
viewmanager typo
...
bzr revid: al@openerp.com-20110324163449-26amfxhsx03h72jg
2011-03-24 17:34:49 +01:00
Antony Lesuisse
506a85c80e
viewmanager part1
...
bzr revid: al@openerp.com-20110324163114-dvoi8l3nzmut5y63
2011-03-24 17:31:14 +01:00
Xavier Morel
4756756f81
[ADD] basic implementation of get_context and get_domain on filters
...
bzr revid: xmo@openerp.com-20110324162335-l622nm8pyjb31pfh
2011-03-24 17:23:35 +01:00
Xavier Morel
c96b91e690
[ADD] perform search after clicking on a button
...
bzr revid: xmo@openerp.com-20110324162030-1dvnn422hsusmiol
2011-03-24 17:20:30 +01:00
Xavier Morel
491e6017af
[ADD] a bunch of stuff to make it possible to enable and disable filters when clicking on them (yay)
...
bzr revid: xmo@openerp.com-20110324161842-6lri6u9pu0msa5cx
2011-03-24 17:18:42 +01:00
Quentin (OpenERP)
f585444f10
[MERGE] lp:725908
...
bzr revid: qdp-launchpad@openerp.com-20110324151230-jwrpdmj92akb294x
2011-03-24 16:12:30 +01:00
Quentin (OpenERP)
33396ff7bf
[MERGE] lp:729602
...
bzr revid: qdp-launchpad@openerp.com-20110324144655-7pw862axxg0pr93p
2011-03-24 15:46:55 +01:00
Quentin (OpenERP)
f6505b1c37
[MERGE] lp:723448
...
bzr revid: qdp-launchpad@openerp.com-20110324142906-bnu2mqn3d2z31bal
2011-03-24 15:29:06 +01:00
Xavier Morel
8a0faeb73f
[add] kinda forgot about the filters-within-fields things
...
bzr revid: xmo@openerp.com-20110324142330-711hpfm4younpcim
2011-03-24 15:23:30 +01:00
Quentin (OpenERP)
60c3b07dee
[MERGE] lp:728092
...
bzr revid: qdp-launchpad@openerp.com-20110324140250-9r9vbuetz68oafii
2011-03-24 15:02:50 +01:00
Quentin (OpenERP)
0d8c9e6410
[MERGE] lp:740762
...
bzr revid: qdp-launchpad@openerp.com-20110324135017-npad7j3jm5znap3i
2011-03-24 14:50:17 +01:00
Quentin (OpenERP)
1b592727ec
[MERGE] lp: 725921
...
bzr revid: qdp-launchpad@openerp.com-20110324134745-q85knilk15igzfbj
2011-03-24 14:47:45 +01:00
Quentin (OpenERP)
b92b3efce2
[MERGE] lp:736102 (removed the useless test on section structure as 1.A is acceptable as section name)
...
bzr revid: qdp-launchpad@openerp.com-20110324133350-vk19kkk8qqr7ups4
2011-03-24 14:33:50 +01:00
Rucha (Open ERP)
0e430028c1
[FIX]: stock: Fixed scraping move having production lot
...
lp bug: https://launchpad.net/bugs/739181 fixed
bzr revid: rpa@tinyerp.com-20110324132358-yn5gwkj68pnun0qs
2011-03-24 18:53:58 +05:30
Quentin (OpenERP)
5a27aa0a91
[MERGE] lp:739342
...
bzr revid: qdp-launchpad@openerp.com-20110324131144-fqomix3t1pqtg5ur
2011-03-24 14:11:44 +01:00
ksa (Open ERP)
687ac53c79
[FIX]:internal move for no validation for production lot
...
bzr revid: ksa@tinyerp.co.in-20110324130654-mh2iy491rivu568y
2011-03-24 18:36:54 +05:30