Change field description from char to text

Better handling of linebreaks and multiline input in purchase lines for issue 738
This commit is contained in:
Mathias Behrle
2009-01-10 16:45:57 +01:00
parent a6e9d93d09
commit edf5808a6d
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -798,7 +798,7 @@ class PurchaseLine(OSV):
'readonly': "not globals().get('_parent_purchase')",
}, on_change_with=['type', 'quantity', 'unit_price',
'_parent_purchase.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'",