Commit Graph
33 Commits
Author SHA1 Message Date
Cédric Krier c75e5a4c73 Follow isort formatting
issue10928
2021-12-11 17:58:42 +01:00
Jared Esparza e6662dfe09 Create analytic move when closing an asset
issue9616
review322061002
2021-04-10 16:44:13 +02:00
David Harper b142b76266 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
David Harper 2b09165826 Rename invoice state from cancel to cancelled
issue8927
review303661003
2020-06-06 10:23:14 +01:00
Cédric Krier de51de4dea 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 6fd0817f9a Remove mandatory on analytic roots
Having required field managed by user breaks automated workflows.

issue7605
review70531002
2019-02-18 18:39:29 +01:00
Cédric Krier 998b4e34e2 Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier 1db2eb912e Update scenario as credit invoice has cancel state
issue7682
2018-11-02 20:04:05 +01:00
Cédric Krier ad67cb963e Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:45 +02:00
Cédric Krier d4ca081922 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:44 +02:00
Cédric Krier 5c5753cfd4 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:43 +02:00
Cédric Krier c440514599 Update scenario for change depreciation _duration into Integer
issue6395
2017-03-28 23:48:57 +02:00
Nicolas Évrard 0db1924d26 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:39 +02:00
Cédric Krier 43a7b9799f Add support for depreciable assets
The analytic entries should not be created when posting the invoice for
depreciable assets. Instead entries must be created when the assets are
depreciated.

issue5909
review26731002
2016-10-12 22:36:54 +02:00
Cédric Krier d3b767c41e Use install_modules tools in scenario
issue5794
2016-08-26 09:58:41 +02:00
Cédric Krier a31af7a0dc 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:20 +01:00
Jonathan Levy c6c27b40e6 Add Python3 support
issue3211
review24871002
2016-02-29 22:43:13 +01:00
Cédric Krier 2293c2cf02 Add unit price to invoice line of scenario
issue4857
review22291002
2015-07-16 19:32:28 +02:00
Cédric Krier ce91aef145 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:22 +02:00
Sergi Almacellas Abellana 39417846a1 Prefix scenario name with analytic
issue4528
2015-02-16 18:33:55 +01:00
Sergi Almacellas Abellana 5cc6fffd80 Add doctest scenario
issue4528
review11901002
2015-02-15 13:11:01 +01:00
Cédric Krier d8583cb015 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:08 +01:00
Nicolas Évrard 6a4d93c938 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:56 +01:00
Cédric Krier 77adb5e80d Fix most flake8 errors
review8771002
2014-12-02 12:54:57 +01:00
Cédric Krier f2e3efeebe Cleanup tests
review2491002
2014-01-12 19:59:30 +01:00
Cédric Krier c8fb016397 Fix flake8 2013-10-05 12:16:40 +02:00
Cédric Krier 01840bd865 Fix pep8 and pyflakes 2012-04-03 20:06:35 +02:00
Nicolas Évrard c2ee465a4a Use relative imports 2011-12-14 17:04:24 +01:00
Cédric Krier a648b26207 Add test for depends 2011-08-04 16:57:21 +02:00
Cédric Krier 4292c9523e Fix test_view for issue1651 2010-08-27 12:18:00 +02:00
Cédric Krier f68a19302b Add test_suite in setup.py 2010-03-12 17:49:33 +01:00
Cédric Krier 912f2560e2 New unittest design 2010-03-04 14:06:45 +01:00
Cédric Krier e85fd26f07 Add test views 2009-06-28 19:42:16 +02:00