Commit Graph
24 Commits
Author SHA1 Message Date
Cédric Krier 71e62f1b41 Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:20 +02:00
Cédric Krier a5b38714bd Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:19 +02:00
Cédric Krier db6fe52563 Follow isort formatting
issue10928
2021-12-11 17:58:44 +01:00
Cédric Krier 45ba63e1df Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:18 +01:00
Maxime Richez 6fd50379e2 Add picked step to customer shipment workflow
issue9634
review329071002
2020-10-12 23:19:54 +02:00
David Harper 19e2b526f4 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier 721e5b885d 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:53 +01:00
Cédric Krier 1384f5cfe2 Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.

issue6573
review254081002
2019-09-07 23:38:20 +02:00
Cédric Krier 7461059cde Remove unnecessary call to process
process button is restricted to administrator groups.

issue8113
2019-03-08 21:32:03 +01:00
Cédric Krier c303f84208 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:54 +02:00
Cédric Krier 1eec4dc939 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:52 +02:00
Cédric Krier 62ef794009 Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:22 +02:00
Cédric Krier 8549cf9a5f Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:49 +02:00
Nicolas Évrard bb67940d3d Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:49 +02:00
Cédric Krier 7281ef65cd Use install_modules tools in scenario
issue5794
2016-08-26 09:59:46 +02:00
Cédric Krier 6f9145e9c6 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:57:17 +01:00
Jonathan Levy 4780242c99 Add Python3 support
issue3211
review20001002
2016-03-09 20:57:15 +01:00
Cédric Krier 0c9f34e318 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:16 +02:00
Cédric Krier 03f89657a8 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:14:06 +01:00
Nicolas Évrard 6df88ba72b Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier 8a5547a0ba Fix most flake8 errors
review8771002
2014-12-02 12:56:00 +01:00
Cédric Krier a6f81b944e Add some test tools to ease scenario writing
review11331002
2014-10-24 10:45:06 +02:00
Cédric Krier a0c28f6e23 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:37 +02:00
Nicolas Évrard 926328f80c Initial commit of sale_shipment_grouping module
review3591002
2014-03-16 21:42:46 +01:00