diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-02-24 16:05:42 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-02-24 16:05:42 +0700 |
| commit | cd72d7455e84e48aad4525fa54383cdb814b0f54 (patch) | |
| tree | 57aadef72271e66059f03750f99b58dc98ce864c /fixco_custom | |
| parent | 099dc9e41b2f9098eebb00ea895232e4c943d83c (diff) | |
PUSH
Diffstat (limited to 'fixco_custom')
| -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' ): |
