Commit Graph
11 Commits
Author SHA1 Message Date
Cédric Krier d4446984d0 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 8129c4ca2e Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:17 +01:00
Cédric Krier 4b047fe657 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier 25099b1abe Update tests for new report name scheme
issue9509
2020-09-24 18:28:44 +02:00
Cédric Krier 5a5e9c9a06 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 63f2438df2 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 20b7c0f7a7 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier 2bf4e86409 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:50 +02:00
Cédric Krier 5d93d00bb6 Re-use employee instance and append new Party instance
Get the employee from the user after having set it as current user return None
because the context of the instance still has the context of the admin user
(with employee=None) but applies to the user. This is because set_user change
globally the user and context of the config.
Appending instance to a many2many require an instance with the same context.

issue7144
review44251003
2018-03-30 18:12:49 +02:00
Cédric Krier 9e0d6b4fd6 Remove random order in scenario 2018-03-23 23:08:41 +01:00
Maxime Richez e29be17a24 Initial commit
issue6175
review31881002
2018-03-23 22:28:41 +01:00