Add missing Active Record migration.

issue3093
review742002
This commit is contained in:
Udo Spallek
2013-03-26 11:38:41 +00:00
parent e815a27c30
commit a594ce4121
+1 -1
View File
@@ -910,7 +910,7 @@ class Invoice(Workflow, ModelSQL, ModelView):
sequence_id = period.get_invoice_sequence(self.type).id
if not sequence_id:
self.raise_user_error('no_invoice_sequence', {
'invoice': invoice.rec_name,
'invoice': self.rec_name,
'period': period.rec_name,
})
with Transaction().set_context(