Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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+
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.
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):-
<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"/>
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.
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.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/14/14, 6:35 AM|
|Seen: 12806 times|
|Last updated: 3/16/15, 8:10 AM|