Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Install postgres unaccent lib at travis yml

by
MoaHub, Graeme Gellatly
- 01/12/2021 21:02:41
If you find the travis file for the repo with base search fuzzy it should show you. It use pg trigram which is installed in the same way as unaccent.

On Thu, 2 Dec 2021, 8:31 am Vincent Lucy, <vincent.lucy@coopaname.coop> wrote:
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

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

Reference