Commit Graph
45 Commits
Author SHA1 Message Date
Maxime Richez d296d48566 Remove default currency on stock move
issue11512
review433171003
2022-09-29 09:08:06 +02:00
Cédric Krier 21399b06ad Support testNamePatterns for doc tests
issue11423
review382481002
2022-04-25 18:11:20 +02:00
Cédric Krier 677de24ca2 Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:18 +02:00
Cédric Krier 4b2ff88e35 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier 1f2485321c Fill account_category after duplicate product template in test scenario
issue10269
2021-10-11 17:19:03 +02:00
Cédric Krier 2b037d9ab3 Add back the shipment cost when recompute move unit price
When the unit price of a move is updated, the shipment cost that was added must
be added back.

issue10196
review348201004
2021-04-28 00:35:04 +02:00
Cédric Krier bb7594f591 Simplify manual alteration of shipment cost
issue10142
review340111002
2021-03-13 23:43:51 +01:00
David Harper 7e2be0e517 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier afab1b3fb6 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 e196ff3ab0 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
Cédric Krier 24c6c6bbcb Don't set default unit price on stock move
issue8119
review255251002
2019-04-23 09:10:22 +02:00
Cédric Krier 3b2e4266cd Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:52 +02:00
Cédric Krier f6d55a7607 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:50 +02:00
Cédric Krier 10104768b1 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:48 +02:00
Nicolas Évrard 42dafa4ed4 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:47 +02:00
Cédric Krier fc63be50a6 Use install_modules tools in scenario
issue5794
2016-08-26 09:59:35 +02:00
Cédric Krier aa861af4b3 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:05:28 +01:00
Cédric Krier e92f0a03ae 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:05 +01:00
Cédric Krier 94ca4de570 Add Python3 support
issue3211
2016-03-11 01:05:13 +01:00
Cédric Krier ddd03a6431 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:06 +02:00
Cédric Krier bde68f32af 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:58 +01:00
Sergi Almacellas Abellana 3dc4b0a076 Add test for cost by value allocation with zero moves value
issue4439
review7841002
2015-01-21 19:44:58 +01:00
Nicolas Évrard 696cd1f340 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:08 +01:00
Cédric Krier 92aa1a7fba Fix most flake8 errors
review8771002
2014-12-02 12:55:50 +01:00
Cédric Krier bf77eaa7ca Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:59 +02:00
Cédric Krier c5dec91e74 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:29 +02:00
Nicolas Évrard 7ac6297df0 Split confirmed state into confirmed and processing
issue3874
review7261002
2014-07-02 19:04:58 +02:00
Cédric Krier 015cd51238 Set account_stock_method to account_stock scenarios 2014-06-10 18:44:37 +02:00
Cédric Krier 7e9c176255 Drop support of Python 2.6
review2691002
2014-01-31 00:04:06 +01:00
Cédric Krier 8f175e3c70 Anonymise tests
review2681002
2014-01-16 22:10:45 +01:00
Cédric Krier 2f7151e986 Cleanup tests
review2491002
2014-01-12 20:00:03 +01:00
Cédric Krier 30abd06f81 Use common doctest_dropdb
review2151002
2013-12-18 18:31:07 +01:00
Cédric Krier 5533ee1a3f Fix flake8 2013-10-05 12:17:19 +02:00
Cédric Krier 9baeaa27d9 Migration to python-sql
review1001002
2013-09-06 22:34:38 +02:00
Cédric Krier 007733b9b6 Fix shipment cost with account stock anglo-saxon
The anglo-saxon cost used on the invoice must not contain the shipment cost as
it will be booked on a separate line.

issue3108
review752002
2013-04-05 00:27:12 +02:00
Cédric Krier ec14fa0cfe Remove _inherits
review670002
2013-03-20 22:51:05 +01:00
Cédric Krier 956f6daa19 Fix scenario for new account_stock_production field 2012-10-16 14:14:15 +02:00
Cédric Krier db0a7bef40 Active Record 2012-09-24 22:18:12 +02:00
Cédric Krier fccd1d45ec FiscalYear.create_period returns nothing now 2012-09-11 15:27:46 +02:00
Cédric Krier 976db08220 Fix pep8 and pyflakes 2012-04-03 20:07:34 +02:00
Cédric Krier 5b1a7e263e Enforce the usage of account kind
issue2475
review295005
2012-03-30 14:21:34 +02:00
Cédric Krier 69b67f1c0f Simplify workflow engine
review256001
2012-03-25 00:18:12 +01:00
Cédric Krier bbd2ed5ebb New product types: Goods, Assets and Service
review260001
2012-03-16 12:41:56 +01:00
Cédric Krier ce3a4750b5 Fix scenario for fixed cost price 2012-02-08 16:04:02 +01:00
Cédric Krier 4942b8ff62 Initial commit of purchase_shipment_cost module 2012-02-07 18:37:40 +01:00