summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-25 09:54:00 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-25 09:54:00 +0700
commit3388ae350b6a8113558beba5bc0120897974a25b (patch)
tree5f287b40245202116a0c6a306efe125eca601bf5
parente2946f4f67155186a6597f31c327f421901aaa2b (diff)
parentcd72d7455e84e48aad4525fa54383cdb814b0f54 (diff)
Merge branch 'main' of https://bitbucket.org/altafixco/fixco-addons
merge
-rwxr-xr-xfixco_custom/models/stock_picking.py3
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'
):