diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-06 14:03:28 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-06 14:03:28 +0700 |
| commit | d221d6dd6bafba1c49fb942a802160832c0fdb82 (patch) | |
| tree | ef957efc4376b75d5d19efd76779ee2b2001181b | |
| parent | 768525ae58075760bf2179eadefbe5277acbd1ab (diff) | |
push akses ikmal
| -rwxr-xr-x | fixco_custom/models/stock_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/models/stock_picking.py b/fixco_custom/models/stock_picking.py index 35fa046..7437ca5 100755 --- a/fixco_custom/models/stock_picking.py +++ b/fixco_custom/models/stock_picking.py @@ -155,7 +155,7 @@ class StockPicking(models.Model): def action_create_invoice_from_mr(self): """Create the invoice associated to the PO. """ - if self.env.user.id == 13: + if not self.env.user.id == 13: raise UserError('Hanya Accounting yang bisa membuat Bill') precision = self.env['decimal.precision'].precision_get('Product Unit of Measure') |
