niv-openerp
301d170ef8
[IMP] Cleaned code of extended filters.
...
bzr revid: nicolas.vanhoren@openerp.com-20110329142217-zfp5b3lw19f8bzsf
2011-03-29 16:22:17 +02:00
niv-openerp
ae3ee42fd0
[FIX] Bug with propositions.
...
bzr revid: nicolas.vanhoren@openerp.com-20110329135922-nswtf2zq5reby27f
2011-03-29 15:59:22 +02:00
niv-openerp
06c6a18d10
[IMP] Extended filters wip. Now generates domains.
...
bzr revid: nicolas.vanhoren@openerp.com-20110329131854-m2d2fjwm3d566su2
2011-03-29 15:18:54 +02:00
niv-openerp
7af4d63d0c
[IMP] Prototype base class for widgets.
...
bzr revid: nicolas.vanhoren@openerp.com-20110329091001-u76p5psmpi70me3t
2011-03-29 11:10:01 +02:00
niv-openerp
1e908843ee
[IMP] Extended filters wip.
...
bzr revid: nicolas.vanhoren@openerp.com-20110328164945-xdsmfq233cxlxggy
2011-03-28 18:49:45 +02:00
niv-openerp
5b477c1464
[IMP] Extended filters wip.
...
bzr revid: nicolas.vanhoren@openerp.com-20110328124247-mb723pentlpimb1z
2011-03-28 14:42:47 +02:00
niv-openerp
cf4fda9764
[IMP] Modified search view to factorise expanding functionality.
...
bzr revid: nicolas.vanhoren@openerp.com-20110328073722-stytrmyog74ikar5
2011-03-28 09:37:22 +02:00
niv-openerp
8b21ed5ade
[IMP] Added beginning of extended views.
...
bzr revid: nicolas.vanhoren@openerp.com-20110325151120-rwtxizs9rci24k1p
2011-03-25 16:11:20 +01:00
Xavier Morel
50abec8590
[FIX] test case names: I should really stop copy/pasting and editing tests
...
bzr revid: xmo@openerp.com-20110329110130-0r2kyzn4l40j0k0r
2011-03-29 13:01:30 +02:00
Xavier Morel
5fc3bf26df
[ADD] handle validation at the searchview level, instead of blowing up the whole thing by letting Invalid errors bubble up
...
bzr revid: xmo@openerp.com-20110329104744-601os9hafz5mp7z1
2011-03-29 12:47:44 +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
e549c9f7cb
[IMP] cleanup initialization of evaluation context on eval_domain and eval_context
...
bzr revid: xmo@openerp.com-20110329082034-zh2gx656806bu2se
2011-03-29 10:20:34 +02:00
Xavier Morel
5e426a9c31
[IMP] move storage of contexts to OpenERPSession.context_store, fix a number of tests it broke including one it revealed was completely broken
...
test_retrieve_second_domain passing relied on domains and contexts being stored in the same place, as it created a domain from a context key and tried to check if that worked. It did...
bzr revid: xmo@openerp.com-20110329082002-8rnvnp9cog9gr7zd
2011-03-29 10:20:02 +02:00
Xavier Morel
f15f180777
[ADD] some documentation on the search view
...
bzr revid: xmo@openerp.com-20110328194809-yw0oyo6db5iyy1tk
2011-03-28 21:48:09 +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
c098950009
[FIX] Stop evaluating non-literal contexts coming from the client browser
...
The browser can not be trusted, it is not a decent person, as opposed to chickens who're decent people
bzr revid: xmo@openerp.com-20110328152657-oc48whrcyp5wxh6f
2011-03-28 17:26:57 +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
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
Launchpad Translations on behalf of openerp
c5ca5a565f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110326050046-dq45skrem9w4mvec
bzr revid: launchpad_translations_on_behalf_of_openerp-20110327045332-0qk3wj2yahi6f7ty
bzr revid: launchpad_translations_on_behalf_of_openerp-20110328043636-fm3ded2ur36t8x6q
2011-03-28 04:36:36 +00:00
Quentin (OpenERP)
68f0e28114
[MERGE] merged the branch of Lorenzo Battistini - agilebg.com containing a fix for l10n_it
...
bzr revid: qdp-launchpad@openerp.com-20110325160633-teegug2yujjz2y4w
2011-03-25 17:06:33 +01:00
Xavier Morel
ab43c4ee48
[IMP] filters probably should not trigger a re-search themselves, they should report their toggling to their controller instead
...
bzr revid: xmo@openerp.com-20110325155917-8j1ns332tgzf5kvf
2011-03-25 16:59:17 +01:00
Quentin (OpenERP)
d603252350
[MERGE] merged the branch of Stefan Rijnhart (Therp) containing fix for lp:740353 'Adds code fields to all account.tax.code.template'
...
bzr revid: qdp-launchpad@openerp.com-20110325155445-x1erwzv907ke8z7k
2011-03-25 16:54:45 +01:00
Quentin (OpenERP)
bd532276d0
[MERGE] lp: 740353
...
bzr revid: qdp-launchpad@openerp.com-20110325154229-ps8cm4d6i2wz49vy
2011-03-25 16:42:29 +01:00
Quentin (OpenERP)
26469cf092
[FIX] account/account_move_line: proper use of set()
...
bzr revid: qdp-launchpad@openerp.com-20110325153854-jtxryt1cw7rm5a7p
2011-03-25 16:38:54 +01:00
Quentin (OpenERP)
4fd0f28792
[MERGE] merged the branch of niv containing updated description and pictures of modules for the loempia project
...
bzr revid: qdp-launchpad@openerp.com-20110325151724-h8st5m8ygn6d8j82
2011-03-25 16:17:24 +01:00
Xavier Morel
b49ece30d3
[FIX] evaluation context should contain itself (as some domains go get stuff via context.get)
...
bzr revid: xmo@openerp.com-20110325150838-qxo8ruf6i2v3jt5l
2011-03-25 16:08:38 +01:00
Quentin (OpenERP)
d0cb722bb6
[MERGE] lp:737258
...
bzr revid: qdp-launchpad@openerp.com-20110325143852-59j11its16tkw053
2011-03-25 15:38:52 +01:00
Quentin (OpenERP)
ca578f92ae
[MERGE] lp:739181
...
bzr revid: qdp-launchpad@openerp.com-20110325142831-oygh7tepywprlu29
2011-03-25 15:28:31 +01:00
Quentin (OpenERP)
1357670d17
[MERGE] lp:724820
...
bzr revid: qdp-launchpad@openerp.com-20110325140526-w9m2lhuezc8cyza7
2011-03-25 15:05:26 +01:00
Quentin (OpenERP)
e5a18a90de
[MERGE] lp:700928
...
bzr revid: qdp-launchpad@openerp.com-20110325135609-rscqyc12e17mbasx
2011-03-25 14:56:09 +01: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
5294b046d9
[FIX] don't call /base/menu/action when the current menu does not have an id
...
bzr revid: xmo@openerp.com-20110325132351-tqzzmgqj9ldwzv54
2011-03-25 14:23:51 +01:00
Xavier Morel
47fa3b4a5f
[IMP] style fixes, just .data() jquery method instead of .attr('data-*'): shorter and parses integers without having the need to do so manually
...
[Every attempt is made to convert the string to a JavaScript value (this includes booleans, numbers, objects, arrays, and null) otherwise it is left as a string. To retrieve the value's attribute as a string without any attempt to convert it, use the attr() method. ]
bzr revid: xmo@openerp.com-20110325132115-25ey6y08zc1bjk1q
2011-03-25 14:21:15 +01:00
ksa (Open ERP)
291083c8e2
[FIX]: No average price re-calculation on products
...
lp bug: https://launchpad.net/bugs/737258 fixed
bzr revid: ksa@tinyerp.co.in-20110325132011-22yu69wtzceop0ae
2011-03-25 18:50:11 +05:30
Xavier Morel
4320d25dbd
[FIX] loading of data in grid (reload it correctly, ideally we should only replace rows we didn't already have, something like that...)
...
bzr revid: xmo@openerp.com-20110325130818-wgg4x3dgxsgdpkqy
2011-03-25 14:08:18 +01:00
Xavier Morel
2bceb3a18b
[FIX] IntegerField should not fail to validate when left empty. Also, until they're actually implemented relational field widgets should be Integer fields, not just fields
...
bzr revid: xmo@openerp.com-20110325124315-k8tpt2cpwhohlljm
2011-03-25 13:43:15 +01:00
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
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