The unified diff between revisions [8e272dc5..] and [3940066f..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'Chart.py'

#
#
# patch "Chart.py"
#  from [2a7fc6c5a294cdd64c0f74924872ff378673bc01]
#    to [b8b399cda94f87529fd1e8dfd3a22f316aa75b27]
#
============================================================
--- Chart.py	2a7fc6c5a294cdd64c0f74924872ff378673bc01
+++ Chart.py	b8b399cda94f87529fd1e8dfd3a22f316aa75b27
@@ -15,6 +15,11 @@ class Chart:
 		self.store = system.store

 	def create(self, details, debitbalance, info):
+		db = self.store.db
+		cursor = db.cursor()
+
+		cursor.execute(chart_sql['newledger'],(details, debitbalance, info))
+
+		db.commit()
+
+		return cursor.lastrowid
-
-		# FIXME some code should go here
-		return True