Commit Graph
19 Commits
Author SHA1 Message Date
Cédric Krier dc6e017e2d Remove accounts from products
The edition of accounting categories are limited to accounting administrators.
If a product does not have an accounting category, the default value defined
on the configuration are used.

issue3805
review45111002
2018-06-20 12:09:04 +02:00
Cédric Krier 95f7fcfe78 Move cost price to product level instead of template
issue6515
review41321002
2017-07-05 14:51:42 +02:00
Cédric Krier 6c9407f4bd Move category into account_category
and rename account_category into accounts_category

issue5320
review23791002
2016-03-19 09:03:23 +01:00
Cédric Krier 6c2dc96241 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:07 +01:00
Cédric Krier 7d00c24344 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:09 +01:00
Cédric Krier 1f4dad3c7b 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:03 +01:00
Cédric Krier a3c5988adb Add tox and drone
issue4431
2015-01-21 18:50:32 +01:00
Nicolas Évrard 672871d433 Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:07:54 +01:00
Cédric Krier ce08f7a34d Fix most flake8 errors
review8771002
2014-12-02 12:54:48 +01:00
Cédric Krier 8f0c02e1a8 Raise error for account used only on the accessor
Because of the batch mode of Function field, the getter must not raise error
otherwise the error can be raised for a record that doesn't require the
account.
So we introduce an new kind of Function field which raise the error only at the
accessor level.

issue4087
review9531002
2014-08-29 16:13:52 +02:00
Cédric Krier 07d3deb629 Cleanup tests
review2491002
2014-01-12 19:59:25 +01:00
Cédric Krier 004c5e0ad3 Fix flake8 2013-10-05 12:16:34 +02:00
Cédric Krier cea1d70775 Fix pep8 and pyflakes 2012-04-03 20:06:26 +02:00
Nicolas Évrard d6f1bb788a Use relative imports 2011-12-14 17:04:29 +01:00
Cédric Krier 2d4235feef Add test for depends 2011-08-04 16:57:18 +02:00
Cédric Krier 644c46d563 Fix test_view for issue1651 2010-08-27 12:17:58 +02:00
Cédric Krier 8d649569f0 Add test_suite in setup.py 2010-03-12 17:49:32 +01:00
Cédric Krier e7022a0d43 New unittest design 2010-03-04 14:04:49 +01:00
Cédric Krier 08fabb3348 Add test views 2009-06-27 11:05:52 +02:00