Fix state name from backport 0972d4ef5955

This commit is contained in:
Cédric Krier committed 2013-04-25 09:07:39 +02:00
1 parent 2aafd1c297
commit 0b1c2ff879
1 file changed
+1 -1
+1 -1
View File
@@ -1199,7 +1199,7 @@ class Invoice(Workflow, ModelSQL, ModelView):
invoice.set_number()
invoice.create_move()
cls.write(invoices, {
'state': 'posted',
'state': 'open',
})
for invoice in invoices:
invoice.print_invoice()