Commit Graph
18 Commits
Author SHA1 Message Date
Cédric Krier 27b2244e61 Follow isort formatting
issue10928
2021-12-11 17:58:43 +01:00
Cédric Krier f3eeb7b52a 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 d85f7aa041 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:19 +01:00
Cédric Krier c06b56d9a4 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 644de6a13d Check credit on confirmation
The proceed method is executed in the queue since rev b72e1e9b9097
This means the warning raised is never shown to the user. So it is better to
raise it on confirmation.

issue8726
review264411006
2019-10-24 19:12:01 +02:00
Cédric Krier 0a0fa1707c Merge account kind and account type
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier c56d55f689 Remove accounts from products
issue3805
review45111002
2018-06-20 12:09:51 +02:00
Cédric Krier 069f081d33 Use quantity sold and invoiced to compute credit amount
The sale invoicing process works by comparing the quantities so the credit
amount should also be computed by comparing the quantities instead of the
amounts.

issue6896
review38901002
2017-11-21 01:26:59 +01:00
Cédric Krier 307e586bcd Remove Property fields
issue2349
review34031002
2017-04-01 00:37:25 +02:00
Cédric Krier 88a66beab5 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:09 +01:00
Jonathan Levy 52afa0d39d Add Python3 support
issue3211
review16061002
2016-03-10 22:24:04 +01:00
Cédric Krier b9d4c11116 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:13:06 +01:00
Cédric Krier 35b071dc36 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:00 +01:00
Cédric Krier a883f2225c Add tox and drone
issue4431
2015-01-25 23:29:06 +01:00
Nicolas Évrard 5844588025 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:08 +01:00
Cédric Krier 89d12242e2 Fix most flake8 errors
review8771002
2014-12-02 12:55:53 +01:00
Nicolas Évrard fe9c7524c1 Make party mandatory / invisible according to account configuration
issue3731
review14341002
2014-09-19 18:45:00 +02:00
Cédric Krier d06597e9e8 Initial commit
review191005
2014-03-17 23:11:46 +01:00