diff --git a/addons/product/models/product_document.py b/addons/product/models/product_document.py index 58f9aab0336..6b5cdc503d0 100644 --- a/addons/product/models/product_document.py +++ b/addons/product/models/product_document.py @@ -10,7 +10,7 @@ class ProductDocument(models.Model): _inherits = { 'ir.attachment': 'ir_attachment_id', } - _order = 'id desc' + _order = 'name' ir_attachment_id = fields.Many2one( 'ir.attachment', diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 4fa73c1951e..7eb8d0b362a 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1136,13 +1136,13 @@ -
- Documents +
+
Documents
-
+