[IMP] point_of_sale: show recent orders first

closes odoo/odoo#37061

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Florent de Labarre
2019-09-25 07:19:06 +00:00
committed by Martin Trigaux
parent dd9d6d0fac
commit 8be814e2ea
+1 -1
View File
@@ -20,7 +20,7 @@ _logger = logging.getLogger(__name__)
class PosOrder(models.Model):
_name = "pos.order"
_description = "Point of Sale Orders"
_order = "id desc"
_order = "date_order desc, name desc, id desc"
@api.model
def _amount_line_tax(self, line, fiscal_position_id):