Try ERPNext Buy Support Partners Foundation

ImportError: cannot import name 'get_next_schedule_date'

Getting this error on bench console
frappe 13.x.x-develop as of today


In [1]: from frappe.automation.doctype.auto_repeat.auto_repeat i
   ...: mport get_next_schedule_date                            
----------------------------------------------------------------
ImportError                    Traceback (most recent call last)
~/frappe-bench/apps/frappe/frappe/commands/utils.py in <module>
----> 1 from frappe.automation.doctype.auto_repeat.auto_repeat import get_next_schedule_date

ImportError: cannot import name 'get_next_schedule_date'

Same thing, preventing me from opening some doctypes, specifically Sales Order

The issue is related to frappe automation:

ImportError                    Traceback (most recent call last)
~/frappe-bench/apps/frappe/frappe/commands/utils.py in <module>
----> 1 from frappe.automation.doctype.auto_repeat.auto_repeat import get_next_schedule_date

ImportError: cannot import name 'get_next_schedule_date'

Was resolved last month, so update your develop branch and it should work.