diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-15 11:17:37 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-15 11:17:37 +0700 |
| commit | bd6c4da5e84a1b0aa98a9b41918cd70f836d2b59 (patch) | |
| tree | 11522eaf7efa2e1378379b57b7817229c19c5195 /fixco_custom/models/stock_picking.py | |
| parent | 69d1aba2d4da72667bd2a43fa35e591a2caadba5 (diff) | |
benerin upload bills jadiin queuing
Diffstat (limited to 'fixco_custom/models/stock_picking.py')
| -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 526a0eb..c72f3a4 100755 --- a/fixco_custom/models/stock_picking.py +++ b/fixco_custom/models/stock_picking.py @@ -223,7 +223,7 @@ class StockPicking(models.Model): def action_create_invoice_from_mr(self): """Create the invoice associated to the PO. """ - if not self.env.user.id == 13: + if self.env.user.id not in (13, 15, 8): raise UserError('Hanya Accounting yang bisa membuat Bill') precision = self.env['decimal.precision'].precision_get('Product Unit of Measure') |
