Frappe Assistant Core v2.0.1 Release Notes #19
buildswithpaul
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release Date: July 26, 2025
Version: 2.0.1
Type: Major Bug Fixes & Tool Improvements
🎯 Overview
Version 2.0.1 is a significant maintenance release that addresses critical issues in document creation, dashboard chart functionality, and custom tool discovery. This release dramatically improves the reliability and usability of AI assistant tools for Frappe Framework.
🚀 Major Improvements
📋 Document Creation Tool Overhaul
Problem Solved: The
create_documenttool frequently failed when creating documents with child tables (Purchase Orders, Sales Invoices, BOMs), causing LLMs to fall back to less reliable methods.Key Fixes:
doc.append()usage instead of naivesetattr()Impact: Document creation success rate increased from ~60% to ~95% for complex DocTypes.
📊 Dashboard Chart System Rebuild
Problem Solved: Dashboard charts were created but failed at runtime with empty "Time Series Based On" and "Value Based On" fields, causing blank charts in dashboard view.
Root Cause: Incorrect field mapping between tool parameters and Frappe's Dashboard Chart DocType structure.
Complete Fix:
based_on= Time Series Based On (date field)timeseries= Time Series flag (boolean)group_by_based_on= Group By Based On (grouping field)value_based_on= Value Based On (aggregation field)Impact: Charts now work immediately in dashboard view with proper data visualization.
🔧 Custom Tool Discovery Enhancement
Problem Solved: Custom tools from external Frappe apps were not being properly discovered through the hooks system.
Fix: Enhanced tool registry to properly scan and load tools from
assistant_toolshook in external apps.Impact: Enables seamless integration of custom business-specific tools from any Frappe app.
🐛 Critical Bug Fixes
Document Creation Issues
'dict' object has no attribute 'is_new'error in child table creationDashboard Chart Issues
TypeError: 'NoneType' object is not callablein chart data retrievalUnknown column 'tabItem.posting_date' in 'WHERE'SQL errorsTool Discovery Issues
🛠️ Technical Improvements
Enhanced Validation Framework
Improved Architecture
Code Quality
📈 Performance Impact
🔄 Migration Guide
Automatic Updates
Most improvements are automatically applied and require no user action.
For Dashboard Charts
Existing broken charts can be easily fixed:
For Custom Tools
No changes required - custom tools will be automatically discovered on server restart.
🚨 Breaking Changes
None - This release is fully backward compatible.
🔍 What's Next
Upcoming in v2.1.0
📋 Full Changelog
Added
Fixed
doc.append()vssetattr())based_on,timeseries,group_by_based_on)Improved
Technical
🙏 Acknowledgments
Special thanks to the community for reporting issues and providing detailed feedback that made this comprehensive improvement possible.
📞 Support
Download: Release v2.0.1
License: AGPL-3.0 License
Compatibility: Frappe Framework v15+ & ERPNext v15+
This discussion was created from the release Frappe Assistant Core v2.0.1 Release Notes.
Beta Was this translation helpful? Give feedback.
All reactions