diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-03-23 16:37:56 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-08-23 17:03:56 +0200 |
| commit | 6d04c70abea6bbbe198c474a00b8a9c91a8ab69a (patch) | |
| tree | 797cb5f7142cba36d09f817c1e6ee770c7c3e96a /addons/web/static/src/less/form_view_layout.less | |
| parent | a765b3e643f4ad98f319b983dda313e0ebdf931f (diff) | |
[IMP] web: add ace editor for xml and python edition
* display all lines and don't display the scroll bar into ace editor
* lazy read ace lib and add missing lib file
* use not minified version of ace lib
* Move ace lib from website to web
* Added ace widget for webclient
* XML mode for view text box
* Python mode for server action text box
* Removed web_ace_editor.xml, instead added template in base.xml itself
* Added widget=ace_editor in compute field of ir.model.fields
Diffstat (limited to 'addons/web/static/src/less/form_view_layout.less')
| -rw-r--r-- | addons/web/static/src/less/form_view_layout.less | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/less/form_view_layout.less b/addons/web/static/src/less/form_view_layout.less index d94c3c3129d..281cf0d217e 100644 --- a/addons/web/static/src/less/form_view_layout.less +++ b/addons/web/static/src/less/form_view_layout.less @@ -267,6 +267,15 @@ .o_group.o_inner_group.oe_subtotal_footer { .oe_right; } + + //ace + .o_ace_view_editor { + width: 100%; + .ace-view-editor { + height: 300px; + padding: 0 1em; + } + } } // Overriden style when form view in modal |
