From 9bd34c60a2d4883f3e6952d206c9403e70eb22e2 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Thu, 31 Mar 2022 17:27:35 +0200 Subject: [PATCH] [IMP] update dotfiles [ci skip] --- rma/hooks.py | 2 +- rma/models/rma.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rma/hooks.py b/rma/hooks.py index ed625906..83b95586 100644 --- a/rma/hooks.py +++ b/rma/hooks.py @@ -8,7 +8,7 @@ def post_init_hook(cr, registry): env = api.Environment(cr, SUPERUSER_ID, {}) def _get_next_picking_type_color(): - """ Choose the next available color for the operation types.""" + """Choose the next available color for the operation types.""" stock_picking_type = env["stock.picking.type"] picking_type = stock_picking_type.search_read( [("warehouse_id", "!=", False), ("color", "!=", False)], diff --git a/rma/models/rma.py b/rma/models/rma.py index b9a40607..b79c6903 100644 --- a/rma/models/rma.py +++ b/rma/models/rma.py @@ -1367,7 +1367,7 @@ class Rma(models.Model): rma.write({"state": "replaced"}) def update_returned_state(self): - """ Invoked by [stock.move]._action_done""" + """Invoked by [stock.move]._action_done""" rma = self.filtered( lambda r: (r.state == "waiting_return" and r.remaining_qty_to_done <= 0) )