David Harper
e939e2e94d
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier
55f990c8ab
Manage invoicing not time based product
...
issue7853
review46671002
2020-03-28 13:05:56 +01:00
Cédric Krier
5b65c27c3e
Remove duration fields and base invoicing on quantity and price
...
issue7776
review64441002
2020-03-06 23:34:09 +01:00
Cédric Krier
d84540199b
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
714ca2070b
Make project status configurable
...
issue7746
review64411002
2020-01-28 11:45:54 +01:00
Cédric Krier
85ef260228
Prevent assign unknown attributes on Model
...
by adding __slots__ on proteus classes.
issue6573
review254081002
2019-09-07 23:38:20 +02:00
Cédric Krier
f6131ff290
Fix missing replacement of repr of timedelta in doctest
...
issue7547
2018-07-28 22:23:35 +02:00
Cédric Krier
8fb066817d
Do not use repr of timedelta in doctest
...
Python 3.7 changed the repr of timedelta to display keyword arguments.
To stay compatible with previous version and new version, the doctest must use
an equal comparison.
https://bugs.python.org/issue30302
issue7547
review47631002
2018-07-28 16:30:43 +02:00
Cédric Krier
8c299a954c
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier
c6e183240e
Remove accounts from products
...
issue3805
review45111002
2018-06-20 12:09:49 +02:00
Nicolas Évrard
98d8680fb5
Allow to invoice sub-project with a different party
...
issue7096
review43071002
2018-03-10 12:46:08 +01:00
Cédric Krier
d46abc7ee6
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:20 +02:00
Cédric Krier
20498ba816
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:47 +02:00
Cédric Krier
525c75598b
Add test for empty effort duration
...
issue6346
review31171002
2017-03-13 23:03:44 +01:00
Nicolas Évrard
32c51a00d1
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:46 +02:00
Cédric Krier
2bf4ea647e
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:59:28 +02:00
Cédric Krier
5a9ea9b143
Replace work by timesheet_works
...
issue5599
review25131002
2016-06-24 09:30:32 +02:00
Cédric Krier
3fed512aa7
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:00 +01:00
Jonathan Levy
9e753691cb
Add Python3 support
...
issue3211
review23961002
2016-03-08 12:05:20 +01:00
Cédric Krier
2b1693bd0d
Add test when project has no timesheet work
...
issue5260
review21631002
2016-02-07 16:09:31 +01:00
Cédric Krier
f2d8c1d108
Add progress invoice method
...
issue4954
review18551002
2015-09-24 15:59:43 +02:00
Cédric Krier
2216c09cc1
Fix _get_invoiced_amount_timesheet when there is no timesheet
...
and fix Decimal precision in scenario
2015-09-22 10:54:58 +02:00
Cédric Krier
ce34f0496e
Set work name on test scenario
...
issue4938
review17441002
2015-09-07 14:01:39 +02:00
Cédric Krier
57bf856e48
Fix computation of invoice amount on effort
...
The amount must be proportional to the effort hours of the work because the
invoice line could have been grouped.
issue4946
review19431002
2015-09-07 13:57:43 +02:00
Cédric Krier
1b0044800a
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:04:01 +02:00
Cédric Krier
16b624ebaf
Use TimeDelta field
...
issue4026
review12841002
2015-02-09 23:02:03 +01:00
Cédric Krier
6878b46179
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:52 +01:00
Nicolas Évrard
8af549244e
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:07 +01:00
Cédric Krier
0625565818
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:43 +01:00
Cédric Krier
49a2aacd8e
Add some test tools to ease scenario writing
...
review11331002
2014-10-24 10:44:54 +02:00
Cédric Krier
6885e13303
Use new doctest setup/teardown
...
issue3627
review7401002
2014-09-04 08:45:24 +02:00
Cédric Krier
58b790836c
Drop support of Python 2.6
...
review2691002
2014-01-31 00:03:58 +01:00
Cédric Krier
419b0260d2
Cleanup tests
...
review2491002
2014-01-12 19:59:58 +01:00
Cédric Krier
99bf1ba4f9
Use common doctest_dropdb
...
review2151002
2013-12-18 18:30:31 +01:00
Cédric Krier
cf15d9c157
Fix flake8
2013-10-05 12:17:14 +02:00
Cédric Krier
e108088302
Migration to python-sql
...
review1001002
2013-09-06 22:34:32 +02:00
Cédric Krier
472ab8d158
Test scenario with non-admin user
...
review880002
2013-05-27 17:59:02 +02:00
Cédric Krier
967830fe60
Fix import of test suite
2013-03-23 10:51:38 +01:00
Cédric Krier
edd9d11ece
Initial commit of project_invoice module
...
review705002
2013-03-22 17:59:00 +01:00