Fix state name from backport 0972d4ef5955
This commit is contained in:
1 parent
2aafd1c297
commit
0b1c2ff879
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user