Change field description from char to text

Better handling of linebreaks and multiline input in sale lines for issue 738
This commit is contained in:
Mathias Behrle committed 2009-01-10 16:47:21 +01:00
1 parent 82b40ef929
commit 736a74aace
2 files changed
+1 -1

No files matched your search

BIN
View File
Binary file not shown.
+1 -1
View File
@@ -902,7 +902,7 @@ class SaleLine(OSV):
'readonly': "not globals().get('_parent_sale')",
}, on_change_with=['type', 'quantity', 'unit_price',
'_parent_sale.currency'])
description = fields.Char('Description', size=None, required=True)
description = fields.Text('Description', size=None, required=True)
comment = fields.Text('Comment',
states={
'invisible': "type != 'line'",