TableHandler.drop_table requires table name not table instance

This commit is contained in:
Cédric Krier committed 2013-09-10 13:55:53 +02:00
1 parent 3c4a07146b
commit a279e3d799
1 file changed
+1 -1
+1 -1
View File
@@ -138,7 +138,7 @@ class InvoiceLine:
values=['sale.line,%s' % sale_line],
where=sql_table.id == invoice_line))
TableHandler.drop_table(cursor,
'sale.line-account.invoice.line', rel_table)
'sale.line-account.invoice.line', rel_table_name)
@classmethod
def _get_origin(cls):