summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-12-27 13:37:37 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-12-27 13:37:37 +0700
commit5eabba4b2a8a3e1ec233f60c6aa7a0fa7414fd51 (patch)
treed968166a0564703f9ed7fdeec2a57240db6722a2 /indoteknik_custom/models/purchasing_job.py
parent624e4077925cf1517097da015076dd4385cf286c (diff)
alert if so have matches po
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
-rw-r--r--indoteknik_custom/models/purchasing_job.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py
index 09c202d9..7ac678c4 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -18,13 +18,12 @@ 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)
self.env.cr.execute("""
CREATE OR REPLACE VIEW %s AS (
- select product_id as id, product_id, brand, item_code, product, onhand, incoming, outgoing, action
+ select product_id as id, product_id, brand, item_code, product, onhand, incoming, outgoing, action
from v_procurement_monitoring_by_product
where action = 'kurang beli'
)