diff --git a/invoice.py b/invoice.py index a86e354e39..4492792f7c 100644 --- a/invoice.py +++ b/invoice.py @@ -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'],