[trunk] rng view validation breaks web client shiny modularity
Bug #595783 reported by
Raphaël Valyi - http://www.akretion.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
the new modularity of the v6 web client is all the rage, but this is currently limited by the way the server validates XML views using the bin/addons/
Something better, possibly allowing to skip the validation or eventually extend it under certain circumstances (like very special addons view) would be welcome...
To post a comment you must log in.
Raphael,
The RNG validator does not enforce the values of the "widget" attribute of fields, hence you can implement web widgets that you turn on that way on specific fields. Other types of extensions like controllers or templates do not directly depend on the syntax of XML views, so should not be a problem either.
If you want to include arbitrary elements in your view definition, you may also choose to put it in a <html> element, where you can combine HTML and regular OpenERP XML. See the html_view module in trunk for an example.
Does that answer you question? Otherwise feel free to reopen with a more detailed explanation of what you have in mind :-)