summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sale_order.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-07-24 15:58:16 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-07-24 15:58:16 +0700
commit5c87386fadb7f24ecbd33490cb838a879a48bd33 (patch)
tree661d8524f4b6f2c3f2ab0b6f98a89897d99566a3 /indoteknik_custom/models/sale_order.py
parentbf294f65fa5ff2f1974e0b2766a4a4469193fe3a (diff)
fix bug mail template
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
-rwxr-xr-xindoteknik_custom/models/sale_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 7e39f550..816ec3b1 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -568,6 +568,7 @@ class SaleOrder(models.Model):
def action_confirm(self):
for order in self:
+ order.sale_order_approve()
order._validate_order()
order.order_line.validate_line()