From 624e4077925cf1517097da015076dd4385cf286c Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 27 Dec 2023 10:13:47 +0700 Subject: validate if product have po --- indoteknik_custom/models/purchasing_job.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models/purchasing_job.py') diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py index 43da2458..09c202d9 100644 --- a/indoteknik_custom/models/purchasing_job.py +++ b/indoteknik_custom/models/purchasing_job.py @@ -18,6 +18,7 @@ class PurchasingJob(models.Model): incoming = fields.Float(string="Incoming") outgoing = fields.Float(string="Outgoing") action = fields.Char(string="Status") + is_po = fields.Boolean(string='Is PO') def init(self): tools.drop_view_if_exists(self.env.cr, self._table) -- cgit v1.2.3