summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-10-21 10:31:01 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-10-21 10:31:01 +0700
commit2016ebabb250d1fe521d9b00668b7fa4313dff81 (patch)
treede31b901f8d221e4a574596f3a7cb5d36156c531 /indoteknik_custom/models
parent49d7b473a8cd458ade6a4e703c276b0771707db2 (diff)
add field count trx po and vendor
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/purchase_pricelist.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_pricelist.py b/indoteknik_custom/models/purchase_pricelist.py
index 3607defe..b7c3785a 100755
--- a/indoteknik_custom/models/purchase_pricelist.py
+++ b/indoteknik_custom/models/purchase_pricelist.py
@@ -14,6 +14,8 @@ class PurchasePricelist(models.Model):
system_price = fields.Float(string='System Price', required=True)
human_last_update = fields.Datetime(string='Human Update')
system_last_update = fields.Datetime(string='System Update')
+ count_trx_po = fields.Integer(string='Count Trx Product')
+ count_trx_po_vendor = fields.Integer(string='Count Trx Vendor')
@api.depends('product_id', 'vendor_id')
def _compute_name(self):