* = gamification, test_website, stock - KarmaError is now handled as a 400 exception. - test_website has been updated. - NO_POSTMORTEM is now clean it was referencing duplicates as most the exceptions inherit from except_orm. - serialize_exception from http.py has been moved to ir_http to take advantage of the odoo inheritance system. We can then extend ir_http serialize_exception method to add the KarmaError logic if and only if gamification is installed. Places where serialize_exception was previously used are updated. Part of https://github.com/odoo/odoo/pull/32132 task-1894820
26 lines
855 B
Python
26 lines
855 B
Python
# -*- encoding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Website Test',
|
|
'version': '1.0',
|
|
'category': 'Hidden',
|
|
'sequence': 9876,
|
|
'summary': 'Website Test, mainly for module install/uninstall tests',
|
|
'description': """This module contains tests related to website. Those are
|
|
contained in a separate module as we are testing module install/uninstall/upgrade
|
|
and we don't want to reload the website module every time, including it's possible
|
|
dependencies. Neither we want to add in website module some routes, views and
|
|
models which only purpose is to run tests.""",
|
|
'depends': [
|
|
'website',
|
|
'gamification',
|
|
],
|
|
'data': [
|
|
'views/templates.xml',
|
|
'data/test_website_data.xml',
|
|
],
|
|
'installable': True,
|
|
'application': False,
|
|
}
|