David Harper
81a9bf2eee
Use Activate modules as test scenario section name
...
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier
b50e3d5292
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
71ce5f2a6b
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
de73e51509
Remove accounts from products
...
issue3805
review45111002
2018-06-20 12:09:52 +02:00
Cédric Krier
5df1094b84
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:22 +02:00
Cédric Krier
0cbe43a17e
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:49 +02:00
Cédric Krier
0fa05055f9
Fix access right scenario for sale price list configuration
...
Introduced in changeset 1a2d9d5bb25e by issue3278
2016-10-23 19:58:09 +02:00
Luciano Rossi (lukio)
e3a786828c
Add default sale price_list in sale configuration
...
issue3278
review26801002
2016-10-21 18:39:40 +02:00
Nicolas Évrard
93175ad1b3
Use activate instead of install for module activation
...
issue1456
review28931002
2016-10-20 12:54:48 +02:00
Cédric Krier
107f622a0f
Use install_modules tools in scenario
...
issue5794
2016-08-26 09:59:43 +02:00
Cédric Krier
194492a256
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:13 +01:00
Jonathan Levy
e152226c7a
Add Python3 support
...
issue3211
review24891002
2016-03-09 21:01:56 +01:00
Cédric Krier
eabd7e1b7a
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:04:13 +02:00
Sergi Almacellas Abellana
1850cdbd8a
Add test scenario
...
issue4748
review16291002
2015-05-13 13:03:50 +02:00
Cédric Krier
cb51bd7e26
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:14:04 +01:00
Nicolas Évrard
72e69f539c
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier
576724bbd6
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:57 +01:00
Cédric Krier
6925af31bd
Cleanup tests
...
review2491002
2014-01-12 20:00:07 +01:00
Cédric Krier
edd20aa0c2
Fix flake8
2013-10-05 12:17:23 +02:00
Cédric Krier
c7864a4d73
Fix pep8 and pyflakes
2012-04-03 20:07:39 +02:00
Nicolas Évrard
7a5f9d5773
Use relative imports
2011-12-14 17:04:28 +01:00
Cédric Krier
d649e2a841
Add test for depends
2011-08-04 16:57:41 +02:00
Cédric Krier
c02959f642
Fix test_view for issue1651
2010-08-27 12:18:26 +02:00
Cédric Krier
ce466dcaf8
Add test_suite in setup.py
2010-03-12 17:49:41 +01:00
Cédric Krier
e537cf711d
New unittest design
2010-03-04 14:12:55 +01:00
Cédric Krier
17c1253ead
Initial commit of sale_price_list
2009-09-28 11:00:32 +02:00