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) )