diff options
| -rwxr-xr-x | fixco_custom/models/stock_picking.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fixco_custom/models/stock_picking.py b/fixco_custom/models/stock_picking.py index a91274c..b4e1922 100755 --- a/fixco_custom/models/stock_picking.py +++ b/fixco_custom/models/stock_picking.py @@ -235,7 +235,8 @@ class StockPicking(models.Model): if ( self.name and self.origin - and self.name.startswith('BU/IN') + and (self.name.startswith('BU/IN') + or self.name.startswith('BU/SRT')) and self.origin.startswith('Return of BU/OUT') and self.state == 'done' ): |
