From 9a97cf1790f913a9fcb9ea4744154305d6ca1ced Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 18 Aug 2022 11:42:50 +0700 Subject: sales order approval --- indoteknik_custom/models/purchase_order_line.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indoteknik_custom/models/purchase_order_line.py') 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'}, + } -- cgit v1.2.3