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:
1 parent
82b40ef929
commit
736a74aace
2 files changed
+1
-1
No files matched your search
@@ -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'",
|
||||
|
||||
Reference in new issue
Block a user