diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 13:48:45 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 13:48:45 +0700 |
| commit | 21d01b83204677e3cf8d355b6198290b6dbb9d52 (patch) | |
| tree | 6bf82db66666a3ebe56db44326189c7ebfc47f77 /indoteknik_custom/models/stock_inventory.py | |
| parent | b615e3bc69910a6a495a72dc49309a80295486a0 (diff) | |
| parent | 8996a5b127f4bb3bf8926d23b3e79d25de8ddc76 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_renca_find
Diffstat (limited to 'indoteknik_custom/models/stock_inventory.py')
| -rw-r--r-- | indoteknik_custom/models/stock_inventory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_inventory.py b/indoteknik_custom/models/stock_inventory.py index 432d9225..84eb5a17 100644 --- a/indoteknik_custom/models/stock_inventory.py +++ b/indoteknik_custom/models/stock_inventory.py @@ -53,8 +53,8 @@ class StockInventory(models.Model): return "00001" # Jika belum ada data, mulai dari 00001 def action_start(self): - if self.env.user.id not in [21, 17, 6277]: - raise UserError("Hanya Rafly, denise, dan faisal yang bisa start inventory") + if self.env.user.id not in [21, 17, 571, 28]: + raise UserError("Hanya Rafly, Denise, Iqmal, dan Stephan yang bisa start inventory") return super(StockInventory, self).action_start() @api.model |
