summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order_line.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-08-18 11:42:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-08-18 11:42:50 +0700
commit9a97cf1790f913a9fcb9ea4744154305d6ca1ced (patch)
tree9be27427180db8f7778bcd8cf8350e0464f06ce6 /indoteknik_custom/models/purchase_order_line.py
parent2d400be8110ebc7471022455c59a135658d014ed (diff)
sales order approval
Diffstat (limited to 'indoteknik_custom/models/purchase_order_line.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order_line.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py
index 74b46e4c..22d65ee8 100755
--- a/indoteknik_custom/models/purchase_order_line.py
+++ b/indoteknik_custom/models/purchase_order_line.py
@@ -81,3 +81,6 @@ class PurchaseOrderLine(models.Model):
price_unit = product_supplierinfo.price
self.price_unit = price_unit
+ return {
+ 'warning': {'title': "Warning", 'message': 'ABCDEF', 'type': 'notification'},
+ }