summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-01-01 06:28:27 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-01-01 06:28:27 +0700
commit43a0814b7efa1acaa04abda402bbfc9bddebc5cc (patch)
tree1a7bcbb7db164ec42e747373984a8f4d6f9ce834
parent956be5a7ac4cd008dad9c854f1ba2e5b1346cc01 (diff)
comment kode automatic create invoices while validate bu out
-rwxr-xr-xfixco_custom/models/stock_picking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixco_custom/models/stock_picking.py b/fixco_custom/models/stock_picking.py
index 971278b..2258bd4 100755
--- a/fixco_custom/models/stock_picking.py
+++ b/fixco_custom/models/stock_picking.py
@@ -106,8 +106,8 @@ class StockPicking(models.Model):
res = super(StockPicking, self).button_validate()
- if self.name.startswith('BU/OUT') and self.origin.startswith('SO/'):
- self.create_invoices()
+ # if self.name.startswith('BU/OUT') and self.origin.startswith('SO/'):
+ # self.create_invoices()
return res