Farid Ghanchi (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-1009066-ggh into lp:openerp-web.
Requested reviews:
Jiten (OpenERP) (jiten-openerp)
Related bugs:
Bug #1009066 in OpenERP Web: "[need decision] Layout gets broken when the
text exceeds the size of the fields!"
https://bugs.launchpad.net/openerp-web/+bug/1009066
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1009066-ggh/+merge/120989
- Fixed the issue of text size exceed for char field and broken layout.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1009066-ggh/+merge/120989
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-1009066-ggh.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css 2012-08-22 17:58:35 +0000
+++ addons/web/static/src/css/base.css 2012-08-23 13:24:06 +0000
@@ -2254,6 +2254,7 @@
}
.openerp .oe_form .oe_form_field {
width: 100%;
+ word-wrap: break-word;
display: inline-block;
padding: 2px 2px 2px 0px;
line-height: 1em;
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml 2012-08-21 09:30:00 +0000
+++ addons/web/static/src/xml/base.xml 2012-08-23 13:24:06 +0000
@@ -934,6 +934,7 @@
<t t-if="!widget.get('effective_readonly')">
<input t-att-type="widget.password ? 'password' : 'text'"
t-att-id="widget.id_for_label"
+ t-att-maxlength="widget.field.size"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
t-att-placeholder="widget.node.attrs.placeholder"
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp