diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-03-02 13:59:05 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-03-02 13:59:05 +0700 |
| commit | 91ebd47ad05518ceafd5af798e295700ed0296d2 (patch) | |
| tree | 07fb5664076843eea9df4da57627e1d73e48e526 | |
| parent | ac740aaf093356e87588d10f536426c0cda1a5db (diff) | |
<Miqdad> add fachri
| -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 cd3a963..ac877cb 100755 --- a/fixco_custom/models/stock_picking.py +++ b/fixco_custom/models/stock_picking.py @@ -352,7 +352,7 @@ class StockPicking(models.Model): def action_create_invoice_from_mr(self): """Create the invoice associated to the PO. """ - if self.env.user.id not in (13, 15, 8): + if self.env.user.id not in (13, 15, 8, 24): raise UserError('Hanya Accounting yang bisa membuat Bill') precision = self.env['decimal.precision'].precision_get('Product Unit of Measure') |
