Chirag Patel (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-580267-cpa into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-580267-cpa/+merge/128925

Hello,

Fixed break raw not support when text field use in kanban.

Demo: Project > Tasks
1) Edit any record 
    "description" field in information tab, textarea fill with
    This is
    new
    line.
2) Save form view.

Observed: In kanban view changed record show "This is new line." in single raw.
Expected: In kanban view should break raw after "is" and "new".

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-580267-cpa/+merge/128925
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-580267-cpa.
=== modified file 'addons/web/static/lib/qweb/qweb2.js'
--- addons/web/static/lib/qweb/qweb2.js	2012-02-13 14:42:34 +0000
+++ addons/web/static/lib/qweb/qweb2.js	2012-10-10 13:02:22 +0000
@@ -45,7 +45,7 @@
             if (s == null) {
                 return '';
             }
-            s = String(s).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
+            s = String(s).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/\n/g,'<br/>');
             if (attribute) {
                 s = s.replace(/"/g, '&quot;');
             }

_______________________________________________
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

Reply via email to