diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-01 06:28:27 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-01 06:28:27 +0700 |
| commit | 43a0814b7efa1acaa04abda402bbfc9bddebc5cc (patch) | |
| tree | 1a7bcbb7db164ec42e747373984a8f4d6f9ce834 | |
| parent | 956be5a7ac4cd008dad9c854f1ba2e5b1346cc01 (diff) | |
comment kode automatic create invoices while validate bu out
| -rwxr-xr-x | fixco_custom/models/stock_picking.py | 4 |
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 |
