Commit Graph

383 Commits

Author SHA1 Message Date
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
Antony Lesuisse 1865a1dae0 typo
bzr revid: al@openerp.com-20110404113803-hme1ls2rxahxa64w
2011-04-04 13:38:03 +02:00
Antony Lesuisse 9ad770a2da [MERGE] xmo viewmanager
bzr revid: al@openerp.com-20110404112535-pa3ss7ymj6mr97r1
2011-04-04 13:25:35 +02:00
niv-openerp 63bf45372b [IMP] Initialisation of the sidebar.
bzr revid: nicolas.vanhoren@openerp.com-20110401121042-abg9zo1ldgwde0ht
2011-04-01 14:10:42 +02:00
Xavier Morel f880ecb5d9 [FIX] race condition on auto_search due to desynchronized loading of search view and {any default main view}
If loading of search view completes before loading of content view, do_search is immediately called on search view and forwarded to content view which is *not* ready yet and therefore blows up.

Solved by having start() methods return a promise object (or a non-promise object taken as a fulfilled promise) which the viewmanager can use (from both search view and initial content view) to synchronize when both are ready and it's possible to start a search

bzr revid: xmo@openerp.com-20110401115005-inceqsj7qn4k3b8e
2011-04-01 13:50: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
Antony Lesuisse 96e08cf3d1 action handling proposal
bzr revid: al@openerp.com-20110401104454-djtm0728azy66g76
2011-04-01 12:44:54 +02:00
Fabien Meghazi 3cc735cc2c [IMP] Improved date widget styling
bzr revid: fme@openerp.com-20110404090047-yvmbfnnt910b553n
2011-04-04 11:00:47 +02:00
Fabien Meghazi 1c07f1dd53 [FIX] Fix dataset testsuite that I broke in rev #4648
bzr revid: fme@openerp.com-20110404082842-i95u0pg31xj8vy1t
2011-04-04 10:28:42 +02:00
Xavier Morel 05a3ee3b46 [IMP] nicely style search date field (with little calendar icon)
bzr revid: xmo@openerp.com-20110401152833-p4f4r1vecdfkae4i
2011-04-01 17:28:33 +02:00
Xavier Morel b42333b86f [FIX] correctly format result of date picker, otherwise search blows up
bzr revid: xmo@openerp.com-20110401152649-mpjug9jdp4qvap0i
2011-04-01 17:26:49 +02:00
Xavier Morel ac649d5ccc [ADD] date search widget
bzr revid: xmo@openerp.com-20110401151735-hdxo0289ilmik1go
2011-04-01 17:17:35 +02:00
Xavier Morel efbeb7e50d [REF] move custom fields search below normal fields and inputs
bzr revid: xmo@openerp.com-20110401125313-xizmsalj4gf1mjur
2011-04-01 14:53:13 +02:00
Xavier Morel a806fe63cc [ADD] fake views init in order to check the views are correctly instantiated
bzr revid: xmo@openerp.com-20110401094030-jysoq5gj9k20ulrd
2011-04-01 11:40:30 +02:00
Xavier Morel 52fb7adc66 [IMP] reverse logic for handling view-switching buttons so it's more efficient and straightforward
bzr revid: xmo@openerp.com-20110401091117-v2q0s57qp2xny7cx
2011-04-01 11:11:17 +02:00
Xavier Morel de1912d2a1 [IMP] enabling/disabling of switcher buttons on view switch
bzr revid: xmo@openerp.com-20110401090653-jr21w79p5e5pdfts
2011-04-01 11:06:53 +02:00
Xavier Morel 11bdbfef5c [MERGE] view manager redo from proto-61
Full of timing bugs ;_;

bzr revid: xmo@openerp.com-20110401090249-kxp4xkm92sqkxu1e
2011-04-01 11:02:49 +02:00
Antony Lesuisse 0d9a590970 [MERGE] fme viewmanager updates
bzr revid: al@openerp.com-20110331172258-vzrkxqeo4rk2lsvx
2011-03-31 19:22:58 +02:00
Fabien Meghazi 6910a9c19a [ADD] Activated simple datepicker on date field
bzr revid: fme@openerp.com-20110331160323-opcovdlczzi6ugxs
2011-03-31 18:03:23 +02:00
Fabien Meghazi 6de5177cf3 [ADD] calendar image
bzr revid: fme@openerp.com-20110331160309-0jybr51uf03ygizh
2011-03-31 18:03:09 +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
Fabien Meghazi 79ce2be95e [IMP] DataSet has no more notion of fields. These are now inherent to the views.
bzr revid: fme@openerp.com-20110331151441-z5xtn0j4kohi72ja
2011-03-31 17:14:41 +02:00
Xavier Morel 16d580a573 [FIX] generify view management using a registry
bzr revid: xmo@openerp.com-20110331145432-qg0kigi1xtgxvk1i
2011-03-31 16:54:32 +02:00
Fabien Meghazi 4d76991c55 [FIX] Search is now done by the view and not by the viewmanager
bzr revid: fme@openerp.com-20110331144422-34wmf2bauc0lmz7d
2011-03-31 16:44:22 +02:00
Xavier Morel 95bd1d1237 [IMP] have action manager correctly stop the view manager
bzr revid: xmo@openerp.com-20110331134346-bn5fuq62ypcjs0fz
2011-03-31 15:43:46 +02:00
Xavier Morel 7d1de96569 [IMP] fix a pair of warnings, remove some pointless code in custom filters, use registry
bzr revid: xmo@openerp.com-20110331133117-epdpu0sw18zslstb
2011-03-31 15:31:17 +02:00
Xavier Morel 369278902a [FIX] warnings, trailing commas
bzr revid: xmo@openerp.com-20110331132552-4jjb1mgn5myn1gzh
2011-03-31 15:25:52 +02:00
Xavier Morel b57ca94e49 [IMP] remove fallback in extended search
bzr revid: xmo@openerp.com-20110331132226-95hd2vesl2xe281o
2011-03-31 15:22:26 +02:00
Fabien Meghazi f64b7d3b8c [IMP] Lazy loading of views
bzr revid: fme@openerp.com-20110331132058-w6g87wsxof3kyiqv
2011-03-31 15:20:58 +02:00
Xavier Morel 1c39367b54 [IMP] use registry for widgets
Re-introduced 'char' fallback, but other sections (form and search) log an error and proceed blissfully unaware, I should probably do that here

bzr revid: xmo@openerp.com-20110331124127-4dfjdxv5ottlb4vo
2011-03-31 14:41:27 +02:00
Fabien Meghazi 911af887b9 [IMP] do_action really switch to first view in sequence
bzr revid: fme@openerp.com-20110331123519-uk4pkd5azix545ji
2011-03-31 14:35:19 +02:00
Fabien Meghazi 4722165efb [REM] Removed wrong action reference in action manager
bzr revid: fme@openerp.com-20110331122542-gnlxfg2unxvlqut8
2011-03-31 14:25:42 +02:00
Fabien Meghazi 7fed892684 [ADD] retain currently activated view
bzr revid: fme@openerp.com-20110331122522-3v7coio2wpnzsszn
2011-03-31 14:25:22 +02:00
Xavier Morel 651e311119 [FIX] add correct toString for KeyNotFound and ObjectNotFound
bzr revid: xmo@openerp.com-20110331122018-kd6oz5942pvd6bgu
2011-03-31 14:20:18 +02:00
Xavier Morel 1acde8ff13 [IMP] move operators to field classes, add datetime field stub
bzr revid: xmo@openerp.com-20110331120627-yu28osuqd0r568i1
2011-03-31 14:06:27 +02:00
Fabien Meghazi 3180df7f6c [FIX] Wrong result variable used for fields
bzr revid: fme@openerp.com-20110331120515-ugge893xkjmhoflf
2011-03-31 14:05:15 +02:00
Xavier Morel a95012dea9 [IMP] simplify templates a bit, rename set_selected to select_field for clarity
bzr revid: xmo@openerp.com-20110331120010-vsxxmo1ec4mtstac
2011-03-31 14:00:10 +02:00
Xavier Morel 8bd00f390e [FIX] not (ilike) is (not ilike), not (not like)
bzr revid: xmo@openerp.com-20110331113610-e0wjfbcterqmx30h
2011-03-31 13:36:10 +02:00
Xavier Morel f86d1acc51 [FIX] don't needlessly prevent events from bubbling
bzr revid: xmo@openerp.com-20110331113545-ig0kcaxzi8x2g4c1
2011-03-31 13:35:45 +02:00
Xavier Morel 359e2443d4 [IMP] use Registry in forms
bzr revid: xmo@openerp.com-20110331105751-aib329cpnpigbpu3
2011-03-31 12:57:51 +02:00
Xavier Morel 878df7ff9d [IMP] use registry object for search view
bzr revid: xmo@openerp.com-20110331104012-6etgbo83b528wziv
2011-03-31 12:40:12 +02:00
Xavier Morel e5466507ec [ADD] Registry object to record extensible mappings of objects (e.g. views or widgets)
bzr revid: xmo@openerp.com-20110331102023-iovd7s7ktk6zgb45
2011-03-31 12:20:23 +02:00
Xavier Morel ab3a266640 [FIX] typo in object path
bzr revid: xmo@openerp.com-20110331101636-8m9sx42byclm8vgm
2011-03-31 12:16:36 +02:00
Xavier Morel 3fc0ef57bb [IMP] remove useless files in tests, make setup of sections explicit
bzr revid: xmo@openerp.com-20110331085806-j5yd1syvvos47yfj
2011-03-31 10:58:06 +02:00
Xavier Morel 0add303a60 [FIX] datasets test suite
bzr revid: xmo@openerp.com-20110331085007-f9ln7eor2qbz60e0
2011-03-31 10:50:07 +02:00
Fabien Meghazi e74ff91f19 [ADD] Put form widgets in instance.base.form{}
bzr revid: fme@openerp.com-20110331082838-d27ekbdfjtfahsmo
2011-03-31 10:28:38 +02:00
Fabien Meghazi 07eb4e005c [REV] Switch back to <script> tags until we find a clean solution for chrome's cache
bzr revid: fme@openerp.com-20110331082506-53xu93msz0exkjuu
2011-03-31 10:25:06 +02:00
Fabien Meghazi 386dd624ae [FIX] Updated jqGrid hardcoded path
bzr revid: fme@openerp.com-20110331082353-a5s9p6cgciedzm10
2011-03-31 10:23:53 +02:00
Xavier Morel 9979c52ac6 [FIX] warnings
bzr revid: xmo@openerp.com-20110331080335-u3vxmxr2cn7vx3nf
2011-03-31 10:03:35 +02:00
Antony Lesuisse affa119a48 playing with folding part2
bzr revid: al@openerp.com-20110330235743-7if1cog3dafmjtve
2011-03-31 01:57:43 +02:00
Antony Lesuisse e18bb959be playing with folding, lends will be removed (can be added by preprocessing)
bzr revid: al@openerp.com-20110330235552-06z58n5vcbzwmst5
2011-03-31 01:55:52 +02:00
Antony Lesuisse 850988f762 fix lib prefix for js in base.html
bzr revid: al@openerp.com-20110330230426-5skppswnnve4ceri
2011-03-31 01:04:26 +02:00
Xavier Morel b79b219cc3 [FIX] forgot duplicate variable declaration during merge
bzr revid: xmo@openerp.com-20110330155604-ohwaqadh9ibhfltd
2011-03-30 17:56:04 +02:00
Xavier Morel 4b99639e32 [ADD] documenting the documentation, a bunch of JsDoc
bzr revid: xmo@openerp.com-20110330152736-iqcb533xgvzbnuq6
2011-03-30 17:27:36 +02:00
niv-openerp 0519496d0a [FIX] Corrected tabs.
bzr revid: nicolas.vanhoren@openerp.com-20110330150421-7c7zc2n4mjv44tnh
2011-03-30 17:04:21 +02:00
Fabien Meghazi 0292b18dd1 renames part 7
bzr revid: fme@openerp.com-20110330144436-vh6tc9tl4r52d3e3
2011-03-30 16:44:36 +02:00
Antony Lesuisse c7e2d214ad renames part6 partially working
bzr revid: al@openerp.com-20110330143556-yogu79hyy5oojdvq
2011-03-30 16:35:56 +02:00
Antony Lesuisse 316d13143f renames part5
bzr revid: al@openerp.com-20110330140448-g0jnzz8nlpywjgt5
2011-03-30 16:04:48 +02:00
Antony Lesuisse dcb9634cea renames part4
bzr revid: al@openerp.com-20110330140048-qm5m28ns44hkqzvn
2011-03-30 16:00:48 +02:00
Antony Lesuisse 4dd20612ad renames part3
bzr revid: al@openerp.com-20110330140007-8mncjzcb07921iw4
2011-03-30 16:00:07 +02:00
Antony Lesuisse 561070589e renames part2
bzr revid: al@openerp.com-20110330135909-7vrkihfqubcg9tmz
2011-03-30 15:59:09 +02:00
Antony Lesuisse 2283e03546 reorganize directories
bzr revid: al@openerp.com-20110330135619-9lcvg2mijzxud8gr
2011-03-30 15:56:19 +02:00
Antony Lesuisse 37f8970f7c added empty DataGroup controller
bzr revid: al@openerp.com-20110330095915-bm2phpfiphomyh62
2011-03-30 11:59:15 +02:00
niv-openerp ab56c9a9ae [MERGE] Little improvement to BaseWidget.
bzr revid: nicolas.vanhoren@openerp.com-20110330084835-arzwrgcucsxepi5z
2011-03-30 10:48:35 +02:00
niv-openerp d438b37475 [IMP] Improved BaseWidget.
bzr revid: nicolas.vanhoren@openerp.com-20110330084752-krewtpl8w0wov1f7
2011-03-30 10:47:52 +02:00
Fabien Meghazi b2d921759c [CHANGE] Refactored form view (WIP)
bzr revid: fme@openerp.com-20110329163437-08373sb1eck11lhy
2011-03-29 18:34:37 +02:00
Antony Lesuisse 16f85c2e2d [MERGE] niv custom filters
bzr revid: al@openerp.com-20110329152425-580vhch31f8cmy6v
2011-03-29 17:24:25 +02:00
niv-openerp 97e63b9e57 [IMP] Improved BaseWidget.
bzr revid: nicolas.vanhoren@openerp.com-20110329144623-vnxtfc9ouclkq5sa
2011-03-29 16:46:23 +02:00
niv-openerp c8469427c4 [IMP] Wip extended filters. Is functional. Still need to improve design, allow to save and implement all data types.
bzr revid: nicolas.vanhoren@openerp.com-20110329143525-3nhtrgrpgkykg7s9
2011-03-29 16:35:25 +02:00
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
Antony Lesuisse 8a59852690 LABjs dont use preloading to ease debugging
bzr revid: al@openerp.com-20110329130728-feb1c35y331jvqgl
2011-03-29 15:07:28 +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 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
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
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 f15f180777 [ADD] some documentation on the search view
bzr revid: xmo@openerp.com-20110328194809-yw0oyo6db5iyy1tk
2011-03-28 21:48:09 +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
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
Fabien Meghazi 4c83159797 [ADD] attrs support in form view
bzr revid: fme@openerp.com-20110328160530-qw2esi6pmin2p1mo
2011-03-28 18:05:30 +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 f4518c1f07 [FIX] Changed LabJs configuration to workaround a bug in Chrome that made debugging unusable.
bzr revid: nicolas.vanhoren@openerp.com-20110328090339-vr6nkw4vce2jr1by
2011-03-28 11:03:39 +02:00
Xavier Morel d368258f13 [IMP] mark events as events, fix typo
bzr revid: xmo@openerp.com-20110328074239-1ygsxzxsv2huhv75
2011-03-28 09:42:39 +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
Xavier Morel 8b485e7b52 [FIX] RST lists to make super brittle text-filler not break
bzr revid: xmo@openerp.com-20110327133637-6l78z8exhs8timuj
2011-03-27 15:36:37 +02:00
Xavier Morel bdddf2269d [ADD] document documentation (esp. JS APIDoc via JsDoc, which is actually a fairly complex endeavour)
bzr revid: xmo@openerp.com-20110327120515-wdcxc19j4exuu2zu
2011-03-27 14:05:15 +02: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
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 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
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
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
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
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 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
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
Xavier Morel a8f877e6f0 [ADD] start of widgets-based search view, break search itself (for now) and get the same result as before I broke everything layout-wise (woohoo)
bzr revid: xmo@openerp.com-20110324124653-kn5c69ytuieu68gn
2011-03-24 13:46:53 +01:00
Xavier Morel d4ee05255c [IMP] make qweb raise an error on template not found
bzr revid: xmo@openerp.com-20110324124221-jnnrznrg3a4w02rx
2011-03-24 13:42:21 +01:00
Xavier Morel a51d1c0c49 [FIX] trailing comma
bzr revid: xmo@openerp.com-20110324071652-8i6rnyb9drkmsbb5
2011-03-24 08:16:52 +01:00
Antony Lesuisse b507d2231f loud thinking about viewmanager
bzr revid: al@openerp.com-20110324010814-n8hk09002jfq65eg
2011-03-24 02:08:14 +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 65c8aaf78b [ADD] some doc for the dataset
bzr revid: xmo@openerp.com-20110323105031-9j2s5d2g8kxwf9wu
2011-03-23 11:50:31 +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 1284858cb1 [ADD] get_active_id, use API functions more instead of internals in DataSet
bzr revid: xmo@openerp.com-20110323075429-ek9bvxs6vzoxcqlc
2011-03-23 08:54:29 +01:00
Xavier Morel 99f90b17a2 [FIX] split selection of a range of ids and activation of a single id into two methods, write some tests
bzr revid: xmo@openerp.com-20110323072712-10gohth1mxrgh6o1
2011-03-23 08:27:12 +01:00
Xavier Morel 8570ae1fff [IMP] use asyncTest rather than test + stop()
bzr revid: xmo@openerp.com-20110322205218-h2skfkandip8pv8u
2011-03-22 21:52:18 +01:00
Xavier Morel 77b9c7bd8b [ADD] basic implementations of DataSet.select and DataSet.active_ids
bzr revid: xmo@openerp.com-20110322203644-iubno2jusxp4z98p
2011-03-22 21:36:44 +01:00
Xavier Morel 6a4fc40d53 [ADD] finish documenting QUnit functions (for IDEs)
bzr revid: xmo@openerp.com-20110322192208-8usouja1b665s1mm
2011-03-22 20:22:08 +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 16cbdc2a90 [ADD] Be Stubborn. Obey the Goat.
Basic testing infrastructure for the base addon JS

bzr revid: xmo@openerp.com-20110322141117-7htmchkc4pyus3e2
2011-03-22 15:11:17 +01:00
Fabien Meghazi 8284359b83 [IMP] Improved FieldChar widget
bzr revid: fme@openerp.com-20110322171801-e5jmov41xg3pnzfz
2011-03-22 18:18:01 +01:00
Fabien Meghazi 1fb6165a8a [FIX] ListView table autoresize
bzr revid: fme@openerp.com-20110322135026-ndme63lh7pa98c03
2011-03-22 14:50:26 +01:00
Xavier Morel 9f74d6d07c [ADD] underscore utility library. See http://documentcloud.github.com/underscore/ for documentation
bzr revid: xmo@openerp.com-20110322131559-afci46oyqecw571s
2011-03-22 14:15:59 +01:00
Fabien Meghazi 6369c843bb [AUTOINSULT] Previous commit was a mistake.
I made two mistakes in my life : 1) to be born   2) to commit fme@openerp.com-20110322125836-qnlqagrlcy3ajoci

I could avoid the second one if I had not made the first mistake

bzr revid: fme@openerp.com-20110322130917-2y6kmrwcqutia8ph
2011-03-22 14:09:17 +01:00
Fabien Meghazi a5a90d2261 [UP] Upgraded jQuery 1.5 tp 1.5.1. (200% web client speed upgrade)
Closed Tickets

A full list of all bugs and tickets closed are as follows:

#2551 Make sure .val() works after form.reset() in IE
#4537 Make sure .clone(true) correctly clones namespaced events
#4966 Don’t add “px” to unit-less properties when animating them
#6774 Make sure we only access parentNode if it’s available. Fixes an issue where after an option tag has been detached, an elem.parentNode error would be thrown.
#6911Prevent action on disabled elements, both triggering and bound via .live()
#7531 Fix again for IE9RC. Enhances ajaxSetup so that it can take an optional target option, in which case target will be updated instead of ajaxSettings. That way, fields that shouldn’t be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object
#7568 Follow-up fix for #5862. Objects with a length property weren’t serialized properly by jQuery.param
#7653 Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension
#7668 Sizzle and jQuery QUnit tests are out of sync
#7912 This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn’t a number, number-alike or a value that needs a fallback to 0.
#7922 Fixed an issue where live(‘click’) doesn’t fire when live(‘submit’) is bound first in IE
#7945 Make jQuery.param() serialize plain objects with a property named jquery correctly
#8033 jQuery 1.4.4+ fails to load on pages with old Prototype (<= 1.5) or Current Prototype + Scriptaculous in IE
#8039 Selectors with HTML5 input types not work in IE6/7
#8052 Update jQuery.support.noCloneEvent test to function properly in IE9
#8095 Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added
#8098 Use the fast document.head when available
#8099 Always restore to correct display value based on element’s expected default display
#8107 Fix argument handling for $.ajax for multiple method signatues and add test case
#8108Temporary fix for jQuery metadata being exposed on plain JS objects when serializing with JSON.stringify to avoid compatibility-breaking changes. A proper fix for this will be landed in 1.6
#8115 Renames all references to jXHR with jqXHR in the code (like was done in the doc)
#8123 The default for .clone() is to not clone any events
#8125 Status is set to 200 for requests with status 0 when location.protocol if “file:”. Added test/localfile.html to control it works
#8129 Fix cloning multiple selected options in IE8
#8135 Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior
#8138 Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead
#8145 Added readyWait tests
#8146 introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed
#8152 applying the same special cases for protocol “chrome-extension:” as were for “file:” (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport
#8177 XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification)
#8193 Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added
#8198 Remove unnecessary “script.type = text/javascript;”
#8200 Unexpose $.support._scriptEval as it’s not needed. Use a private var instead
#8209 Make sure that mousing over Chrome “internal div” doesn’t trigger a mouseleave
#8219 Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option)
#8220 Remove backslashes from tag name filter
#8245 Ajax now ensures header names are capitalized so that non-compliant xhr implementations don’t override them
#8250 ajax does not work in opera 10 widgets
#8277 Sets data to undefined rather than null when it is not provided in ajax helpers so that it won’t revent data set in ajaxSettings from being used.
#8297 Make sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string.
#8353 Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
#8365 Make sure that IE 9 still clones attributes.

bzr revid: fme@openerp.com-20110322125836-4id2l1w0zjix0qdt
2011-03-22 13:58:36 +01:00
Fabien Meghazi c7ce5c80a7 [ADD] Menu part 1
bzr revid: fme@openerp.com-20110322114919-a8l2k4ipy6zt4si8
2011-03-22 12:49:19 +01:00
Fabien Meghazi e4b925112f [ADD] url widget
bzr revid: fme@openerp.com-20110322114852-4o14wjiebb2yv90c
2011-03-22 12:48:52 +01:00
Fabien Meghazi f2af3b5a05 [ADD] Some images for menus
bzr revid: fme@openerp.com-20110322114702-53smckfk1uc0tzz5
2011-03-22 12:47:02 +01:00
Xavier Morel 7b92ab4328 [MERGE] reformatting of some python code, fix of JS warnings (trailing commas and missing semicolons), fix extraction of 'full' class name, removal of the Hello controller and addition of a doc skeleton for differences between the old and the new web client
bzr revid: xmo@openerp.com-20110321122922-t48omtc7ebahjhzg
2011-03-21 13:29:22 +01:00
Fabien Meghazi 2a1aa4d1ba [ADD] jQuery UI css override
bzr revid: fme@openerp.com-20110321094645-m8r8f4jvnn3o7pme
2011-03-21 10:46:45 +01:00
Xavier Morel 375b44e1ca [MERGE] a few warning fixes, addition of more documentation skeleton
bzr revid: xmo@openerp.com-20110321073043-swu1sj1u6tvysrmk
2011-03-21 08:30:43 +01:00
Antony Lesuisse a0e1cbd7e7 session management cleanups, clarification of start() semantics
bzr revid: al@openerp.com-20110320200117-q37q76y53sbmdfy3
2011-03-20 21:01:17 +01:00
Antony Lesuisse fd047b34ca [MERGE] xmo proper session management
bzr revid: al@openerp.com-20110320132146-qysfemcluvraa4ww
2011-03-20 14:21:46 +01:00
Xavier Morel b44fdabb9a [FIX] trailing commas and missing semicolons
bzr revid: xmo@openerp.com-20110318165821-5zyvlfzi7xt25gu0
2011-03-18 17:58:21 +01:00
Xavier Morel 8172fdb25f [IMP] implement local storage of session id and uid
bzr revid: xmo@openerp.com-20110318134751-41mhkir4u5qb0ez1
2011-03-18 14:47:51 +01:00
Xavier Morel 502d0eb58f [FIX] continuation of session_invalid should be added to on_login_valid (once we *do* have a valid session), not on Login.on_submit (where we don't yet have it)
bzr revid: xmo@openerp.com-20110318121944-xrgpha19glgmtc7o
2011-03-18 13:19:44 +01:00
OpenERP OpenERP bed3bce5df [FIX] Added url(favicon) icon.
bzr revid: vda@tinyerp.com-20110318102759-g1ua245oc62jwu22
2011-03-18 15:57:59 +05:30
Antony Lesuisse aa826f3eed view and viewaction viewembedded readme guidelines
bzr revid: al@openerp.com-20110318003817-7boupjexdqicauyn
2011-03-18 01:38:17 +01:00
Fabien Meghazi 44271fe7f4 [ADD] Notebooks tabs
bzr revid: fme@openerp.com-20110317174932-hnlgoso4ezueuqbr
2011-03-17 18:49:32 +01:00
Fabien Meghazi 8daad6a2ec Refactoring
bzr revid: fme@openerp.com-20110317172508-fb1yxc1bcunqm2gt
2011-03-17 18:25:08 +01:00
Xavier Morel 8699e1c85c [FIX] class on login form when not logged in is login_invalid
bzr revid: xmo@openerp.com-20110317171855-4ovpe64wnp7qzeqv
2011-03-17 18:18:55 +01:00
Xavier Morel cd09d946d2 [FIX] loading modules should not nuke the login that has just been performed
bzr revid: xmo@openerp.com-20110317171622-ioebt4sbpmxkkpoc
2011-03-17 18:16:22 +01:00
Xavier Morel 9943d2e9c2 [FIX] forgotten rename
bzr revid: xmo@openerp.com-20110317171151-fn44gv41scophjlw
2011-03-17 18:11:51 +01:00
Antony Lesuisse c27fc11c2f fix console.log
bzr revid: al@openerp.com-20110317170808-lwqxymfye4obfssg
2011-03-17 18:08:08 +01:00
Antony Lesuisse 4504ea1ca2 on_log temporary back to session
bzr revid: al@openerp.com-20110317162700-tv0iq7a9us986i9o
2011-03-17 17:27:00 +01:00
Fabien Meghazi 38c3d7c344 [ADD] datarecord plugged to formview part1
bzr revid: fme@openerp.com-20110317161356-b9qxxj227anuz5lr
2011-03-17 17:13:56 +01:00
Antony Lesuisse d51d885c77 [MERGE] xmo compliant json-rpc2
bzr revid: al@openerp.com-20110317154746-7mbwuqt9gk940mra
2011-03-17 16:47:46 +01:00
Antony Lesuisse e14677f255 dont assume session invalid
bzr revid: al@openerp.com-20110317151813-sy7m3oam2nm9nw0h
2011-03-17 16:18:13 +01:00
Antony Lesuisse 1d13b61284 login ask for db
bzr revid: al@openerp.com-20110317150153-afr9lmsy1ihuafrt
2011-03-17 16:01:53 +01:00
Xavier Morel 6e9014a879 [IMP] display all of error.data on RPC error by default, don't display the error object itself
bzr revid: xmo@openerp.com-20110317142220-ypr1lvhla6zawydv
2011-03-17 15:22:20 +01:00
Antony Lesuisse b8b37b18a2 datarecord load
bzr revid: al@openerp.com-20110317140638-dgsu44ci48nnpevq
2011-03-17 15:06:38 +01:00
Xavier Morel ba4054f6fc [IMP] cleanup JSON-RPC request lifecycle
bzr revid: xmo@openerp.com-20110317140627-hurby78o45xrmg6p
2011-03-17 15:06:27 +01:00
Antony Lesuisse 35b6a7efec form logic part1
bzr revid: al@openerp.com-20110317134155-snjjer2ynnbwuynf
2011-03-17 14:41:55 +01:00
Xavier Morel dc3abe055b [FIX] JSON-RPC2 request/response process
bzr revid: xmo@openerp.com-20110317130946-ptpaihigvie31moo
2011-03-17 14:09:46 +01:00
Antony Lesuisse 86bc7ef222 fix hello
bzr revid: al@openerp.com-20110317122239-wlyapf12h73m6uqo
2011-03-17 13:22:39 +01:00
Antony Lesuisse b28c65dcbd comment to simplify widget constructors
bzr revid: al@openerp.com-20110317003057-kmhibna1xbzc65lj
2011-03-17 01:30:57 +01:00
Antony Lesuisse 4beb59472e Rename WidgetField to Field use a common class
bzr revid: al@openerp.com-20110317002341-42we1on4bbud4k0h
2011-03-17 01:23:41 +01:00
Antony Lesuisse efca9c4ed9 window.openerp is is now a regular object, split controllers into chrome and views
bzr revid: al@openerp.com-20110316235634-3cuq96tkcsloq27j
2011-03-17 00:56:34 +01:00
Antony Lesuisse 02bf3106d6 addons loading working
bzr revid: al@openerp.com-20110316172042-go8m79n6j8b6lmaa
2011-03-16 18:20:42 +01:00
Fabien Meghazi 195d5aef8b [FIX] label for attribute
bzr revid: fme@openerp.com-20110316143753-vlrvls0qmtz27iaw
2011-03-16 15:37:53 +01:00
Fabien Meghazi ac35ee9ec4 [ADD] Formview
bzr revid: fme@openerp.com-20110316140045-6tzlnbhakhfpu20n
2011-03-16 15:00:45 +01:00
Fabien Meghazi fea50595d6 [ADD] QWeb: changed behaviour of t-att
bzr revid: fme@openerp.com-20110316133110-s0wwdb4yrysxb6q7
2011-03-16 14:31:10 +01:00
Xavier Morel 69b595ca8a [FIX] typo
bzr revid: xmo@openerp.com-20110315070409-ovef64u9m2qpt5r7
2011-03-15 08:04:09 +01:00
Xavier Morel 970dc4e2ad Reformat openerp.base.callback
bzr revid: xmo@openerp.com-20110314115828-5w00q4qsx06pxb8p
2011-03-14 12:58:28 +01:00
Xavier Morel 598b5de1c0 Rename and reindent elements in boot.js to makes scope and flows clearer. Also use object literal when available
bzr revid: xmo@openerp.com-20110314100055-gwpyoz2nk4ve1rhd
2011-03-14 11:00:55 +01:00
Xavier Morel ba287ba240 [FIX] JS warnings (typos, un-terminated statements, duplicate vars, trailing commas, unused locals
bzr revid: xmo@openerp.com-20110314094457-lci9toigkpue3guh
2011-03-14 10:44:57 +01:00
Antony Lesuisse 099cbcb416 merge xmo testsuite and improvement for qweb
bzr revid: al@openerp.com-20110314104422-53gcaty2m9g2lhxu
2011-03-14 11:44:22 +01:00
Antony Lesuisse 10104a2bf0 addons js loading
bzr revid: al@openerp.com-20110311132622-otrxhghgox9jqax6
2011-03-11 14:26:22 +01:00
Xavier Morel 31d6f99d21 Rename testrunner (it's the qweb test suite, not a qunit example)
bzr revid: xmo@openerp.com-20110310152629-graxr2mo1cz2p6sw
2011-03-10 16:26:29 +01:00
Xavier Morel 93598c0df5 [TEST] add a bunch of tests for foreach
bzr revid: xmo@openerp.com-20110310152536-w1idaxbl3piyoa31
2011-03-10 16:25:36 +01:00
Xavier Morel d8008cd04f [TEST] add tests for trim, two trims are broken, not sure how they're supposed to work to leaving that for when fme is back
bzr revid: xmo@openerp.com-20110310150235-9z9ihmg1vurboser
2011-03-10 16:02:35 +01:00
Xavier Morel b599eb8669 [TEST] add tests for t-call
bzr revid: xmo@openerp.com-20110310141229-m3v4s57llzj9mje6
2011-03-10 15:12:29 +01:00
Antony Lesuisse 5fd8b2c798 skeleton missing parts
bzr revid: al@openerp.com-20110310131724-x1yvnpvvld27qrn0
2011-03-10 14:17:24 +01:00
Antony Lesuisse 0fb45893f8 skeleton split openerp.base
bzr revid: al@openerp.com-20110310125415-xgp35keh863mehtp
2011-03-10 13:54:15 +01:00
Xavier Morel 12e140872c [TEST] attribute-addition features
bzr revid: xmo@openerp.com-20110310121827-im1lnvwor0x97ear
2011-03-10 13:18:27 +01:00
Antony Lesuisse 5971491a13 skeleton part1
bzr revid: al@openerp.com-20110310115123-5a4i2wg3lw33kqv5
2011-03-10 12:51:23 +01:00
Xavier Morel 5489bb8ebb [IMP] use boolean coertion in eval_bool instead of a ternary operator
bzr revid: xmo@openerp.com-20110310113257-07jom2dpt0t9uvs4
2011-03-10 12:32:57 +01:00
Xavier Morel deec9d4548 [TEST] add a few more tests for conditionals in test directive
bzr revid: xmo@openerp.com-20110310113216-h9h2exqup49001nm
2011-03-10 12:32:16 +01:00
Xavier Morel 6f48b2a3cc [TEST] add a bunch of tests for conditional expressions, fix definition of the 'or' operator
bzr revid: xmo@openerp.com-20110310111925-u3wgbmlz0tgcfwrv
2011-03-10 12:19:25 +01:00
Xavier Morel 3d442a1119 Add tests for t-set
bzr revid: xmo@openerp.com-20110310095334-d4u4esyo0d9hrcyk
2011-03-10 10:53:34 +01:00
Xavier Morel ef4d1e470a [FIX] qunit's assertion format is actually (actual, expected) not (expected, actual). Fix to get correct failure messages
bzr revid: xmo@openerp.com-20110310092828-j3be503khvjcwqkl
2011-03-10 10:28:28 +01:00