summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-04 14:38:58 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-04 14:38:58 +0700
commitd2a64b4e6023f0768d5c326c833fd5a9d8a11444 (patch)
tree98149f6da42a924b7ad1a1b01c50feeaa138a0bb /indoteknik_custom/models/purchasing_job.py
parent8bb3696e35dc122ea153566834a48ec0659e0101 (diff)
parentfb9b47c3fb5773782f84628764a01c5deb9be035 (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into cr_renca_find
merge
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
-rw-r--r--indoteknik_custom/models/purchasing_job.py4
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