summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-08-13 09:26:55 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-08-13 09:26:55 +0700
commitd3a28d236aecd884438545cb987ef5bd9e206801 (patch)
tree5e632a46f0843acd869dc42837180c1cf653780f
parent043ce9731360bdaffdacc7ee8188ec33ce649d96 (diff)
parenta2d087032e5b14901f4128c81b58143bcff4286f (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into fix-switch-account
-rwxr-xr-xindoteknik_custom/models/sale_order.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index a7dc59ba..0acfa0b0 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -2188,7 +2188,7 @@ class SaleOrder(models.Model):
self.check_product_bom()
self.check_credit_limit()
self.check_limit_so_to_invoice()
- # order.approval_status = 'approved'
+ order.approval_status = 'pengajuan1'
return self._create_approval_notification('Team Sales')
raise UserError("Bisa langsung Confirm")
@@ -2418,7 +2418,7 @@ class SaleOrder(models.Model):
order.approval_status = 'pengajuan1'
return self._create_approval_notification('Sales Manager')
elif order._requires_approval_team_sales():
- # order.approval_status = 'approved'
+ order.approval_status = 'pengajuan1'
return self._create_approval_notification('Team Sales')
order.approval_status = 'approved'