summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/pyeval.js
AgeCommit message (Collapse)Author
2013-01-28[FIX] Inject user context in all domain and context evaluationXavier Morel
Custom keys from user context may be used in action contexts (not just e.g. searchview filters). For instance, have a custom key context_salesteam (in the user model) and an action defining some search default as a function of the salesteam. In that case, the action's context evaluation (view.js:~275) will blow up. Ensure that does not happen. Note: eval_contexts already injects user_context in the reduction of contexts to evaluate. It should be possible to alter the reduction function to avoid having to inject instance.session.user_context through pyeval.context(), maybe by _.extend-ing ``result_context`` into ``evaluation_context`` at the *top* of the reduction function rather than at its bottom? bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2012-11-30[FIX] styllistic fixesXavier Morel
bzr revid: xmo@openerp.com-20121130103638-8r77jpmb3hhmo8dt
2012-11-30[IMP] removed date.today() in pyevalniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20121130095228-mffq2407lq7tf8jj
2012-11-29[IMP] added context_today()niv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20121129160746-c3c691zk5fxhzse0
2012-11-29[FIX] potential problem with pyeval datetime/date today()/now() methods. Now ↵niv-openerp
only returns the same timezone than server (UTC). bzr revid: nicolas.vanhoren@openerp.com-20121129153601-vtpnvkc0vylo9hux
2012-11-28[FIX] use py.js 0.7 APIXavier Morel
bzr revid: xmo@openerp.com-20121128110542-nplg9o3e5jpxmqic
2012-11-26[IMP] allow eval'ing a single context or domainXavier Morel
bzr revid: xmo@openerp.com-20121126084229-wgpjszmquhibbrpf
2012-11-23[IMP] move nonliteral domains and contexts to JS test caseXavier Morel
bzr revid: xmo@openerp.com-20121123114923-t4047w6jztria91x
2012-11-23[REM] server-side eval_domain_and_contextXavier Morel
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23[IMP] deferred init styleXavier Morel
bzr revid: xmo@openerp.com-20121123101822-inox7gkxvd0gtqbp
2012-11-23[ADD] todo notesXavier Morel
bzr revid: xmo@openerp.com-20121123101658-xoynynruwnuzyrv3
2012-11-23[REM] stray loggingXavier Morel
bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y
2012-11-23[ADD] arithmetics between date and timedeltaXavier Morel
bzr revid: xmo@openerp.com-20121123095206-dtvoiignb7xnzsl0
2012-11-23[ADD] partial but sufficient (I think) implementation of datetime.timedeltaXavier Morel
bzr revid: xmo@openerp.com-20121123075938-oazwt4bn2l639r3a
2012-11-22[FIX] put evaluation context in evaluation contextXavier Morel
so you can access the context while you're accessing the context bzr revid: xmo@openerp.com-20121122124130-t8j6sggtnl4f0b8r
2012-10-11[IMP] shortcut call to eval_domain_and_context to be evaluated on the JS ↵Xavier Morel
side, also add some offline-evaluation of contexts and domains in rpc call methods bzr revid: xmo@openerp.com-20121011100532-5ihje0maslp37zpf
2012-10-11[FIX] after discussions with odo, date/datetime/time for locally-evaluated ↵Xavier Morel
contexts and domains should be local, not UTC bzr revid: xmo@openerp.com-20121011075759-qfwkfws5tu9yidab
2012-10-10[FIX] add 'context' free variable in evaluation contexts for domains and ↵Xavier Morel
contexts bzr revid: xmo@openerp.com-20121010145945-16shdry3udum0mn1
2012-10-08[REM] timedelta, because painXavier Morel
bzr revid: xmo@openerp.com-20121008125523-ed1g42vjxbcfo62r
2012-10-08[FIX] update py.js to 0.6, port existin classes to it, attempt to implement ↵Xavier Morel
timedelta bzr revid: xmo@openerp.com-20121008120619-lhmexjnujjrigjn9
2012-10-05[ADD] groupby eval testsXavier Morel
bzr revid: xmo@openerp.com-20121005142808-yx6o8nfnn0o4ms56
2012-10-05[FIX] evaluator: connection -> sessionXavier Morel
bzr revid: xmo@openerp.com-20121005131205-ffk746ac5xrua62j
2012-08-06[IMP] move eval functions for domains, groupbys and contexts outside of ↵Xavier Morel
corelib, as well as the standard evaluation context building (and related objects) bzr revid: xmo@openerp.com-20120806094627-8c9lwtfkbfws2bmj