mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[IMP] update dotfiles [ci skip]
This commit is contained in:
committed by
Víctor Martínez
parent
e05c772ddf
commit
9bd34c60a2
@@ -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)],
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user