Commit Graph
26 Commits
Author SHA1 Message Date
Cédric Krier 1861d82a36 Add rule engine
The rule is applied when posting move on the lines without any analytic lines.

issue6007
review26881002
2017-01-07 16:46:24 +01:00
Nicolas Évrard 77ac69ee1a Use activate instead of install for module activation
issue1456
review28931002
2016-10-20 12:54:39 +02:00
Cédric Krier 57ce272f7c Add distribution account type
A new type of account is added for distribution.
It is used on Account Entry to yield the lines to create for a accounting line.

issue5908
review31551002
2016-10-05 19:20:00 +02:00
Cédric Krier fa7412390b Add analytic state on move line
issue5900
review25661002
2016-09-28 14:44:59 +02:00
Cédric Krier 3d59d872c2 Clean Line Model
- remove non useful fields
- simplify views
- improve debit, credit and balance computation

issue3916
review33401002
2016-09-27 20:55:23 +02:00
Cédric Krier 26f3c5c534 Use install_modules tools in scenario
issue5794
2016-08-26 09:58:40 +02:00
Cédric Krier 2a20a92f73 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:56:19 +01:00
Jonathan Levy a6b2ad04ab Add Python3 support
issue3211
review19021003
2016-02-26 19:49:55 +01:00
Cédric Krier 5b49ebd3d2 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:19 +01:00
Cédric Krier bcc3ddf444 Rename ir.module.module* into ir.module*
issue4764
review7171002
2015-05-28 21:03:21 +02:00
Sergi Almacellas Abellana 3e703ef35f Add doctest scenario
issue4528
review11921002
2015-02-15 12:07:35 +01:00
Cédric Krier 78997b5b32 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:07 +01:00
Cédric Krier 31ef81c8fa Add tox and drone
issue4431
2015-01-22 10:44:26 +01:00
Nicolas Évrard ec32558835 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:56 +01:00
Cédric Krier b043e273e6 Fix most flake8 errors
review8771002
2014-12-02 12:54:55 +01:00
Nicolas Évrard 250bb474fb Make party mandatory / invisible according to account configuration
issue3731
review14341002
2014-09-19 18:44:56 +02:00
Sergi Almacellas Abellana c64f335b33 Add test for credit, debit and balance calculation
issue3877
review8271002
2014-04-30 19:58:33 +02:00
Cédric Krier 175ce76bab Cleanup tests
review2491002
2014-01-12 19:59:29 +01:00
Cédric Krier 275f8fc517 Fix flake8 2013-10-05 12:16:39 +02:00
Cédric Krier 35adcc5ffa Fix pep8 and pyflakes 2012-04-03 20:06:33 +02:00
Nicolas Évrard 932e0c4324 Use relative imports 2011-12-14 17:04:20 +01:00
Cédric Krier 2c04fd2e66 Add test for depends 2011-08-04 16:57:21 +02:00
Cédric Krier e50dbec0a2 Fix test_view for issue1651 2010-08-27 12:17:59 +02:00
Cédric Krier 0435d0d56d Add test_suite in setup.py 2010-03-12 17:49:33 +01:00
Cédric Krier 4702fcb30c New unittest design 2010-03-04 14:05:27 +01:00
Cédric Krier 9db3a20786 Add test views 2009-06-27 11:20:12 +02:00