diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 9ff634a58d3..2b8ff770a61 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -1407,6 +1407,7 @@ class account_invoice_line(osv.osv): _name = "account.invoice.line" _description = "Invoice Line" + _order = "invoice_id,sequence" _columns = { 'name': fields.text('Description', required=True), 'origin': fields.char('Source Document', size=256, help="Reference of the document that produced this invoice."), diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index c30297b16ed..ecfd73763ce 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -191,6 +191,7 @@ +