Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

RE: Install postgres unaccent lib at travis yml

by
Coopaname, Vincent Lucy
- 01/12/2021 20:26:17
Hi,

connect to your postgresql db :
psq -U psql_user psql_db

list the extensions installed:
\dx

You should not see unaccent.

Then this commands:

DROP FUNCTION unaccent;
CREATE EXTENSION IF NOT EXISTS \"unaccent\";

list again the extensions installed:
\dx

restart odoo with the config line:
unaccent = True

That should work.

Regards,

Vincent

De : Luiz Felipe Divino <lf.divino@gmail.com>
Envoyé : mardi 30 novembre 2021 21:07
À : Contributors <contributors@odoo-community.org>
Objet : Install postgres unaccent lib at travis yml
 
Hello Everyone!

I'm developing a  Pull Request at Brazilian location (l10n-brazil) and I'm getting error at some Travis jobs because we need that our Postgres database has the unaccent lib installed.

My Travis build is:


Could anyone help me on how to set this unaccent lib in my Travis yml configuration?

Thanks for your help!

Regards,
Luiz Felipe

--
Luiz Felipe do Divino
Bacharel em Ciências da Computação
UNIFEI - Itajubá

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference