Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How can I edit the requirements.txt on Odoo.sh?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
librarieslibraryrequirementsodoo.sh
1 Responder
20993 Vistas
Avatar
Jean Donaires

Hello Odoodz. (Oh-dudes)

Documentation says "In order to use an external library on Odoo users can modify the requirements.txt" like its shown on https://github.com/odoo/odoo/blob/11.0/requirements.txt (but on your own installation, obviously).

I need to use Zeep library on python. So what I need to do is to edit requirements.txt on my Odoo.sh GitHub repository and then add Zeep==x.x.x for the zeep library version I want to use. 

How can i do it? I've tried using the Odoo.sh shell with nano command, but could not save changes.

Also, I can't seem to find it anywhere on a local Community installation.
Thanks in advance,

Best regards,

Jean.

2
Avatar
Descartar
Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Mejor respuesta

Hi Jean,

You can't do this on Odoo.sh itself. You need to do it directly on the Github repository from which you create the Odoo.sh builds. If you commit the changes there (either through the Github website or command line) you'll be able to load the package when Odoo.sh creates a build.

Regards,
Yenthe


EDIT: Please review the documentation at Odoo.sh v11 Documentation

The section Your First Module discusses the use of requirements.txt

5
Avatar
Descartar
Jean Donaires
Autor

Thanks for the reply @Yenthe.

But could you help me out understanding it a little bit better? On Odoo.sh, every time i create a new branch it just comes empty on GitHub. Even the master (according to the dashboard Odoo.sh gives you). I understand all my branches are just copies of the Odoo.sh enterprise github repository, but without the option to edit it's core code directly (since it is hidden somehow). Then how can I edit the requirements.txt files if it's not on any of the branches I create on Odoo.sh? Should I just create a new branch and then create a 'requirements.txt' file with the libraries I want the server to install? Also, the Odoo documentation says the server will install the new libraries automatically, but how can I make sure it is installed? Do I have to follow a part of the documentation I'm missing? Or is it installed automatically once I do a commit? Any answer would be really helpful. Thanks in advance.

Best regads.

Jean.

Yenthe Van Ginneken (Mainframe Monkey)

Hi Jean,

Yes, you'll need to manually add a requirements.txt file inside every branch where you want to use the packages for. There is no way to do it from the Odoo.sh frontend (up untill now atleast).

Once you commit the requirements.txt file with your dependencies they will be automatically installed from that commit (build) on for all the upcoming builds. If you really want to double check and verify them you can look in the "pip.log" file and/or open the terminal to check from there.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
External dependency not met : opcua
libraries library external-dependencies
Avatar
Avatar
2
may 24
3204
Demande d'explication - odoo.sh | odoo online Resuelto
odoo.sh
Avatar
Avatar
1
nov 25
327
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
jul 25
2886
Odoo 11: How to edit odoo.conf file in odoo.sh for queue jobs?
odoo.sh
Avatar
Avatar
Avatar
Avatar
Avatar
4
abr 25
13516
odoo.sh determine production or dev instance from code ? Resuelto
odoo.sh
Avatar
1
feb 25
4551
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now