From b5a42eda62ae2b3536a072b9cb21a61e91a7b49a Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 26 Apr 2024 14:14:16 +0700 Subject: Add res partner site feature --- indoteknik_custom/views/res_partner.xml | 5 +++++ indoteknik_custom/views/res_partner_site.xml | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 indoteknik_custom/views/res_partner_site.xml (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index e7b8517a..f79b684e 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -31,6 +31,11 @@ + + + + + diff --git a/indoteknik_custom/views/res_partner_site.xml b/indoteknik_custom/views/res_partner_site.xml new file mode 100644 index 00000000..df4c8c4a --- /dev/null +++ b/indoteknik_custom/views/res_partner_site.xml @@ -0,0 +1,28 @@ + + + + + Partner Site + res.partner.site + +
+ + + + + + +
+
+
+
+
\ No newline at end of file -- cgit v1.2.3 From 3e2166de0c8ef7da2e22d060fce23e4f0d18cc95 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Mon, 29 Apr 2024 13:24:54 +0700 Subject: Add email notification on sale order --- indoteknik_custom/views/sale_order.xml | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 23905ef7..df72f618 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -306,4 +306,60 @@ + + + + Sale Order: Notification to Salesperson + + Konsolidasi Pengiriman + sales@indoteknik.com + ${object.user_id.login | safe} + + + +
+ + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
+
+
+ + + + + + + + +
Dear ${object.user_id.name},
Terdapat pesanan ${object.name} dari ${object.partner_id.main_parent_id.name} untuk site ${object.partner_shipping_id.site_id.name | 'X'} dengan total pembelian ${object.grand_total}
+
+
+
+
+
+
+
\ No newline at end of file -- cgit v1.2.3 From a5727ae0dd3f82bf22b888125d924520833838b4 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Mon, 29 Apr 2024 13:30:25 +0700 Subject: Fix sale order notification email --- indoteknik_custom/views/sale_order.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index df72f618..77740dd0 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -343,7 +343,7 @@ - +
Dear ${object.user_id.name},
Terdapat pesanan ${object.name} dari ${object.partner_id.main_parent_id.name} untuk site ${object.partner_shipping_id.site_id.name | 'X'} dengan total pembelian ${object.grand_total}
Terdapat pesanan ${object.name} dari ${object.partner_id.main_parent_id.name} untuk site ${object.partner_shipping_id.site_id.name | safe} dengan total pembelian ${object.grand_total}
-- cgit v1.2.3