mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_cycle_count: Don't lose return value
For avoiding an error validating pickings.
This commit is contained in:
committed by
Lois Rilo
parent
16a0bed6d7
commit
af4147049e
@@ -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, "
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user