Add missing _order_name on invoice

This commit is contained in:
Cédric Krier committed 2008-12-18 18:15:58 +01:00
1 parent ba63bd5748
commit 3e77fc2f96
1 file changed
+1
+1
View File
@@ -237,6 +237,7 @@ class Invoice(OSV):
'Invoice'
_name = 'account.invoice'
_description = __doc__
_order_name = 'number'
company = fields.Many2One('company.company', 'Company', required=True,
states=_STATES)
type = fields.Selection(_TYPE, 'Type', select=1, on_change=['type'],