summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order_line.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-09-29 13:20:20 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-09-29 13:20:20 +0700
commit875b20796c7fa64abebe430b2707df597e29836b (patch)
tree2521fbf09f4695253fd7db1ff7613b7f003f20ea /indoteknik_custom/models/purchase_order_line.py
parent914bcd75dd2baddb2841cbfba6a64ebd453fecdb (diff)
parentec21c4721f35028fc9b2a61bd0dbc6e4bf600e74 (diff)
Merge branch 'odoo-backup' into pum-v2
# Conflicts: # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/models/purchase_order_line.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order_line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py
index 315795d5..a3c3a33b 100755
--- a/indoteknik_custom/models/purchase_order_line.py
+++ b/indoteknik_custom/models/purchase_order_line.py
@@ -50,6 +50,7 @@ class PurchaseOrderLine(models.Model):
cost_service_per_item = fields.Float(string='Biaya Jasa Per Item', compute='_compute_doc_delivery_amt')
contribution_cost_service = fields.Float(string='Contribution Cost Service', compute='_compute_doc_delivery_amt')
ending_price = fields.Float(string='Ending Price', compute='_compute_doc_delivery_amt')
+ show_description = fields.Boolean(string='Show Description', help="Show Description when print po", default=True)
def _compute_doc_delivery_amt(self):
for line in self: