How css and js inheritance works on Odoo v8?
I've been working with OpenERP (now Odoo) for a long time. But now I'm a little bit confused. I used to inherit point_of_sale and add css on __openerp__.py. But now that it changed and now css files are called inside html_template under point_of_sale/controllers/main.py and also js files are inserted on point_of_sale/views/point_of_sale.xml I am really confused about how this works and how should I add css from my multiple POS addons. I don't want to override and add my css because this should be inheritable. So please can someone explain me how this works?
In v8 adding of static files is different as v7.
You must define static files in view, where you inheriting core views.
1. in module folder create folder named views
2. create in where file named: you_module_name.xml
3. in __openerp.py__ add: 'data': ['views/you_module_name.xml']
4. in you_module_name.xml add:
- What documentation is available for odoo?
- The different "openerp model inheritance" mechanisms: what's the difference between them, and when should they be used ?
- What is the different between col and colspan?
- How can I activate the developer mode?
- How i can create module openerp 7 / Odoo 8 ?
- How to display database name without debug mode?
- How to run tests
- Relative Date (today, this month, e.g.) in Filter
- How to disable developer mode or debugging feature in openerp 7
- Hide menu for existing group
- How to show Thumbnail image in list view?
- Please define these Python Fetch types
- What is the _track proprerty of mail.thread model used for ?
- why dummy field used in product.product
- How to add a custom css?
- How to move around workflow states back and forth?
- Setting up rules' Access Right in xml,csv files
- Anyone has realized a locking functionality?
- How to override a global function?
- Show Account Number(Partial or Semi Visible Number) Formatting in OpenERP 7.0
- how to override name_get method in new api
- How to extend fields.selection options without overwriting them?
- How to enable a security group for all users?
- How to detect which modules are installed
- Details and examples on the accounting API?
- How to handle reading and writing to read-only fields
- How to debug Odoo in Eclipse under Winows?
- Whats the difference between inherit and inherits?
- What should onchange methods do and return?