Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Developing Themes For the Website/Ecommerce Module Currently in Trunk

Suscribirse

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

Se marcó esta pregunta
v8trunkecommercewebsitebootstrap
4 Respuestas
21135 Vistas
Avatar
Luke

Hi,

I'm interested in developing some themes/templates for the Website/Ecommerce modules that are being rolled out in OpenERP v8 (and is currently available in trunk).

I have a few questions regarding how themes should be packaged and implemented, as well as regarding the general functionality of the Ecommerce module itself. If anyone can offer any insight on this it would be much appreciated.

In regards to the functionality of the Ecommerce module I would like to know if there will be provision for business that operate business to business only, as well as dual channel (ie. business to business and business to consumer).

A business selling products directly to other businesses (such as a distributor) would have the need for a product catalog without pricing or shopping cart functionality for the casual visitor, but would benefit from allowing their business clients (ie. wholesale clients) to be able to login to the website and place purchase orders (eg. via 'add to quote' button or similar) directly through the website (after they have logged in). These B2B clients could then be assigned pricing according to their designated OpenERP price list and this would allow for the full PO/Quotation to Shipment workflow through the frontend of the website, allowing for easy order processing, as well as full visibility on past orders, invoices, etc. in a similar manner to Magento.

A business operating both B2B and B2C would benefit from being able to show prices according to customer group (eg. Magento customer groups) or OpenERP pricelist so that they can sell retail for casual visitors, while offering wholesale clients a way to place orders 24/7 according to their specific pricelist implemented in OpenERP.

In regards to implementing custom themes/templates, I have noticed the current implementation uses a mixture of HTML, XML, CSS, JS and python to build the theme. Any information or guidance on how to implement a new theme/template in addition to the current selection from bootswatch.com would be much appreciated, as I would like to be able to roll out themes/templates as soon as v8/trunk is released to the public.

In regards to different domains in a multi-website, multi-domain implementation, I cannot see how to set this up given the current admin controls (under Settings >> Configuration >> Website Settings) as currently there is only provision for the following:

(Under Domain Heading): Google Analytics Key

(Under Social Media) Twitter Facebook Github Linkedin Youtube Google+

(Under Language):

Default Language: (eg. English)

If I was to be running multiple OpenERP databases, each with their own set of websites and languages attached, how would I make sure that visitors are directed to www.exampledomain.com rather than to the database selector by default? I noticed that in an earlier version of trunk-website-al there was provision for a domain, which I assume could be used with Nginx or OpenERP's built-in webserver to allow for this type of implementation. Preferably frontend users (especially retail customers) would never see, or be aware of the admin/backend of OpenERP so that websites could operate as a standard e-commerce website for both security purposes and ease of use.

In regards to performance for the website frontend, I would also like to know if it will be possible to use Nginx/Varnish to deliver content. From my understanding it should be possible to simply run the OpenERP website module on one port (eg. port 8099) and ask varnish to listen on that port (eg. 8099) and serve content on port 80. Will this be possible with the website module in OpenERP 8/trunk?

I understand this is all still currently under development, however any information/guidance on these topics would be much appreciated.

6
Avatar
Descartar
Denise van der Linden

I am also interested in multi-website for the same database(ie a specific shop for each product line or department). Not sure if this is built-in or would require an extension. Can't seem to find the options for it.

Luke Branch

further to this, i've found a succinct explanation of theme structure from Fabien from the OpenDay slides here: https://github.com/odoo/odoodays-2014/blob/master/create_themes/index.rst

Fabien Pinckaers (fp)

Please split your question into several threads. One question power thread is better and will increase your chance to have answers. Check our q&a guidelines on the link in the right toolbox.

Luke Branch

@Denise, You may want to check out this module: https://github.com/odoo/odoo-extra/tree/master/website_multi I'm not sure whether this is designed for backporting to 8.0, however it seems to be working in the 8.0 branch on a development machine.

Luke Branch

For anyone following this thread, It looks like the development of website_multi is being backported to 8.0: just create a temp directory on your dev machine and do the following: sudo git clone -b 8.0-website_multi2-vta https://github.com/odoo-dev/odoo.git then just create a symlink for the website_multi module into your Odoo 8.0 module directory. This module is definitely still under heavy development so please don't use it in production without adequate testing. This allows for multiple websites and multiple domains to be handled in 8.0!

Avatar
Kurt Haselwimmer
Mejor respuesta

Whilst this is not a theme in Odoo's formal definition on the term, due to the lack of a clear specification for creating full-blown odoo themes I have resorted to applying my own stylesheets to override the bootswatch based ones that Odoo gives you out of the box. If you are on the Odoo Saas then you will need to store your stylesheet on your own domain. Once you have a css file you want to use to override what you are given simply use the html editor to edit the template 'Theme' like so (saas3):-

 

<?xml version="1.0"?>
<t name="Theme" t-name="website.theme">
    <link id="bootstrap_css" rel="stylesheet" href="/website/static/lib/bootstrap/css/bootstrap.css" t-ignore="true"/>
    <link id="website_css" rel="stylesheet" href="/website/static/src/css/website.css" t-ignore="true"/>
     <link rel="stylesheet" type="text/css" href="//www.mydomain.com/mycss.css"/>
</t>

You add the line in bold - it should then change the theme for all pages in your system. If you base your theme on the bootswatch css - then there's the least chance that future changes to the Odoo templates will not work with your theme.

In saas 5 and v8/saas6 there is no template called 'Theme' that can be accessed from the html editor. The template called 'Saas Website' seems to hold similar xpath instructions and you can instead put your stylesheet link immediately after the reference to saas_website.css.

Hope this is useful in the meantime.

1
Avatar
Descartar
Luke Branch

Hi Kurt, I've put together some very basic instructions on how to get started with local theme development here: https://www.odoo.com/forum/help-1/question/new-bootstrap-theme-on-website-builder-58809

OdooBot
Luke,

thanks for this - I am still finding it rather amazing that you are having to do this because odoo SA haven't. My experience of other ecommerce platforms, such as opencart and before that OScommerce, is that the simply paid-for themes created by designers are one of the key ways of promoting the platform - this is, after all what sites like templatemonster and envato have been doing for 10 years now. At the conference in June I got the impression that Odoo understood this and were going to produce a way to allow 1) data-only modules containing themes to be installed on their saas and 2) to find a way of allowing designers to be paid for these themes. Do this and they could open up a significant new market of SME online store-owners and publicity for their platform.

It is now nearly two months since that conference and we still don't have v8 officially released yet and no further news about customising themes - all very frustrating!

By the way - do you provide odoo services - it seems you know what you are doing with the ecommerce front-end when so many 'partners' here in the UK still seem to know next-to-nothing about it with the continual excuse that they are waiting for v8 to be released.

regards

Kurt


Hi Kurt, I've put together some very basic instructions on how to get started with local theme development here: https://www.odoo.com/forum/help-1/question/new-bootstrap-theme-on-website-builder-58809

--
Luke Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo

Avatar
Luke Branch
Mejor respuesta

If anyone has any tips on theme file structure and method of packaging (eg. custom module) for the new CMS/E-Commerce features rolled out in v8 please let me know. I would like to begin working on custom bootstrap 3 themes for use with the website/e-commerce functionality, however i'm not sure where to start.

0
Avatar
Descartar
Avatar
Nicolás Visús
Mejor respuesta

I dont know of issue but I know that you can find the themes used in bootswatch.com. Maybe there you will find more information.

Furthermore you can configure to sell both businesses and individuals as I have been researching. That you do it from the moment you set configuring clients with a particular price list. Customers can "logging" as in the portal and prices would change for them.

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

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Is their a way to link attributes with product categories? Resuelto
v8 ecommerce website
Avatar
Avatar
Avatar
4
jul 23
9391
[v8.0] Ecommerce Grid is 4 columns by default. Where is this value set and how can we change it? Resuelto
v8 ecommerce website
Avatar
Avatar
Avatar
7
jul 19
9256
Need a tutorial for openerp v8 's Website & Ecommerce Module
v8 ecommerce openerp website
Avatar
Avatar
1
mar 15
8077
Description for products in ecommerce is obtained from description_sale instead of website_description field. How to replace?
v8 ecommerce description website odoo
Avatar
0
feb 18
5923
Date different between backend and front-end (web module)
v8 timezone ecommerce backend website
Avatar
Avatar
1
mar 16
6513
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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