Commit Graph
22 Commits
Author SHA1 Message Date
Cédric Krier 0d95669f8c Improve performance of cost price computation
- Return average cost price
- Compute average cost price with the current move

issue6626
review42501002
2017-08-02 23:04:45 +02:00
Cédric Krier 3827d940d0 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:46 +02:00
Nicolas Évrard 02e2ff8b7b Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:44 +02:00
Xavier Codinas 1c5e957bf0 Fix inconsistent leading whitespace in scenario
The problem was introduced in changeset b254ed9ff50d

issue5833
review33271002
2016-08-26 11:36:10 +02:00
Cédric Krier c0a07f5ea4 Use install_modules tools in scenario
issue5794
2016-08-26 09:59:17 +02:00
Cédric Krier 64872e86a5 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:56:53 +01:00
Jonathan Levy 21c654800b Add Python3 support
issue3211
review17861002
2016-02-27 15:22:10 +01:00
Cédric Krier a69926956b Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:54 +02:00
Cédric Krier 8cde758e86 Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:13:45 +01:00
Nicolas Évrard db2e11d550 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:05 +01:00
Cédric Krier 8c95a3bfb5 Fix most flake8 errors
review8771002
2014-12-02 12:55:33 +01:00
Cédric Krier 07fb7e396e Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:48 +02:00
Cédric Krier af6c990268 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:18 +02:00
Cédric Krier 629d1bd34d Compute cost price one move at a time
As _update_product_cost_price uses product quantity, this quantity must be
recomputed after each move in case some are for the same products.

issue4039
review12441002
2014-08-29 16:24:28 +02:00
Cédric Krier 0dc2dfc23b Drop support of Python 2.6
review2691002
2014-01-31 00:03:50 +01:00
Cédric Krier f946225e2c Cleanup tests
review2491002
2014-01-12 19:59:52 +01:00
Cédric Krier 05f15884b6 Use common doctest_dropdb
review2151002
2013-12-18 18:30:07 +01:00
Cédric Krier e0dfed5f4c Fix flake8 2013-10-05 12:17:09 +02:00
Giedrius Slavinskas a03e40af8b Add test scenario for fifo moves
issue3138
review781002
2013-04-12 16:21:06 +03:00
Cédric Krier 5b2d98d4c3 Fix pep8 and pyflakes 2012-04-03 20:07:21 +02:00
Nicolas Évrard 830040cca7 Use relative imports 2011-12-14 17:04:27 +01:00
Cédric Krier 65dd846757 Add test for depends 2011-08-04 16:59:28 +02:00