From 458bb3f5a3157b179c5b9cfcb586e39aa5a19957 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 29 Feb 2016 14:23:07 +0100 Subject: [PATCH] Remove code that is not usefull anymore --- stock_usability/stock.py | 7 +------ stock_usability/stock_view.xml | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) 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'}"