diff --git a/stock_usability/stock.py b/stock_usability/stock.py index ebf0d87..780cafc 100644 --- a/stock_usability/stock.py +++ b/stock_usability/stock.py @@ -2,7 +2,7 @@ ############################################################################## # # Stock Usability module for Odoo -# Copyright (C) 2014-2015 Akretion (http://www.akretion.com) +# Copyright (C) 2014-2016 Akretion (http://www.akretion.com) # @author Alexis de Lattre # # This program is free software: you can redistribute it and/or modify @@ -32,11 +32,6 @@ class StockInventory(models.Model): _order = 'id desc' -class StockPicking(models.Model): - _inherit = 'stock.picking' - _order = 'id desc' - - class StockLocation(models.Model): _inherit = 'stock.location' diff --git a/stock_usability/stock_view.xml b/stock_usability/stock_view.xml index 961eb1a..e625bb9 100644 --- a/stock_usability/stock_view.xml +++ b/stock_usability/stock_view.xml @@ -1,7 +1,7 @@ @@ -41,7 +41,7 @@ - "{'group_by':'min_date:day'}" + "{'group_by': 'min_date:day'}"