diff options
| author | jem-odoo <jem@openerp.com> | 2017-12-13 14:34:02 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2017-12-19 09:14:44 +0100 |
| commit | 35e0347e4bed137156237f4f8c34ac4889ae3459 (patch) | |
| tree | 7f4456a892dfc6040725eff5ea97590c28b19ece /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 68a6bd8de1c0f574e62317cd76e4dda0968ad360 (diff) | |
[IMP] account,sale,expense: test when no chart of account
Accounting tests are executed post install to be sure a chart
of account is install. However, for some case, we might want
to run test at module installation, involving accounting, without
being sure a chart of account is installed.
This commit provides a base common test class with a minimal chart
of account (some journals and accounts) allowing to start tests at
installation. this class should be extended in sale or expense for
this modules to be tests at installation. We will required this for
reinvoice test in sale later (test consumable product when sale_stock
is not installed, but maybe without a chart of account). The idea is
each test suite can call method to setup their own data.
This commit also use this common test class in sale_expense.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
