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:
Binary file not shown.
+1
-1
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user