diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-15 13:31:39 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-15 13:31:39 +0700 |
| commit | 18d1a2c15b6cf198b275d80596f52cc44da00e3e (patch) | |
| tree | af8efe03013711afb0bda2d34275aa4dea44a641 /indoteknik_custom/models/stock_inventory.py | |
| parent | 097f53b8cb0b2c39fb14f5f3a665410df2c7ebf3 (diff) | |
| parent | 52066bed7e68757247e17ec89d31959247991595 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_renca_find
merge
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 |
