Commit Graph

81827 Commits

Author SHA1 Message Date
Fabien Meghazi d5dbf9184d [IMP] Warn if invalid response type is returned for a request@type=http
bzr revid: fme@openerp.com-20140219153201-hgyk9c83hwqe49yl
2014-02-19 16:32:01 +01:00
Fabien Meghazi ae87d00ffa [REM] Completely removed LazyResponse
bzr revid: fme@openerp.com-20140219142313-1upmwem8debsqxy4
2014-02-19 15:23:13 +01:00
Fabien Meghazi 226b154154 [FIX] convert endpoint responses only if it's the current request endpoint
bzr revid: fme@openerp.com-20140219135128-6rdnymufpfo1xyvf
2014-02-19 14:51:28 +01:00
Fabien Meghazi 3315938178 [FIX] Response default mimetype
bzr revid: fme@openerp.com-20140219102903-h8n070qqbbhlnenr
2014-02-19 11:29:03 +01:00
Fabien Meghazi 48d1e2d879 [ADD] Request with lazy rendering support
bzr revid: fme@openerp.com-20140218161505-bmfcc2jq16vvflzn
2014-02-18 17:15:05 +01:00
Xavier Morel cb03b384b0 [IMP] phantomjs runner
* use Skip exception to skip tests in case phantomjs binary not found
* remove spurious logging, move some to debug when debatable
* use testing assertions for correct reporting
* allow failure message
* use mutable buffer to accumulate stdout data

bzr revid: xmo@openerp.com-20140218133445-e5l155j10i934o88
2014-02-18 14:34:45 +01:00
Xavier Morel cbc987191c [FIX] QUnitSuite: don't be self-recursive
bzr revid: xmo@openerp.com-20140218104347-u56pghrto948iclx
2014-02-18 11:43:47 +01:00
Xavier Morel d926581bb9 [IMP] slightly improve error message at the end of a module's failed tests
bzr revid: xmo@openerp.com-20140218101847-mwsd2zolpze1xdhf
2014-02-18 11:18:47 +01:00
Xavier Morel 33076a34aa [FIX] run_unit_tests lying about its return value: it only ever returns a bool, never None
bzr revid: xmo@openerp.com-20140218095632-r4aq7gnzj4hq9u64
2014-02-18 10:56:32 +01:00
Xavier Morel 71259f09f4 [ADD] hooks to enable/disable tests running during install
also add flag for post_install run, but not used yet

bzr revid: xmo@openerp.com-20140218095452-pptez5rlpdez1ttl
2014-02-18 10:54:52 +01:00
Thibault Delavallée 735f18b0d4 [MERGE] [IMP] website: server action: add a widget url in the form view on the website_url field.
Seems quite logical.

bzr revid: tde@openerp.com-20140218091245-b3w86tr4ia7y3674
2014-02-18 10:12:45 +01:00
Richard Mathot (OpenERP) 0e3c241e66 [IMP] Add url widget in server actions form view
bzr revid: rim@openerp.com-20140218084315-gtutjttm6sx627k1
2014-02-18 09:43:15 +01:00
Thibault Delavallée ef6cdbf0f2 [MERGE] [IMP] point of sale: usability: label typos + help in menus
bzr revid: tde@openerp.com-20140218083412-k1jajrze3nc51xyh
2014-02-18 09:34:12 +01:00
Antony Lesuisse e4579fdbbd [IMP] actionmanager report port to the new synchronous pyeval api.
bzr revid: al@openerp.com-20140217224626-3s0q34x0jw8t4okg
2014-02-17 23:46:26 +01:00
Xavier Morel 9a22d42b8b [IMP] unwrap tests suites during module loading, prepare for storing/filtering attributes
bzr revid: xmo@openerp.com-20140217155830-dcacx7qvyf7i0i4m
2014-02-17 16:58:30 +01:00
openerp-sle 0834a5ba49 [MERGE] Renamed 'paper_format' field on the company to 'rml_paper_format' and reorder all report's configuration into one tab
bzr revid: openerp-sle@openerp-sle.home-20140217154120-owxojq0tzoys5n32
2014-02-17 16:41:20 +01:00
openerp-sle 0b7351da20 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217153601-75znvem3gez24ycs
2014-02-17 16:36:01 +01:00
openerp-sle 1e0d15e5ec [FIX] Added the 'oldname' attribute on the renamed 'paper_format' field
bzr revid: openerp-sle@openerp-sle.home-20140217153459-3hcxvzmd1j5vvwgq
2014-02-17 16:34:59 +01:00
Xavier Morel aa0eac1257 [FIX] re-enable crawler tests
Move URLCase back out of the test module, otherwise loadTestFromModule
attempts to load it in the usual manner (~URLCase('runTest')). Which does not
work at all, because that's not what URLCase is for.

URLCase extends TestCase to benefit from the TestCase.run infrastructure
(running tests, filling result object, etc...)

bzr revid: xmo@openerp.com-20140217151535-alq7pq6qapski73x
2014-02-17 16:15:35 +01:00
Xavier Morel 665e2629e2 [FIX] only run test modules called test_*, similar to normal autodiscovery
bzr revid: xmo@openerp.com-20140217151521-vyg130iznzojv3e4
2014-02-17 16:15:21 +01:00
Thibault Delavallée 8cf3a3b0b8 [FIX] fleet: vehicle cost name field unhacked.
- remove name composition based on vehicle name, date and cost_subtype_id;
instead those fields have been added to the tree view. name field is now just
a related to the vehicle name, but the name field itself does not seem necessary
anymore. Should be checked further.

bzr revid: tde@openerp.com-20140217133930-dmzbwjtr58s4upy3
2014-02-17 14:39:30 +01:00
Fabien Meghazi 375941932c [FIX] website's slug() should check if slugified string is empty
lp bug: https://launchpad.net/bugs/1271143 fixed

bzr revid: fme@openerp.com-20140217130755-ip1hccv9cxiscqf8
2014-02-17 14:07:55 +01:00
Thibault Delavallée bc1ed91b2e [MERGE] [IMP] accounting: usability
- bank statement form view: partner is usually a supplier, add default suplier
is context of partner_id
- bank account form view: bank bic not required anymore

bzr revid: tde@openerp.com-20140217103841-yucx1dh744ihz5uu
2014-02-17 11:38:41 +01:00
openerp-sle f703a4bb35 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217094935-1vow2td4pxb6wq3x
2014-02-17 10:49:35 +01:00
Launchpad Translations on behalf of openerp 5d18aa3e19 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217053857-8opbvvb5zv3f0eyz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217054439-5d8e8kmqhrft30uv
2014-02-17 05:44:39 +00:00
Antony Lesuisse e91e562153 [FIX] website_sale disable some tests
bzr revid: al@openerp.com-20140217015450-r3ptbenz7642v97b
2014-02-17 02:54:50 +01:00
Antony Lesuisse 2112eb6448 [FIX] website_sale enable some tests
bzr revid: al@openerp.com-20140217012827-3rb4mrkgx3ubp0dx
2014-02-17 02:28:27 +01:00
Antony Lesuisse 91b1c8472f [FIX] ir.http testing generate a router including the current module
this fix is a dirty hack, the proper fix could be a new 'installing' state in
modules, or an improved registry object.

bzr revid: al@openerp.com-20140217005137-mhrzc4znr8rqe9yu
2014-02-17 01:51:37 +01:00
Antony Lesuisse e54758988a [FIX] website tests
bzr revid: al@openerp.com-20140217001148-2ub37hxyz8tbxrwe
2014-02-17 01:11:48 +01:00
Antony Lesuisse 98641cff67 [FIX] temp fix for runbot-job
bzr revid: al@openerp.com-20140217000702-xgi1lidpkjdvpnzf
2014-02-17 01:07:02 +01:00
Antony Lesuisse 75c350976c [FIX] tests HttpCase phantomjs conditional injection inject=[(need,file)]
bzr revid: al@openerp.com-20140217000150-wt3pwqrqcd7n2mfd
2014-02-17 01:01:50 +01:00
Antony Lesuisse 3c5f3bb04d [IMP] tests move test_ui from base to web
bzr revid: al@openerp.com-20140216225450-c92e6f63s8ic6drz
2014-02-16 23:54:50 +01:00
Antony Lesuisse 26927f58fc [IMP] phantomjs testing
- avoid dbmanager by presetting db in the test session
- correctly handle login option
- serialize test cursor access

bzr revid: al@openerp.com-20140216225353-npx88osq7l45zjub
2014-02-16 23:53:53 +01:00
Antony Lesuisse 88741e98c6 [FIX] web test_ui test for view form instead of kanban
bzr revid: al@openerp.com-20140216223208-0gw9dev1jpxsskib
2014-02-16 23:32:08 +01:00
Antony Lesuisse 5c3c89a17c [FIX] tests move test_ui to web as it requires web.login template
bzr revid: al@openerp.com-20140216215039-448vh07674on9569
2014-02-16 22:50:39 +01:00
Antony Lesuisse 62f20f3302 [FIX] tests move test_ui to web as it requires web.login template
bzr revid: al@openerp.com-20140216214456-gplefhb821s61677
2014-02-16 22:44:56 +01:00
Antony Lesuisse c8324bafcc [IMP] phantomjs testing
- avoid dbmanager by presetting db in the test session
- correctly handle login option
- serialize test cursor access

bzr revid: al@openerp.com-20140216212222-4o6x9uljyua3g1og
2014-02-16 22:22:22 +01:00
Antony Lesuisse 42db02f73c [FIX] tests HTTPCase if phantomjs is not installed
bzr revid: al@openerp.com-20140216162026-ymbzoi70txbr64yl
2014-02-16 17:20:26 +01:00
openerp-sle 4a65881e24 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140213121357-upr6tlajbebkcre3
bzr revid: openerp-sle@openerp-sle.home-20140216103456-epv8x3f8j8jcbla7
2014-02-16 11:34:56 +01:00
Launchpad Translations on behalf of openerp d169f4ada6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140215063838-vx03eda0w9ei804g
2014-02-15 06:38:38 +00:00
Xavier Morel 13fc1e885c [FIX] missed case where sys.modules values can be None
bzr revid: xmo@openerp.com-20140214153055-xguhxigsnrzy3ejq
2014-02-14 16:30:55 +01:00
Christophe Matthieu b12d66e267 [IMP] website: remove bootstrap in addons/website and use bootstrap from web
bzr revid: chm@openerp.com-20140214145527-ugejurjsc86bu58b
2014-02-14 15:55:27 +01:00
Xavier Morel a324e80cf6 [IMP] small cleanups to module loading stuff
bzr revid: xmo@openerp.com-20140214145449-wq1oyg632u7anzsb
2014-02-14 15:54:49 +01:00
Christophe Matthieu dd4d8f71c2 [IMP] web: update lib bootstrap 3.1.0
bzr revid: chm@openerp.com-20140214145338-yiorj76d75gjwfw0
2014-02-14 15:53:38 +01:00
Xavier Morel 60adf28fb3 [REM] spurious print in test
bzr revid: xmo@openerp.com-20140214145308-xvcer7yyz582g9g9
2014-02-14 15:53:08 +01:00
Xavier Morel a86d7a548d [IMP] use TestSuite.addTests instead of manually iterating on loadTestsFromModule results
bzr revid: xmo@openerp.com-20140214145257-2alo4dvn8rmq3xfj
2014-02-14 15:52:57 +01:00
Xavier Morel d21114454e [IMP] remove pointless extra newline in log message of column removal
bzr revid: xmo@openerp.com-20140214145219-07pk822tpo0nohpn
2014-02-14 15:52:19 +01:00
Xavier Morel 4d32dabdd6 [IMP] replace explicit iteration by listcomp
bzr revid: xmo@openerp.com-20140214143932-8nb30mkdxzt96fd5
2014-02-14 15:39:32 +01:00
Xavier Morel 2921fa339d [REM] unused variable
bzr revid: xmo@openerp.com-20140214143724-fcxy9tn8gmodi223
2014-02-14 15:37:24 +01:00
Xavier Morel 8e63677c90 [IMP] fix flow analysis warning, simplify loader code
bzr revid: xmo@openerp.com-20140214143549-sezf14rvt0cnm2cr
2014-02-14 15:35:49 +01:00