diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-25 09:54:00 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-25 09:54:00 +0700 |
| commit | 3388ae350b6a8113558beba5bc0120897974a25b (patch) | |
| tree | 5f287b40245202116a0c6a306efe125eca601bf5 /fixco_custom | |
| parent | e2946f4f67155186a6597f31c327f421901aaa2b (diff) | |
| parent | cd72d7455e84e48aad4525fa54383cdb814b0f54 (diff) | |
Merge branch 'main' of https://bitbucket.org/altafixco/fixco-addons
merge
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' ): |
