Commit Graph
65 Commits
Author SHA1 Message Date
Cédric Krier cad3c3f8fd Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier fd66988453 Update scenario to use template instead of product on product supplier
issue6799
2019-03-15 16:33:08 +01:00
Cédric Krier b10a303a5d Remove unnecessary call to process
process button is restricted to administrator groups.

issue8113
2019-03-08 21:32:03 +01:00
Cédric Krier 56912c7914 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier 556203c338 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:43 +02:00
Cédric Krier 20f0c5e716 Set valid rounding for unit 5 in scenario
The rounding value must be coherent with the digits value.

issue7283
review44251002
2018-03-29 20:24:39 +02:00
Cédric Krier 64e843ce3e Add set_user tools for test scenario
When changing the user of proteus, the context should be reloaded.

issue6652
review42551002
2017-08-02 19:38:15 +02:00
Cédric Krier 0e0b4b7e3f Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:42 +02:00
Cédric Krier dd6017e324 No need to set password on scenario user
The new constraint on user password prevents to use login as password.
2017-04-30 00:23:15 +02:00
Nicolas Évrard 889836e43f Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:38 +02:00
Cédric Krier ceb04603c6 Use install_modules tools in scenario
issue5794
2016-08-26 09:58:33 +02:00
Cédric Krier 603511b534 Replace category by categories on Template
issue5320
review23791002
2016-03-19 09:04:35 +01:00
Cédric Krier 7e92ed873a 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:11 +01:00
Cédric Krier 956bcd0d7a Add Python3 support
issue3211
2016-03-10 20:55:08 +01:00
Cédric Krier d2b10613d7 Rename delivery_time into lead_time
issue5275
2016-02-06 23:49:45 +01:00
Cédric Krier b3b3d464d0 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:12 +01:00
Cédric Krier 465de56dbf Add support for drop location
issue5017
review21451002
2015-10-08 19:55:11 +02:00
Cédric Krier c7fdffc7ce Scenario should not depend on list order
issue5017
review21451002
2015-10-08 19:54:31 +02:00
Cédric Krier 3daeee94a5 Fix test_get_anglo_saxon_move against new behaviour of Uom.compute_price
issue4647 added more checks on passed uom so the test doesn't work anymore with
Mock objects and must indeed patch the method.
2015-09-01 12:47:15 +02:00
Cédric Krier b267cad51d Add unit price to invoice line of scenario
issue4857
review8211002
2015-07-16 19:33:46 +02:00
Cédric Krier e8f95216d3 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:16 +02:00
Nicolas Évrard cebc30238e Add test for anglo-saxon quantities UoM
issue4557
review15001002
2015-03-17 10:45:38 +01:00
Cédric Krier a909c34801 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:05 +01:00
Nicolas Évrard ad803709c1 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:55 +01:00
Cédric Krier b6782ada89 Fix most flake8 errors
review8771002
2014-12-02 12:54:51 +01:00
Cédric Krier b376698030 Add some test tools to ease scenario writing
review11331002
2014-10-24 10:44:21 +02:00
Cédric Krier 0172466734 Remove ask for payment term in create purchase wizard
issue4176
2014-09-18 19:07:56 +02:00
Cédric Krier 8015545fc1 Missing set pool test for scenario 2014-09-10 14:47:04 +02:00
Cédric Krier 6297a28226 Add test of _get_anglo_saxon_move
issue4134
review9621002
2014-09-04 22:50:43 +02:00
Cédric Krier a8e4a58834 Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:44:50 +02:00
Nicolas Évrard 82e8f320b1 Split confirmed state into confirmed and processing
issue3874
review7261002
2014-07-02 19:04:58 +02:00
Cédric Krier deca7c6e70 Add account stock method on fiscal year
issue3962
review5381002
2014-06-09 18:22:25 +02:00
Cédric Krier cf7ad8505a Use Decimal comparison in doctest 2014-02-15 00:21:10 +01:00
Cédric Krier 263118d436 Drop support of Python 2.6
review2691002
2014-01-31 00:03:12 +01:00
Cédric Krier 8d00c02533 Anonymise tests
review2681002
2014-01-16 22:10:10 +01:00
Cédric Krier dcc6aaa7e6 Cleanup tests
review2491002
2014-01-12 19:59:27 +01:00
Cédric Krier 7855dfe2a3 Use common doctest_dropdb
review2151002
2013-12-18 18:29:20 +01:00
Cédric Krier ae26884825 Fix flake8 2013-10-05 12:16:37 +02:00
Cédric Krier 62f401fbe7 Migration to python-sql
review1001002
2013-09-06 22:33:57 +02:00
Cédric Krier 0aefb2bd14 Split anglo_saxon_quantity for in and out usage
The anglo_saxon_quantity must be different for direct move from supplier to
customer.

issue3300
review984002
2013-08-01 16:07:01 +02:00
Cédric Krier ded002e061 Add test for COGS computation with negative quantity
issue3287
review976002
2013-07-22 14:27:49 +02:00
Cédric Krier 8d5f5056f1 Don't create a new config to set user
review973003
2013-07-16 12:14:56 +02:00
Cédric Krier 5126b322c4 Validate button is now named validate_invoice 2013-04-05 00:02:35 +02:00
Cédric Krier ab86892fbc Remove _inherits
review670002
2013-03-20 22:50:27 +01:00
Cédric Krier 3e48c21db1 Update to new invoice states
review583002
2012-12-23 22:29:41 +01:00
Nicolas Évrard 851cef2d26 Compute purchase_lines moves as root
review583004
2012-11-25 18:27:55 +01:00
Cédric Krier 1350d2746f Fix scenario for new account_stock_production field 2012-10-16 14:13:53 +02:00
Cédric Krier 06f4774317 Active Record 2012-09-24 22:17:37 +02:00
Cédric Krier d42586135a FiscalYear.create_period returns nothing now 2012-09-11 15:28:27 +02:00
Cédric Krier 9ac8c896bf Fix pep8 and pyflakes 2012-04-03 20:06:29 +02:00