Commit Graph
39 Commits
Author SHA1 Message Date
Cédric Krier 538faadd8f Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:18 +02:00
Cédric Krier 92f22eec56 Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:15 +02:00
Cédric Krier 87f95a86ce Follow isort formatting
issue10928
2021-12-11 17:58:41 +01:00
Juanjo Garcia 0a210b1573 Add revisions when updating an asset
issue9767
review304641002
2021-10-04 18:53:55 +02:00
Cédric Krier 2abacd6547 Always use proteus config argument in testing tools
issue10548
review338421002
2021-07-12 22:56:26 +02:00
David Harper 69ef4819c3 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:05 +01:00
Cédric Krier 3523c26bbe Use fixed year of 365 days
issue8743
review254471002
2019-11-16 14:49:18 +01:00
Cédric Krier 28d9de2151 Add depreciated amount
This eases the encoding of existing assets when migrating to Tryton.

issue8663
review280151002
2019-10-08 18:47:27 +02:00
Cédric Krier dc238e9086 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier ef0a2d95ac Add extras modules to ModuleTestCase
issue7935
review50661002
2019-01-17 17:22:22 +01:00
Cédric Krier e71706761b Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier a8591714ca Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:40 +02:00
Cédric Krier 0f1ec70e8c Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:39 +02:00
Christophe c6128ba283 Don't allow to close a period with asset moves not posted.
issue2939
review32701002
2018-02-13 19:09:11 +01:00
Sergi Almacellas Abellana 65c5e68093 Use properties for used accounts on product
A function field can not be used as when it's called with a list of
records, the MissingFunction may raise an error for products that are
not of asset type

issue6634
review43281002
2017-09-20 12:15:46 +02:00
Cédric Krier 3ea897168e Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:40 +02:00
Cédric Krier 8c3fafc82e Change depreciation_duration into Integer
There is no real need for this field to be a Property, it is only a default
value that should most of the time be the same for all companies.

issue6395
review27251002
2017-03-27 16:55:48 +02:00
Nicolas Évrard 352f3532fd Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:35 +02:00
Cédric Krier 7e424974b3 Use install_modules tools in scenario
issue5794
2016-08-26 09:58:01 +02:00
Cédric Krier ab5d28b374 Merge invoice and credit note
issue5225
review18921002
2016-03-20 22:58:04 +01:00
Cédric Krier 7977ced243 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:55:40 +01:00
Jonathan Levy a5b48bc6d1 Add Python3 support
issue3211
review21741002
2016-02-29 22:38:24 +01:00
Cédric Krier d267b828e0 Add unit price to invoice line of scenario
issue4857
review23281004
2015-07-16 19:34:59 +02:00
Cédric Krier 4937cf8ec8 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:02:52 +02:00
Nicolas Évrard cd4cbe7b7a Add asset depreciation report
issue4184
review14501002
2015-02-03 17:20:11 +01:00
Cédric Krier 78fa67cbeb 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:12:47 +01:00
Nicolas Évrard 11a7f656a3 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:51 +01:00
Cédric Krier ae07e95cdd Fix most flake8 errors
review8771002
2014-12-02 12:54:30 +01:00
Cédric Krier edeff346f6 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:05 +02:00
Nicolas Évrard ce82c37919 Ensure update move is between latest update move and next depreciation move
issue4190
review7601002
2014-09-22 18:54:36 +02:00
Cédric Krier dc63ca2dae Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:44:33 +02:00
Cédric Krier 3c4c479a92 Drop support of Python 2.6
review2691002
2014-01-31 00:02:56 +01:00
Cédric Krier 368a340c30 Cleanup tests
review2491002
2014-01-12 19:59:17 +01:00
Cédric Krier cf78da6f40 Use common doctest_dropdb
review2151002
2013-12-18 18:28:35 +01:00
Cédric Krier 724d2483a2 Fix flake8 2013-10-05 12:16:25 +02:00
Cédric Krier 8c94552cb1 Migration to python-sql
review1001002
2013-09-06 22:33:48 +02:00
Cédric Krier ea4e6117fd Remove _inherits
review670002
2013-03-20 22:50:19 +01:00
Cédric Krier c3cbbf0681 Update to new invoice states 2012-12-24 00:54:47 +01:00
Cédric Krier a76decb348 Initial commit
review439002
2012-11-15 19:33:08 +01:00