From 43a0814b7efa1acaa04abda402bbfc9bddebc5cc Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 1 Jan 2026 06:28:27 +0700 Subject: comment kode automatic create invoices while validate bu out --- fixco_custom/models/stock_picking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fixco_custom/models') 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 -- cgit v1.2.3