Cédric Krier
5655198e74
Support testNamePatterns for doc tests
...
issue11423
review382481002
2022-04-25 18:11:19 +02:00
Cédric Krier
36cbaa9ccc
Replace test setuptools command by unittest discover
...
issue9215
review389851002
2022-04-16 18:30:17 +02:00
Cédric Krier
abf7ecbcc6
Follow isort formatting
...
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier
9f5ecbc143
Prevent editing list and cost prices without proper context
...
issue10773
review338951002
2021-10-08 19:16:44 +02:00
Cédric Krier
3153ce4849
Move carrier and cost from sale_shipment_cost to stock_shipment_cost
...
issue10375
review358031002
2021-05-19 12:44:42 +02:00
Cédric Krier
5a75c0780d
Simplify manual alteration of shipment cost
...
issue10142
review340111002
2021-03-13 23:43:51 +01:00
Maxime Richez
d77d79647e
Add picked step to customer shipment workflow
...
issue9634
review329071002
2020-10-12 23:19:54 +02:00
David Harper
d3e154a65c
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier
8deba2d7e3
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:52 +01:00
Cédric Krier
7f49303700
Don't set default unit price on stock move
...
issue8119
review255251002
2019-04-23 09:10:22 +02:00
Cédric Krier
e5319fc82d
Add extras modules to ModuleTestCase
...
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier
1d16f5be0f
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier
fc378ae6c1
Remove accounts from products
...
issue3805
review45111002
2018-06-20 12:09:45 +02:00
Cédric Krier
14b57f579a
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:44 +02:00
Cédric Krier
58fe5fce95
Update test scenario for new digits of cost
...
issue6557
2017-06-23 14:59:07 +02:00
Nicolas Évrard
6a72fb0891
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:41 +02:00
Cédric Krier
83296c4f1e
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:58:54 +02:00
Cédric Krier
5352b90576
Replace category by categories on Template
...
issue5320
review23791002
2016-03-19 09:04:55 +01:00
Cédric Krier
7692c23eac
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:32 +01:00
Cédric Krier
3e43f928d0
Add Python3 support
...
issue3211
2016-03-11 10:13:42 +01:00
Cédric Krier
920565c8cb
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:12:31 +01:00
Cédric Krier
4e25cb1eda
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:03:33 +02:00
David Harper
a4f125bcae
Fix test to work with cost on quote
...
Since issue4531, the cost line is only created at quotation.
issue4655
review15301002
2015-03-19 11:56:15 +01:00
Cédric Krier
ab27f34e54
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:22 +01:00
Cédric Krier
4e79dc4ad5
Add tox and drone
...
issue4431
2015-01-22 21:12:16 +01:00
Nicolas Évrard
1a2f3ce5e9
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:07:59 +01:00
Cédric Krier
d6caeeaa7c
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:09 +01:00
Cédric Krier
11a04a903c
Add some test tools to ease scenario writing
...
review11331002
2014-10-24 10:44:33 +02:00
Cédric Krier
e9531a4150
Use new doctest setup/teardown
...
issue3627
review7401002
2014-09-04 08:45:01 +02:00
Cédric Krier
b8ab8d0a67
Drop support of Python 2.6
...
review2691002
2014-01-31 00:03:28 +01:00
Cédric Krier
3869195ad2
Anonymise tests
...
review2681002
2014-01-16 22:10:21 +01:00
Cédric Krier
456a2de07e
Cleanup tests
...
review2491002
2014-01-12 19:59:38 +01:00
Cédric Krier
169aedc427
Use common doctest_dropdb
...
review2151002
2013-12-18 18:29:44 +01:00
Cédric Krier
ac9844d073
Fix flake8
2013-10-05 12:16:51 +02:00
Cédric Krier
4349221dd7
Migration to python-sql
...
review1001002
2013-09-06 22:34:09 +02:00
Cédric Krier
24d9bffd59
Remove _inherits
...
review670002
2013-03-20 22:50:37 +01:00
Albert Cervera i Areny
a28753786c
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-10 23:51:36 +01:00
Cédric Krier
bc24d44818
Active Record
2012-09-24 22:17:48 +02:00
Cédric Krier
1cf3d52114
FiscalYear.create_period returns nothing now
2012-09-11 15:29:50 +02:00
Cédric Krier
588f9e4dda
Simplify workflow engine
...
review256001
2012-03-25 00:17:45 +01:00
Cédric Krier
de999af6d2
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
2012-03-23 20:58:18 +01:00
Cédric Krier
5c4e3e4dc1
New product types: Goods, Assets and Service
...
review260001
2012-03-16 12:41:35 +01:00
Cédric Krier
04e1a45f36
Fix context keyword in Transaction.start
2012-02-08 09:36:37 +01:00
Cédric Krier
72a650beac
Initial commit of carrier_percentage module
2012-02-07 19:38:56 +01:00