Commit Graph
64 Commits
Author SHA1 Message Date
Cédric Krier 6e6c150238 Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:19 +02:00
Cédric Krier 0a628457fc Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:16 +02:00
Cédric Krier 16d9de2901 Test with different units of measure
issue10972
review385391002
2022-01-20 19:05:32 +01:00
Cédric Krier 3a6440ee81 Follow isort formatting
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier eeaead98f3 Fill account_category after duplicate product template in test scenario
issue10269
2021-10-11 17:19:03 +02:00
Cédric Krier 68f0555ead Always use proteus config argument in testing tools
issue10548
review338421002
2021-07-12 22:56:26 +02:00
Maxime Richez 267ccd6343 Add picked step to customer shipment workflow
issue9634
review329071002
2020-10-12 23:19:54 +02:00
David Harper 2c3fc93ccb Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier c83dc3e305 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:51 +01:00
Cédric Krier aefdb3447c Store product cost price revision
The "Modify Cost Price" wizard create a revision record for each template or
product. The cost price re-computation methods apply those revisions at the
beginning of their date.
The stock accounting move is created and posted when the cost price is modified
by the re-computation.

issue8930
review260751002
2020-01-26 21:10:40 +01:00
Cédric Krier 8664e3be56 Use only 3 stock accounts
This simplify the configuration and allow to update cost price without asking
for accounting information.

issue7273
review262541002
2020-01-08 14:36:45 +01:00
Christophe e9156d1a8c Replace 'Update Cost Price' by 'Modify Cost Price'
issue7903
review271541002
2019-07-08 18:35:57 +02:00
Cédric Krier bba4c66189 Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier d4277eb7ce Update scenario to use template instead of product on product supplier
issue6799
2019-03-15 16:33:08 +01:00
Cédric Krier e27ce586ad Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier e6d10fd4fc Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:43 +02:00
Cédric Krier cb9cc9dc37 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:42 +02:00
Nicolas Évrard 46e6aebf18 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:38 +02:00
Cédric Krier 39468c53f3 Use install_modules tools in scenario
issue5794
2016-08-26 09:58:34 +02:00
Cédric Krier e74ce4c824 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:04:36 +01:00
Cédric Krier bdacc2578d 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:13 +01:00
Cédric Krier 7ed7be42a4 Add Python3 support
issue3211
2016-03-10 15:08:15 +01:00
Cédric Krier 6c93bddba9 Rename delivery_time into lead_time
issue5275
2016-02-06 23:50:34 +01:00
Cédric Krier b66880f542 Add support for drop location
issue5017
review24471002
2015-10-08 19:53:13 +02:00
Cédric Krier eeeb44553b Scenario should not depend on list order
issue5017
review24471002
2015-10-08 19:52:49 +02:00
Cédric Krier 4cd5d3dc59 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:18 +02:00
Cédric Krier c9d38fb4a0 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:06 +01:00
Nicolas Évrard 5bc34e65bf Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:55 +01:00
Cédric Krier 45790b2b22 Fix most flake8 errors
review8771002
2014-12-02 12:54:53 +01:00
Cédric Krier 6b3f7c925e Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:22 +02:00
Cédric Krier 299cb4b8e8 Remove ask for payment term in create purchase wizard
issue4176
2014-09-18 19:08:37 +02:00
Cédric Krier ce22a599fa Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:44:51 +02:00
Nicolas Évrard 7aa25a5295 Split confirmed state into confirmed and processing
issue3874
review7261002
2014-07-02 19:04:58 +02:00
Cédric Krier 517e4d61a9 Add account stock method on fiscal year
issue3962
review5381002
2014-06-09 18:22:02 +02:00
Cédric Krier c40cde8c5b Use drop shipment in scenario
issue3677
review3561002
2014-02-24 19:18:04 +01:00
Cédric Krier a11ddb1b2c Use Decimal comparison in doctest 2014-02-15 00:20:39 +01:00
Cédric Krier ef8a397237 Anonymise tests
review2681002
2014-01-16 22:10:11 +01:00
Cédric Krier 9c8ee83eae Cleanup tests
review2491002
2014-01-12 19:59:28 +01:00
Cédric Krier bcbfd61b81 Use common doctest_dropdb
review2151002
2013-12-18 18:29:31 +01:00
Cédric Krier 3047f9f333 Fix flake8 2013-10-05 12:16:38 +02:00
Cédric Krier 577791e577 Migration to python-sql
review1001002
2013-09-06 22:33:58 +02:00
Cédric Krier c1fe3892e8 Remove _inherits
review670002
2013-03-20 22:50:28 +01:00
Cédric Krier e62cf5db4f Use Workflow for Stock Move
review600002
2012-12-27 21:53:33 +01:00
Cédric Krier 7a3fbb4529 Update to new invoice states
review583002
2012-12-23 22:29:59 +01:00
Cédric Krier 47d60e5d7f Fix scenario for new account_stock_production field 2012-10-16 14:13:18 +02:00
Cédric Krier 0e3f5ffd20 Active Record 2012-09-24 22:17:38 +02:00
Cédric Krier cc8fb0c3c8 FiscalYear.create_period returns nothing now 2012-09-11 15:22:24 +02:00
Cédric Krier f52e121b00 Fix pep8 and pyflakes 2012-04-03 20:06:31 +02:00
Cédric Krier c8be246f07 Enforce the usage of account kind
issue2475
review295005
2012-03-30 14:21:05 +02:00
Cédric Krier 9b9fcfe8be Simplify workflow engine
review256001
2012-03-25 00:17:34 +01:00