Commit Graph

403 Commits

Author SHA1 Message Date
Raphael Collet e70aac8daf [MERGE] from trunk
bzr revid: rco@openerp.com-20120910125616-9j8nj0spxr2wt83l
2012-09-10 14:56:16 +02:00
Raphael Collet 67003bd76f [FIX] method resolve_2many_commands and its tests
bzr revid: rco@openerp.com-20120907122857-4dro8up51ypx0cr5
2012-09-07 14:28:57 +02:00
Twinkle Christian (OpenERP) 6acf8ed15d [IMP]Remove serverwarning
bzr revid: tch@tinyerp.com-20120907060555-554i3iemfwfh6lwt
bzr revid: tch@tinyerp.com-20120907120804-e4z6k6iuzukaipz2
2012-09-07 17:38:04 +05:30
Raphael Collet 3b3279c77e [FIX] orm: adapt tests of method resolve_2many_commands
bzr revid: rco@openerp.com-20120907104448-9b9aeenmqz5m5du2
2012-09-07 12:44:48 +02:00
Raphael Collet f4945c2fc7 [IMP] orm: fix and generalize method resolve_o2m_commands_to_record_dicts (now named resolve_2many_commands)
bzr revid: rco@openerp.com-20120906144836-v2ye3o8n12iir84b
2012-09-06 16:48:36 +02:00
Xavier Morel 1e834fb029 [ADD] test for retarded behavior when importing o2m _rec_name
bzr revid: xmo@openerp.com-20120906153941-qynzx3minrxpz82t
2012-09-06 17:39:41 +02:00
Olivier Dony efa0f9b263 [IMP] html_sanitize: attempt to make slightly more pythonic/readable + re-enable test. Proper review + test still needed.
bzr revid: odo@openerp.com-20120905225746-npjjzy1w00k05vtc
2012-09-06 00:57:46 +02:00
Olivier Dony 8e96d71bf3 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20120905072646-m4269m97ej1oicoq
bzr revid: odo@openerp.com-20120905220158-ulg8jy5alny97ff3
2012-09-06 00:01:58 +02:00
niv-openerp 8d1e3d06ab [IMP] removed dependency to pyquery
bzr revid: nicolas.vanhoren@openerp.com-20120905153212-0gi1wjhf9m4xtnml
2012-09-05 17:32:12 +02:00
niv-openerp 29a9316566 [REVERT] 4394, because Thu is stupid
bzr revid: nicolas.vanhoren@openerp.com-20120905145703-7t8uiyqur0l16n2b
2012-09-05 16:57:03 +02:00
Thibault Delavallée 1f84036086 [MERGE] Merged with server/trunk.
bzr revid: tde@openerp.com-20120904075105-ljg3lgn6tf958kvd
2012-09-04 09:51:05 +02:00
Vo Minh Thu f3742f0558 [FIX] test_ir_sequence: reduce the number of call to next() (to reduce test time).
bzr revid: vmt@openerp.com-20120903145929-p4kp6eotkcflletk
2012-09-03 16:59:29 +02:00
Olivier Dony d37745559e [ADD] tools.misc: new function append_to_html, can be used to inject blocks (html or plaintext) to existing HTML snippets
bzr revid: odo@openerp.com-20120831132337-of2p1wlh5l4lpvez
2012-08-31 15:23:37 +02:00
Vo Minh Thu 079b425d11 [FIX] tests: allow running the tests when installing a database created by XML-RPC.
bzr revid: vmt@openerp.com-20120822134820-pevo06jwrhm8unui
2012-08-22 15:48:20 +02:00
Christophe Simonis d9a869c925 [FIX] remove loggging for test "test_out_of_range" of "test_impex" module
bzr revid: chs@openerp.com-20120822122123-h3zmh55aw7zwtep4
2012-08-22 14:21:23 +02:00
Christophe Simonis d3fcdb2ac7 [FIX] sequence testing
bzr revid: chs@openerp.com-20120822105552-ieex9esjg5wwke8q
2012-08-22 12:55:52 +02:00
Vo Minh Thu ae4852f597 [IMP] html_sanitize: remove dependency on pyquery.
Relying on pyquery is unnecessary (using etree alone is enough). This patch
reimplements the html_sanitize() function without pyquery. The new
implementation still goes through the provided test suite with success.

bzr revid: vmt@openerp.com-20120816104540-9374llhzde54h2vz
2012-08-16 12:45:40 +02:00
niv-openerp 1885387ace [IMP] added html field
bzr revid: nicolas.vanhoren@openerp.com-20120814130656-4pa91mud8u30mqr5
2012-08-14 15:06:56 +02:00
niv-openerp 63ae87fb4c Fixed encoding problems
bzr revid: nicolas.vanhoren@openerp.com-20120814121425-jq3ieebbsa7rcds5
2012-08-14 14:14:25 +02:00
niv-openerp cfaeed1581 Removed print in test
bzr revid: nicolas.vanhoren@openerp.com-20120814071457-hw8d5yp6xzporiuo
2012-08-14 09:14:57 +02:00
niv-openerp dc170d1a9a Added protection against javascript in <a>
bzr revid: nicolas.vanhoren@openerp.com-20120813155205-uohwb39ejn66bgmv
2012-08-13 17:52:05 +02:00
Vo Minh Thu 7a0abed231 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813142443-73d6zm10bqhm17mp
2012-08-13 16:24:43 +02:00
niv-openerp e5fb45a329 First working version of the html sanitizer
bzr revid: nicolas.vanhoren@openerp.com-20120813142232-xn7h0ov7mb3pls4o
2012-08-13 16:22:32 +02:00
Vo Minh Thu b0abe3a595 [MERGE] impex tests: added test module to unittest import/export.
bzr revid: vmt@openerp.com-20120810134544-f08mjga83ghlmnp7
2012-08-10 15:45:44 +02:00
Twinkle Christian (OpenERP) ea594186db [IMP]Remove type field from the remaining views.
bzr revid: tch@tinyerp.com-20120808110619-81svoatrfn8oyv2o
2012-08-08 16:36:19 +05:30
Vo Minh Thu 9086cc05f5 [IMP] test addons: pushed the Tests menu to the far right (probably into the MOAR button).
bzr revid: vmt@openerp.com-20120808124209-409j517o4adtuj84
2012-08-08 14:42:09 +02:00
Vo Minh Thu b77da916e5 [FIX] impex tests: removed unnecessary code.
bzr revid: vmt@openerp.com-20120807144519-r7tz3fh6ieslra1c
2012-08-07 16:45:19 +02:00
Vo Minh Thu 00d2d2fe05 [IMP] impex tests: moved test cases and models in their own test module.
bzr revid: vmt@openerp.com-20120807143744-zsbwktjmy5d79jki
2012-08-07 16:37:44 +02:00
Jigar Amin - OpenERP 1cb816c8a8 [FIX] Removed the unused test case to avoid the runtime mutiple execuation
bzr revid: jam@tinyerp.com-20120807114830-gu6j6hbb6zf30i97
2012-08-07 17:18:30 +05:30
ajay javiya (OpenERP) 3d3d51df0d [IMP]: Improve validation
bzr revid: aja@tinyerp.com-20120806133728-sa372lbgoc8rdebu
2012-08-06 19:07:28 +05:30
Xavier Morel 6d6e66cfc1 [IMP] fixme comment
bzr revid: xmo@openerp.com-20120806130220-6s525hr0jolzenv9
2012-08-06 15:02:20 +02:00
Jigar Amin - OpenERP 0632619b27 merge lp:~openerp-dev/openobject-server/trunk-sloppy-rng-vmt
bzr revid: jam@tinyerp.com-20120806103914-2wz2xsxeu2vhrfy6
2012-08-06 16:09:14 +05:30
Vo Minh Thu 66d054471c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120806102630-psx2mywo3w5da81i
2012-08-06 12:26:30 +02:00
Vo Minh Thu 4a8668589a [IMP] xml validation: white spaces.
bzr revid: vmt@openerp.com-20120806091144-t5jjnbnyqu6sk8wf
2012-08-06 11:11:44 +02:00
Vo Minh Thu b00e6af86c [FIX] xml validation: removed duplicated tests.
bzr revid: vmt@openerp.com-20120806091008-b4ve91aholkm67l4
2012-08-06 11:10:08 +02:00
Xavier Morel 471ef96edf [FIX] some notes and comments in import/export tests
bzr revid: xmo@openerp.com-20120801094434-t23wa2343utnevh6
2012-08-01 11:44:34 +02:00
Xavier Morel e3dc738802 [TEST] failure of o2m relinking via inline id (as exported)
bzr revid: xmo@openerp.com-20120801082108-vkind3ocwsqgd0bv
2012-08-01 10:21:08 +02:00
Xavier Morel 3f1ab77e28 [TEST] o2m importing of multiple fields
bzr revid: xmo@openerp.com-20120801070803-4sgvemuiifrhe61s
2012-08-01 09:08:03 +02:00
Xavier Morel c4a60df691 [TEST] o2m db-id export and import
bzr revid: xmo@openerp.com-20120731163631-n97nxph9gm2f6kdp
2012-07-31 18:36:31 +02:00
Xavier Morel e1c94f3221 [TEST] importing m2m fields to an existing object with m2m values
bzr revid: xmo@openerp.com-20120731152747-beg72fx2150upvay
2012-07-31 17:27:47 +02:00
Xavier Morel 29e6a77fef [TEST] localized import/export of selection fields
bzr revid: xmo@openerp.com-20120731144606-ceax7lk3rfi7zumk
2012-07-31 16:46:06 +02:00
Xavier Morel ac647909bf [TEST] m2m import
bzr revid: xmo@openerp.com-20120731135449-i07ex1zswepen3wt
2012-07-31 15:54:49 +02:00
Xavier Morel 6bad3e84fb [TEST] m2o import link by xid
bzr revid: xmo@openerp.com-20120731103908-p1apmrx3ifnodz0f
2012-07-31 12:39:08 +02:00
Xavier Morel a3542213bc [TEST] ids handling on main record
bzr revid: xmo@openerp.com-20120730165330-lm4l1yzfjduajb1p
2012-07-30 18:53:30 +02:00
Xavier Morel f8822ae313 [TEST] m2o import
bzr revid: xmo@openerp.com-20120730162318-qwxncgvizrifgxyh
2012-07-30 18:23:18 +02:00
Xavier Morel 496177a9b1 [TEST] incorrect value for selection field import
bzr revid: xmo@openerp.com-20120730153017-iywveudrq5h0ykef
2012-07-30 17:30:17 +02:00
Xavier Morel 5b5148b925 [TEST] selection fields import
bzr revid: xmo@openerp.com-20120730152844-xob3ezlw0qpb1kxc
2012-07-30 17:28:44 +02:00
Xavier Morel 1cf264cfd4 [TEST] char and text fields
bzr revid: xmo@openerp.com-20120730142851-6854x99l4sxmoc0s
2012-07-30 16:28:51 +02:00
Xavier Morel 6af9bb4159 [TEST] integers import
bzr revid: xmo@openerp.com-20120730122243-wjpalm6ovwuk6k5c
2012-07-30 14:22:43 +02:00
Xavier Morel 59193b0c0f [ADD] empty record/field case to booleans
bzr revid: xmo@openerp.com-20120730113633-tauioxm941k0iaqn
2012-07-30 13:36:33 +02:00
Xavier Morel 64910eaeba [ADD] boolean field import tests
bzr revid: xmo@openerp.com-20120730111105-k6q8xop0ru71l0dj
2012-07-30 13:11:05 +02:00
Xavier Morel 73f3f24fb4 [ADD] tests for selection[function] and function fields export
bzr revid: xmo@openerp.com-20120730103214-t4s9g0z3sl1x05b3
2012-07-30 12:32:14 +02:00
ajay javiya (OpenERP) 74c5af12d5 [IMP]: Improve view validation
bzr revid: aja@tinyerp.com-20120730051446-i5krti4889lwbgcn
2012-07-30 10:44:46 +05:30
Xavier Morel 53c82f4086 [TEST] export of multiple o2m fields in the same object
bzr revid: xmo@openerp.com-20120726100804-ggsjwco93k9d5bqw
2012-07-26 12:08:04 +02:00
ajay javiya (OpenERP) 337b364bc7 [IMP]:Improve in view_validation
bzr revid: aja@tinyerp.com-20120726090913-3nikkq1nnpsa051s
2012-07-26 14:39:13 +05:30
Xavier Morel f3c315cf10 [ADD] some m2m tests
bzr revid: xmo@openerp.com-20120724105756-swxo1l4tahqjopzd
2012-07-24 12:57:56 +02:00
Xavier Morel 02109d24e2 [ADD] tests for o2m field export
bzr revid: xmo@openerp.com-20120724102728-g7noucvda19k7k5q
2012-07-24 12:27:28 +02:00
Xavier Morel 5850df630c [ADD] m2o field export tests
bzr revid: xmo@openerp.com-20120723160041-o6w24ia2kwnqu19z
2012-07-23 18:00:41 +02:00
Xavier Morel feb9efed4d [IMP] prepare export test cases for relational fields
bzr revid: xmo@openerp.com-20120723153826-hu7cwhj8uv6w0xu7
2012-07-23 17:38:26 +02:00
Xavier Morel fc36345ca0 [ADD] test cases for export of simple fields
bzr revid: xmo@openerp.com-20120723150306-6zgtr9ho0d3ud78u
2012-07-23 17:03:06 +02:00
Jigar Amin - OpenERP 04fa87b2aa [MERGE] lp:~openerp-commiter/openobject-server/trunk-sloppy-rng-jam-validation-aja
bzr revid: jam@tinyerp.com-20120703084620-aioarva0jgombwo4
2012-07-03 14:16:20 +05:30
ajay javiya (OpenERP) 78ba98baa0 [ADD]: Add validation for view
bzr revid: aja@tinyerp.com-20120703060737-cnnuzzfc8yfa8rcd
2012-07-03 11:37:37 +05:30
Vo Minh Thu 2666ab3fe0 [IMP] ir.ui.view: Added assertion-based checks.
bzr revid: vmt@openerp.com-20120622131004-stn7tf68xph3f278
2012-06-22 15:10:04 +02:00
Jigar Amin - OpenERP 5977186c41 [MERGE] lp:openobject-server:
bzr revid: jam@tinyerp.com-20120626091036-n9k87elbyim12y2r
bzr revid: jam@tinyerp.com-20120627101443-iwk0lm4eauqver58
bzr revid: jam@tinyerp.com-20120627110734-ilfjuhstvsg4wavi
2012-06-27 16:37:34 +05:30
Antony Lesuisse 453a1350fe [MERGE] trunk
bzr revid: vmt@openerp.com-20120620122005-2rghps6qjjkozt3n
bzr revid: al@openerp.com-20120627103900-0kgtskgipdazmgy9
2012-06-27 12:39:00 +02:00
Jigar Amin - OpenERP e528d37750 [MERGE] lp:openobject-server
bzr revid: jam@tinyerp.com-20120625040928-cs8h4blh2tm3odo1
2012-06-25 09:39:28 +05:30
Foram Katharotiya (OpenERP) 6292e896a1 [IMP] solve Can not `import openerp.tests`.
bzr revid: fka@tinyerp.com-20120620115142-euaid51ad2xgwevc
2012-06-20 17:21:42 +05:30
Vo Minh Thu 5edca89903 [IMP] uninstall: typos
bzr revid: vmt@openerp.com-20120620100705-p9o5kktmj8zkbshm
2012-06-20 12:07:05 +02:00
Turkesh Patel (Open ERP) 8b3c05a373 [IMP] remove cancel button from wizard and improved view.
bzr revid: tpa@tinyerp.com-20120619092606-5w7p50l7vnn3sv0w
2012-06-19 14:56:06 +05:30
Kuldeep Joshi (OpenERP) a153714bcc [IMP] remove res.partner.address
bzr revid: kjo@tinyerp.com-20120614085646-vvbx0fegqxar2kot
2012-06-14 14:26:46 +05:30
Kuldeep Joshi (OpenERP) 71ebce8018 [IMP]remove res.partner.address and sequence from ir.sequence
bzr revid: kjo@tinyerp.com-20120611103425-ekeoso4m1475d6rq
2012-06-11 16:04:25 +05:30
Vo Minh Thu 768aaa8854 [IMP] uninstall: moved tests from t.py to openerp.tests.
bzr revid: vmt@openerp.com-20120604123112-stegmdko2lakdv6f
2012-06-04 14:31:12 +02:00
Vo Minh Thu fa4c2a40c0 [IMP] uninstall: moving tests to the openerp test framework (i.e. under openerp/tests/).
bzr revid: vmt@openerp.com-20120604104404-zibru6794ma1996x
2012-06-04 12:44:04 +02:00
Vo Minh Thu 9f46071958 [IMP] uninstall: added some docstrings.
bzr revid: vmt@openerp.com-20120601154544-e9a9cox7fcyd411m
2012-06-01 17:45:44 +02:00
Vo Minh Thu eadd5e0a0a [IMP] uninstall: use a dedicated table for many2many relationships instead of overlaoding ir.model.data.
bzr revid: vmt@openerp.com-20120601153449-uj2sl7qjzz3s7xnj
2012-06-01 17:34:49 +02:00
Vo Minh Thu d790650bfb [IMP] uninstall: use dedicated table instead of overloading ir.model.data.
bzr revid: vmt@openerp.com-20120601131414-880vmpctmjfxl84f
2012-06-01 15:14:14 +02:00
Vo Minh Thu 5df4aa8cca [IMP] uninstall: started test module, added new ir_model_constraint table.
bzr revid: vmt@openerp.com-20120531160140-tutjw76tp0u5hipo
2012-05-31 18:01:40 +02:00
Xavier Morel 415d91f924 [FIX] error out when trying to set a global default if there already is a global default set
bzr revid: xmo@openerp.com-20120522125500-k4gxfa5ocmxk70us
2012-05-22 14:55:00 +02:00
Xavier Morel a90c8ff5ae [ADD] is_default handling on private filters
bzr revid: xmo@openerp.com-20120522115330-xnr4pyfy9sh3oqtv
2012-05-22 13:53:30 +02:00
Xavier Morel 33e585a607 [TEST] (ir.filters).get_filters
bzr revid: xmo@openerp.com-20120522110031-pddbryncp07dwfjk
2012-05-22 13:00:31 +02:00
Xavier Morel 539f0ebb45 [FIX] cleanup of ir.sequence tests to make them repeatable
bzr revid: xmo@openerp.com-20120522090637-xty4p2jmo74wijcc
2012-05-22 11:06:37 +02:00
Olivier Dony dbe7b45276 [IMP] orm: support model-level @groups attribute for access restriction
This is a partial implementation with no support for
restricting read/write access via RPC. This first
part only covers the removal of the restricted fields
from the client-side view, i.e. in the results of
fields_view_get() and fields_get().

The second part will come later and will cover the
real low-level access control.

bzr revid: odo@openerp.com-20120518143625-ps9db62vzrc2pylh
2012-05-18 16:36:25 +02:00
Raphael Collet cd47a2fcaf [MERGE] from trunk
bzr revid: rco@openerp.com-20120319092142-bk2yjoao67g712nb
2012-03-19 10:21:42 +01:00
Olivier Dony caf646a7e5 [IMP] test_ir_sequence: avoid spurious traceback logging
bzr revid: odo@openerp.com-20120314142552-283i4s1lwrkt7zx3
2012-03-14 15:25:52 +01:00
Raphael Collet 8f8b5497d1 [IMP] tests: add test on related fields
bzr revid: rco@openerp.com-20120309161547-um53k5rqqts9flz6
2012-03-09 17:15:47 +01:00
Raphael Collet 82f492bc2c [FIX] related fields: fix and simplify search (was wrong with a single indirection)
bzr revid: rco@openerp.com-20120309152938-n467ap8hnw406rau
2012-03-09 16:29:38 +01:00
Vo Minh Thu 6323111950 [IMP] tests:
- moved a few YAML tests to unittest2 for demonstration purpose
- changed --test-disable to --test-enable (and swapped its meaning)

bzr revid: vmt@openerp.com-20120301134608-szuktuj8imdhmn0r
2012-03-01 14:46:08 +01:00
Vo Minh Thu ade3f174a5 [IMP] tests: move tests discovery and execution to openerp.modules.module, removed unexisting column name, filter out more test outputs
bzr revid: vmt@openerp.com-20120301121611-1gieqehm9wqog2fx
2012-03-01 13:16:11 +01:00
Vo Minh Thu d85da03314 [IMP] tests: xml-rpc test drops the created database (which has its own name, not clashing with the main db name).
bzr revid: vmt@openerp.com-20120301105419-8ik3z5eikwjnackk
2012-03-01 11:54:19 +01:00
Vo Minh Thu d709d602d8 [ADD] FEATURES.rst: whenever a feature branch is reviewed (but normally also when it is started),
the description of the implented features must be provided, so
here they are.

bzr revid: vmt@openerp.com-20120228112418-r8tjx3o6xc2cbaej
2012-02-28 12:24:18 +01:00
Vo Minh Thu ed71ad0946 [FIX] tests: `core` is really `common`. Also added some comments
and a second test suite variable for sanity checks. The comments will
later be changed to point to some documentation instead.

bzr revid: vmt@openerp.com-20120217150049-in1lmo24qay8ulmh
2012-02-17 16:00:49 +01:00
Vo Minh Thu 0037575619 [IMP] tests: provide simple reusable base classes to write tests.
bzr revid: vmt@openerp.com-20120216162706-ccbgkqv8k8kufmnb
2012-02-16 17:27:06 +01:00
Vo Minh Thu 1cf8f5680a [IMP] tests: expose an explicit list of test sub-modules.
bzr revid: vmt@openerp.com-20120213162058-e7u9jap679z4hep5
2012-02-13 17:20:58 +01:00
Florent Xicluna ab9db3f622 [REM] more unused imports.
bzr revid: florent.xicluna@gmail.com-20120208213313-1v0dugc59ch1fnnu
2012-02-08 22:33:13 +01:00
Florent Xicluna d8b25ca182 [MRG] merge trunk.
bzr revid: florent.xicluna@gmail.com-20120208141358-emgwspa0s58gtsez
2012-02-08 15:13:58 +01:00
Vo Minh Thu ee988a8955 [IMP] tests: export all the tests in a single suite.
bzr revid: vmt@openerp.com-20120201164404-yvnf30okqyj69sfy
2012-02-01 17:44:04 +01:00
Vo Minh Thu 15a8f08170 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130102041-aensqjeqkftq8nm5
2012-01-30 11:20:41 +01:00
Vo Minh Thu 30d7253fef [IMP] gunicorn: changed `print` with `logging.info`.
bzr revid: vmt@openerp.com-20120120160409-cu1vcw7cfa3z0zgy
2012-01-20 17:04:09 +01:00
Vo Minh Thu ba178be7c0 [IMP] gunicorn: add CPU and memory limits.
bzr revid: vmt@openerp.com-20120120114612-xowu57yy3f5uxi0j
2012-01-20 12:46:12 +01:00
Florent Xicluna e7838dfbc4 [REF] fix weird indentation, not multiple of four.
bzr revid: florent.xicluna@gmail.com-20120119191756-niny262vp1nvmpp8
2012-01-19 20:17:56 +01:00
Florent Xicluna 82f780e948 [REM] unused imports.
bzr revid: florent.xicluna@gmail.com-20120119191654-scm8c3o07icyz5b1
2012-01-19 20:16:54 +01:00
Florent Xicluna 40c1de87d8 [REF] remove unused import, always import literal_eval from tools.safe_eval.
bzr revid: florent.xicluna@gmail.com-20120115214214-0rjwn80choc9g0fs
2012-01-15 22:42:14 +01:00
Vo Minh Thu 43745c4cb9 [IMP] tests: moved tests into openerp.tests, expose test suites.
bzr revid: vmt@openerp.com-20111201140012-y9kmto0le0ugxdzf
2011-12-01 15:00:12 +01:00