summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-09-16 09:27:32 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-09-16 09:27:32 +0700
commit7fe2c169a448df17c9395dfae20c524e94aa8bfc (patch)
tree0057b6a31222fc0468b7f8116ce066f699eba937 /indoteknik_custom/models/purchase_order.py
parent78a4f924fa9ba38c58954b5840632806b04fff19 (diff)
push
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index 98cf6ff1..4636c243 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -137,7 +137,7 @@ class PurchaseOrder(models.Model):
def _compute_date_planned(self):
""" date_planned = the earliest date_planned across all order lines. """
for order in self:
- order.date_planned = False
+ order.date_planned = order.date_planned
@api.constrains('date_planned')
def constrains_date_planned(self):