Change field description from char to text

Better handling of linebreaks and multiline input in invoice lines for issue 738
This commit is contained in:
Mathias Behrle
2009-01-10 16:39:19 +01:00
parent d95cdcd847
commit 5dbe4e2de1
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1143,7 +1143,7 @@ class InvoiceLine(OSV):
'invisible': "type not in ('line', 'subtotal')",
}, on_change_with=['type', 'quantity', 'unit_price',
'_parent_invoice.currency', 'currency'])
description = fields.Char('Description', size=None, required=True)
description = fields.Text('Description', size=None, required=True)
taxes = fields.Many2Many('account.tax', 'account_invoice_line_account_tax',
'line', 'tax', 'Taxes', domain=[('parent', '=', False)],
states={