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 don't want to modify the original one because I will lose the changes every time I update the module. Is that possible?
I cannot getting it works. Some explanation for dummies? :)
Thanks to Jigar at Odoo,SA. In v8 you have to register the assets (css) in v8 with an xml file.
'name': 'Web Form Sheet Width',
OpenERP Web core module.
This module provides increase the sheet width in form
'data' : ['ccoffee_page_view_width.xml'],
'js' : [
'qweb' : [
?xml version="1.0" encoding="utf-8"?>
<template id="assets_backend" name="ccoffee_page_view_width assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/ccoffee_page_view_width/static/src/css/web_form_sheet_width.css"/>
Create a new module.
In your module's
__openerp__.py file, you add a line:
The trick is making sure you have the correct path matching the path where the existing CSS files are located.
Full documentation at https://doc.openerp.com/trunk/web/module/
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: 3/10/14, 1:31 PM|
|Seen: 8264 times|
|Last updated: 6/16/16, 6:07 AM|