summaryrefslogtreecommitdiff
path: root/fixco_custom
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-02-24 16:05:42 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-02-24 16:05:42 +0700
commitcd72d7455e84e48aad4525fa54383cdb814b0f54 (patch)
tree57aadef72271e66059f03750f99b58dc98ce864c /fixco_custom
parent099dc9e41b2f9098eebb00ea895232e4c943d83c (diff)
PUSH
Diffstat (limited to 'fixco_custom')
-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'
):