From deb60713ed39979b34083ee094de79fa3afac3b8 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Wed, 23 Jul 2025 14:50:10 +0700 Subject: Refund System --- indoteknik_custom/views/account_move.xml | 4 +- indoteknik_custom/views/ir_sequence.xml | 10 ++ indoteknik_custom/views/refund_sale_order.xml | 199 ++++++++++++++++++++++++++ indoteknik_custom/views/sale_order.xml | 38 ++++- 4 files changed, 249 insertions(+), 2 deletions(-) create mode 100644 indoteknik_custom/views/refund_sale_order.xml (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 2f52b3d9..ae944a4a 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -36,7 +36,9 @@ - + + + diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml index a0f5fc6b..a4c98e3f 100644 --- a/indoteknik_custom/views/ir_sequence.xml +++ b/indoteknik_custom/views/ir_sequence.xml @@ -200,5 +200,15 @@ 1 1 + + + Refund Sale Order + refund.sale.order + RC/%(year)s/%(month)s/ + 4 + 1 + 1 + True + \ No newline at end of file diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml new file mode 100644 index 00000000..3b348730 --- /dev/null +++ b/indoteknik_custom/views/refund_sale_order.xml @@ -0,0 +1,199 @@ + + + + + refund.sale.order.tree + refund.sale.order + + + + + + + + + + + + + + + + + + + + + + + + refund.sale.order.form + refund.sale.order + +
+
+
+ +
+ +
+ + + +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+ + + Refund Sales Order + refund.sale.order + tree,form + + + + +
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 2a159307..bb8bdc08 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -35,7 +35,32 @@ string="UangMuka" type="action" attrs="{'invisible': [('approval_status', '!=', 'approved')]}"/> - + + + + + + + + + + Refund + + + code + action = records.open_form_multi_create_refund() + + + Sale Order: Notification to Salesperson -- cgit v1.2.3