[ADD] web_widget_classes

This commit is contained in:
Holger Brunn
2013-12-12 11:57:43 +01:00
parent a0a887ef8d
commit b0d728aea9
4 changed files with 77 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template">
<t t-extend="WidgetFrame">
<t t-jquery="table">
this.attr('t-att-class', '"' + this.attr('class') + ' oe_model_" + (widget.view.dataset.model.replace(new RegExp("\\\\.","g"), "_"))');
this.attr('class', null);
</t>
</t>
</templates>