Commit Graph
14 Commits
Author SHA1 Message Date
David Harper 5acfaf859c Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier 1f18c67958 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 2dd8cf724a 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 96b54434c5 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier 20019f1eba Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:45 +02:00
Cédric Krier 2417951f25 Remove unused set_tax_code import in scenario 2018-03-16 17:39:38 +01:00
Cédric Krier 2a95c6dd19 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:44 +02:00
Nicolas Évrard 0a6f948a30 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:42 +02:00
Cédric Krier 30c330fa1d Use install_modules tools in scenario
issue5794
2016-08-26 09:58:58 +02:00
Cédric Krier 02fba007f3 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:36 +01:00
Jonathan Levy bc39639dff Add Python3 support
issue3211
review21761002
2016-03-05 12:31:22 +01:00
Cédric Krier 12e925ec6e Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:37 +02:00
Cédric Krier 52f7dac6e7 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:26 +01:00
Cédric Krier 97f01e70c2 Initial commit
review6621002
2014-12-19 12:24:22 +01:00