diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-07 13:19:52 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-07 13:19:52 +0700 |
| commit | 017c502380045ee8212932b25f9f94ee2e7b0c40 (patch) | |
| tree | 18a4f25e1656de09beb1efee41d4d1586ebc6b6a /indoteknik_custom/models | |
| parent | 5e34ad0df7287da35089c29812a208d15598aa06 (diff) | |
(andri) add type request
Diffstat (limited to 'indoteknik_custom/models')
| -rw-r--r-- | indoteknik_custom/models/advance_payment_request.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/advance_payment_request.py b/indoteknik_custom/models/advance_payment_request.py index ccbf8988..01c60cb4 100644 --- a/indoteknik_custom/models/advance_payment_request.py +++ b/indoteknik_custom/models/advance_payment_request.py @@ -116,6 +116,10 @@ class AdvancePaymentRequest(models.Model): default=lambda self: self.env.company.currency_id ) + type_request = fields.Selection([ + ('pum', 'PUM'), + ('reimburse', 'Reimburse')], string='Tipe Pengajuan', default='pum', tracking=3) + @api.onchange('nominal') def _onchange_nominal_no_minus(self): if self.nominal and self.nominal < 0: |
