Commit Graph
28 Commits
Author SHA1 Message Date
Cédric Krier e1d2f74786 Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:24 +02:00
Cédric Krier 324490cb46 Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:17 +01:00
Cédric Krier a8c4b88bc0 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:20 +01:00
David Harper d382d305c8 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
David Harper c356e0acc3 Rename sale state from cancel to cancelled
issue8927
review323391002
2020-06-06 10:04:28 +01:00
Cédric Krier 106cb0c7fc 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 7d7a4ed7f1 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:53 +02:00
Cédric Krier 89ca15a2f7 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:52 +02:00
Cédric Krier 73a4bc5724 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 73a1c26aac Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:49 +02:00
Sergi Almacellas Abellana 4170ee012d Make Opportunity employee not required
issue6135
review29871002
2017-01-18 09:57:00 +01:00
Nicolas Évrard 822d12b212 Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:48 +02:00
Xavier Codinas b2e4d2b754 Simplify default employee
issue4793
review33351002
2016-09-22 12:25:16 +02:00
Cédric Krier 9d02232f61 Use install_modules tools in scenario
issue5794
2016-08-26 09:59:41 +02:00
Cédric Krier 5b14eefc1d 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:12 +01:00
Jonathan Levy becf70902c Add Python3 support
issue3211
review17921002
2016-03-10 00:01:35 +01:00
Cédric Krier e306804ef0 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:04:12 +02:00
Cédric Krier 266bd98eaa Improve opportunity workflow
- Add an origin reference on sale to point to opportunity
- Update of opportunity amount based on linked sales
- Add a state 'won'
- Allow to edit the probability after conversion
- Update reports for the new 'won' state

issue3320
review6031002
2015-03-02 23:13:04 +01:00
Cédric Krier bee8a500f8 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:03 +01:00
Nicolas Évrard 97e491d46c Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier 90390bb7f7 Fix most flake8 errors
review8771002
2014-12-02 12:55:56 +01:00
Cédric Krier a5e4c2a355 Cleanup tests
review2491002
2014-01-12 20:00:06 +01:00
Cédric Krier aebe835e82 Fix flake8 2013-10-05 12:17:22 +02:00
Cédric Krier 716ce32b8e Fix pep8 and pyflakes 2012-04-03 20:07:36 +02:00
Nicolas Évrard bd03f5a4d1 Use relative imports 2011-12-14 17:04:08 +01:00
Cédric Krier 973dee4c97 Add test for depends 2011-08-04 16:57:40 +02:00
Cédric Krier a26a7f01b4 Fix test_view for issue1651 2010-09-07 19:55:51 +02:00
Cédric Krier 05d9947ca3 Initial commit 2010-07-05 23:16:33 +02:00