diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-03-25 13:07:44 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-03-25 13:07:44 +0700 |
| commit | b2377426bec8aa334277aac48b0b25f0dfac420f (patch) | |
| tree | 49c6a042e0fe29295231b1d409d705a92ddbfc03 /indoteknik_custom/models/purchasing_job_state.py | |
| parent | a05da3fad1855cbf2ce4cc7645f1fda79cae037c (diff) | |
purchasing job feedback
Diffstat (limited to 'indoteknik_custom/models/purchasing_job_state.py')
| -rw-r--r-- | indoteknik_custom/models/purchasing_job_state.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchasing_job_state.py b/indoteknik_custom/models/purchasing_job_state.py new file mode 100644 index 00000000..57fd3db2 --- /dev/null +++ b/indoteknik_custom/models/purchasing_job_state.py @@ -0,0 +1,17 @@ +from odoo import fields, models, api, tools, _ +import logging +from datetime import datetime + +_logger = logging.getLogger(__name__) + + +class PurchasingJobState(models.Model): + _name = 'purchasing.job.state' + _rec_name = 'purchasing_job_id' + + purchasing_job_id = fields.Many2one('purchasing.job', string='Ref') + status_apo = fields.Selection([ + ('not_apo', 'Belum APO'), + ('apo', 'APO') + ], string='APO?', copy=False) + |
