diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-02 10:03:46 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-02 10:03:46 +0700 |
| commit | b49fc1dcecd3543917c46f6c0a1505b271da5c51 (patch) | |
| tree | aaec220dcd5f4667ca0d9716df6cffef33150928 | |
| parent | 5f28a7a38385ccf529c85ea78138867e04ed6cba (diff) | |
<Miqdad> fix stock inven action start
| -rw-r--r-- | indoteknik_custom/models/stock_inventory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_inventory.py b/indoteknik_custom/models/stock_inventory.py index e41854ef..432d9225 100644 --- a/indoteknik_custom/models/stock_inventory.py +++ b/indoteknik_custom/models/stock_inventory.py @@ -55,6 +55,7 @@ class StockInventory(models.Model): 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") + return super(StockInventory, self).action_start() @api.model def create(self, vals): |
