Commit Graph
7 Commits
Author SHA1 Message Date
qdp-odoo bd4da1b749 [FIX] sale, sale_expense, stock_landed_costs: fix nightly build.
stock_landed_costs: on nightly, the localization installed may not have stock properties accounts defined. If it's not, we create them on the fly with a random account

 sale, sale_expense: fix broken tests due to mismatch currency:
    On 10.0-nightly, the currency of the company is not the same that the product.list0
    that leads to assertion errors.
2017-06-08 17:40:21 +02:00
qdp-odoo 22c9747e2d [FIX] stock_landed_costs: fixed test case to work also in case of non anglo saxon accounting. Also changed TestLandedCosts to extend AccountingTestCase 2016-09-22 10:57:11 +02:00
Yannick Tivisse d6e1d41128 [MIG] account: Migrate remaining old API chuncks of code 2016-08-08 12:24:40 +02:00
Xavier Morel a43b220b33 [FIX] make AccountingTestCase extend HttpCase
Fixes/hides a deadlock when running test_sale_order with either a single
database or a db_filter making a single database visible: the test
causes a report to be printed, which invokes wkhtmltopdf, which tries to
fetch assets using the registry which is being loaded. The asset request
thus waits on a lock which is held by the test which waits on the asset,
deadlocking the whole thing.

Using HttpCase means we're using the test_cr or something and bypassing
the deadlock, instead the asset requests just 404 as they do when using
the nodb routing.
2015-10-20 17:38:53 +02:00
Christophe Simonis 731b9f60ea [FIX] account: skip tests using skipTest method 2015-09-23 17:02:42 +02:00
Raphael Collet d4a24f3663 [IMP] account: improve doc and add warning on post-install tests 2015-09-17 11:59:03 +02:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00