openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #06411
[Merge] lp:~therp-nl/web-addons/6.1-web_widget_classes_viewmanager into lp:web-addons/6.1
Holger Brunn (Therp) has proposed merging lp:~therp-nl/web-addons/6.1-web_widget_classes_viewmanager into lp:web-addons/6.1.
Requested reviews:
Web-Addons Core Editors (webaddons-core-editors)
For more details, see:
https://code.launchpad.net/~therp-nl/web-addons/6.1-web_widget_classes_viewmanager/+merge/217724
This makes the model classes usable for all view types. The definition in WidgetFrame is not strictly necessary any more, but it doesn't hurt, so I keep it for compatibility.
--
https://code.launchpad.net/~therp-nl/web-addons/6.1-web_widget_classes_viewmanager/+merge/217724
Your team Web-Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/web-addons/6.1-web_widget_classes_viewmanager into lp:web-addons/6.1.
=== modified file 'web_widget_classes/static/src/xml/web_widget_classes.xml'
--- web_widget_classes/static/src/xml/web_widget_classes.xml 2013-12-12 10:57:43 +0000
+++ web_widget_classes/static/src/xml/web_widget_classes.xml 2014-04-30 08:05:12 +0000
@@ -6,4 +6,10 @@
this.attr('class', null);
</t>
</t>
+ <t t-extend="ViewManagerAction">
+ <t t-jquery="table:first">
+ this.attr('t-att-class', '"' + this.attr('class') + ' oe_model_" + (self.dataset.model.replace(new RegExp("\\\\.","g"), "_"))');
+ this.attr('class', null);
+ </t>
+ </t>
</templates>
Follow ups