diff --git a/stock_cycle_count/__manifest__.py b/stock_cycle_count/__manifest__.py index 45d4ea1a9..4d17df48f 100644 --- a/stock_cycle_count/__manifest__.py +++ b/stock_cycle_count/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Cycle Count", "summary": "Adds the capability to schedule cycle counts in a " "warehouse through different rules defined by the user.", - "version": "11.0.1.0.0", + "version": "11.0.1.0.1", "development_status": "Mature", "maintainers": ["lreficent"], "author": "Eficent, " diff --git a/stock_cycle_count/models/stock_move.py b/stock_cycle_count/models/stock_move.py index bdb2c1d71..18026cbbb 100644 --- a/stock_cycle_count/models/stock_move.py +++ b/stock_cycle_count/models/stock_move.py @@ -1,5 +1,6 @@ # Copyright 2017 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) +# Copyright 2019 Tecnativa - Pedro M. Baeza # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, models @@ -10,6 +11,6 @@ class StockMove(models.Model): @api.multi def _action_done(self): - super()._action_done() + res = super()._action_done() self.mapped("location_id").check_zero_confirmation() - return True + return res