update subscription to auto_repeat across dashboards (#13956)
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice_dashboard.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice_dashboard.py
index beb9ae0..f101b6a 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice_dashboard.py
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice_dashboard.py
@@ -30,7 +30,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
}
\ No newline at end of file
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py
index 280a9a7..71fce77 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice_dashboard.py
@@ -29,7 +29,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
}
\ No newline at end of file
diff --git a/erpnext/buying/doctype/purchase_order/purchase_order_dashboard.py b/erpnext/buying/doctype/purchase_order/purchase_order_dashboard.py
index 90b267f..cce4b27 100644
--- a/erpnext/buying/doctype/purchase_order/purchase_order_dashboard.py
+++ b/erpnext/buying/doctype/purchase_order/purchase_order_dashboard.py
@@ -24,7 +24,7 @@
},
{
'label': _('Reference'),
- 'items': ['Material Request', 'Supplier Quotation', 'Project', 'Subscription']
+ 'items': ['Material Request', 'Supplier Quotation', 'Project', 'Auto Repeat']
},
{
'label': _('Sub-contracting'),
diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation_dashboard.py b/erpnext/buying/doctype/supplier_quotation/supplier_quotation_dashboard.py
index 123c478..0387437 100644
--- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation_dashboard.py
+++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation_dashboard.py
@@ -22,7 +22,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
diff --git a/erpnext/config/accounts.py b/erpnext/config/accounts.py
index 088a119..2494562 100644
--- a/erpnext/config/accounts.py
+++ b/erpnext/config/accounts.py
@@ -34,8 +34,8 @@
},
{
"type": "doctype",
- "name": "Subscription",
- "label": _("Subscription"),
+ "name": "Auto Repeat",
+ "label": _("Auto Repeat"),
"description": _("To make recurring documents")
},
{
diff --git a/erpnext/selling/doctype/quotation/quotation_dashboard.py b/erpnext/selling/doctype/quotation/quotation_dashboard.py
index 91ba8d7..d32fd0c 100644
--- a/erpnext/selling/doctype/quotation/quotation_dashboard.py
+++ b/erpnext/selling/doctype/quotation/quotation_dashboard.py
@@ -13,7 +13,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
}
\ No newline at end of file
diff --git a/erpnext/selling/doctype/sales_order/sales_order_dashboard.py b/erpnext/selling/doctype/sales_order/sales_order_dashboard.py
index e2fe65a..35c643d 100644
--- a/erpnext/selling/doctype/sales_order/sales_order_dashboard.py
+++ b/erpnext/selling/doctype/sales_order/sales_order_dashboard.py
@@ -32,7 +32,7 @@
},
{
'label': _('Reference'),
- 'items': ['Quotation', 'Subscription']
+ 'items': ['Quotation', 'Auto Repeat']
},
{
'label': _('Payment'),
diff --git a/erpnext/stock/doctype/delivery_note/delivery_note_dashboard.py b/erpnext/stock/doctype/delivery_note/delivery_note_dashboard.py
index a036480..cf28a52 100644
--- a/erpnext/stock/doctype/delivery_note/delivery_note_dashboard.py
+++ b/erpnext/stock/doctype/delivery_note/delivery_note_dashboard.py
@@ -26,7 +26,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
}
\ No newline at end of file
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py b/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py
index 813aadd..e83a89e 100644
--- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py
+++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt_dashboard.py
@@ -28,7 +28,7 @@
},
{
'label': _('Subscription'),
- 'items': ['Subscription']
+ 'items': ['Auto Repeat']
},
]
}
\ No newline at end of file