Sergi Almacellas Abellana
7e204d4635
Add scenario to test base rounding
...
issue5370
review21771002
2016-03-16 13:25:36 +01:00
Cédric Krier
3fe984e491
Add missing extra import in tests
2016-03-11 22:36:55 +01:00
Cédric Krier
e4d7bcb689
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:52 +01:00
Cédric Krier
23cd459b36
Improve get_reconcile_lines_for_amount
...
Test all combinations of both payment_lines and lines_to_pay and keep the one
with the smaller remainder.
Use a namedtuple as result to ease its usage to callers.
issue5327
review16001003
2016-03-04 00:23:47 +01:00
Cédric Krier
25896a018f
Add Python3 support
...
issue3211
2016-02-28 20:51:18 +01:00
Cédric Krier
1c7b0aa606
Make TestCase create and drop its database
...
and use with_transaction decorator.
issue5263
review20711002
2016-02-06 19:11:56 +01:00
Cédric Krier
c3b6648204
Change payment term percentage into ratio
...
issue5286
review15951002
2016-02-03 21:26:47 +01:00
Cédric Krier
2ecad9f90c
Add test for TaxLine.on_change_tax
...
issue5199
review17711002
2015-12-31 13:29:32 +01:00
Cédric Krier
df828ba978
Don't set default unit price on invoice line
...
issue4857
review23281003
2015-07-16 19:31:46 +02:00
Cédric Krier
8c957afa60
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:03:00 +02:00
Cédric Krier
ff0a261389
Allow to define many relativedelta on payment term
...
Replace the set of fields defined on payment term line by a list of
relativedelta containing the same set of fields.
issue4573
review6911002
2015-03-02 23:28:12 +01:00
Cédric Krier
212bbd3995
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:55 +01:00
Nicolas Évrard
b18cebb960
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:07:52 +01:00
Cédric Krier
a316785bd0
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:39 +01:00
Cédric Krier
b6133e79f7
Add some test tools to ease scenario writing
...
review11331002
2014-10-24 10:44:12 +02:00
Cédric Krier
91e2143167
Use new doctest setup/teardown
...
issue3627
review7401002
2014-09-04 08:44:40 +02:00
Cédric Krier
19d639255d
Reconcile lines to pay with the cancellation ones
...
issue3437
review4981002
2014-05-04 00:07:35 +02:00
Sergi Almacellas Abellana
228ffc07a7
Add test for amount_secound_currency with negative taxes.
...
issue3683
review4721002
2014-03-28 19:10:51 +01:00
Cédric Krier
d07688d728
Add test scenario for invoice with alternat currency
...
review3351002
2014-02-10 22:29:13 +01:00
Cédric Krier
2b597dd1bb
Drop support of Python 2.6
...
review2691002
2014-01-31 00:03:05 +01:00
Cédric Krier
f94c256dbd
Cleanup tests
...
review2491002
2014-01-12 19:59:22 +01:00
Cédric Krier
e9545aef4d
Use common doctest_dropdb
...
review2151002
2013-12-18 18:28:57 +01:00
Cédric Krier
1750d9afcb
Fix flake8
2013-10-05 12:16:31 +02:00
Cédric Krier
5bcfa55544
Migration to python-sql
...
review1001002
2013-09-06 22:33:52 +02:00
Albert Cervera i Areny
40843247e8
Use rate instead of percentage in scenarios.
...
review962002
2013-06-28 11:27:38 +02:00
Cédric Krier
8b3872a7b3
Test Autoreconciliation of posted move with just one line of zero
...
issue3208
review867002
2013-06-06 20:33:15 +02:00
Cédric Krier
81ede7cece
Remove _inherits
...
review670002
2013-03-20 22:50:23 +01:00
Cédric Krier
7ba587978c
Add test scenario
...
review662003
2013-02-23 17:44:03 +01:00
Albert Cervera i Areny
ca99d7a7d3
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
83d9c368f7
Active Record
2012-09-24 22:17:32 +02:00
Cédric Krier
0840d47063
Fix CONTEXT in Transaction
2012-04-02 10:04:36 +02:00
Cédric Krier
14eb2771b7
Fix pep8 and pyflakes
2012-04-01 18:22:06 +02:00
Albert Cervera i Areny
f720f3b5ea
Payment Term refactoring to make it work like dateutil's relativedelta.
...
review195001
issue2320
2012-04-01 16:08:13 +02:00
Nicolas Évrard
cfdbfcbf48
Use relative imports
2011-12-14 17:04:11 +01:00
Cédric Krier
7d8ed09778
Add test for depends
2011-08-04 16:57:16 +02:00
Cédric Krier
748cb5c177
Fix test_view for issue1651
2010-08-27 12:17:55 +02:00
Cédric Krier
4451b795e1
Add test_suite in setup.py
2010-03-12 17:49:31 +01:00
Cédric Krier
d68a788c06
New unittest design
2010-03-04 14:04:09 +01:00
Cédric Krier
051c36f1f7
Add test views
2009-06-28 14:12:43 +02:00