mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 21:35:45 +07:00

Rather than try to fix up various bits where we search & all and wonder what index we should be using, make the column a CIText. For mergebot the main use case would be properly handling delegate=XXX: currently if XXX is not a case-sensitive match we're going to create a new partner with the new github login and give *them* delegation, and the intended target of the delegation isn't going to work correctly. Also try to install the citext extension if it's not in the database, and run the database-creation process with `check=True` so if that fails we properly bubble up the error and don't try to run tests on a corrupted / broken DB. Fixes #318
17 lines
383 B
Python
17 lines
383 B
Python
{
|
|
'name': 'merge bot',
|
|
'version': '1.3',
|
|
'depends': ['contacts', 'website'],
|
|
'data': [
|
|
'security/security.xml',
|
|
'security/ir.model.access.csv',
|
|
|
|
'data/merge_cron.xml',
|
|
'views/res_partner.xml',
|
|
'views/mergebot.xml',
|
|
'views/templates.xml',
|
|
],
|
|
'post_load': 'enable_sentry',
|
|
'pre_init_hook': '_check_citext',
|
|
}
|