diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-17 16:40:42 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-17 16:40:42 +0700 |
| commit | 7c893b6cfeae88c82231f682517ae143b4cf580b (patch) | |
| tree | b249c3d3a462d4817a39ff00954765f3a4f7788f /indoteknik_custom/models/purchasing_job.py | |
| parent | 8bb3696e35dc122ea153566834a48ec0659e0101 (diff) | |
| parent | a461efcda1637c267b3c4195eb0f7d649f10f145 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_renca_find
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
| -rw-r--r-- | indoteknik_custom/models/purchasing_job.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py index 7a7e70b4..e457b86c 100644 --- a/indoteknik_custom/models/purchasing_job.py +++ b/indoteknik_custom/models/purchasing_job.py @@ -24,7 +24,8 @@ class PurchasingJob(models.Model): ('apo', 'APO') ], string='APO?') purchase_representative_id = fields.Many2one('res.users', string="Purchase Representative", readonly=True) - note = fields.Char(string="Note Detail") + note = fields.Char(string="Note") + note_detail = fields.Text(string="Note Detail") date_po = fields.Datetime(string='Date PO', copy=False) so_number = fields.Text(string='SO Number', copy=False) check_pj = fields.Boolean(compute='_get_check_pj', string='Linked') @@ -126,6 +127,7 @@ class PurchasingJob(models.Model): pmp.action, max(pjs.status_apo::text) AS status_apo, max(pjs.note::text) AS note, + max(pjs.note_detail::text) AS note_detail, max(pjs.date_po::text) AS date_po, pmp.so_number, CASE |
