Commit 85bd2c82 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Xiaowu Zhang

erp5_travel_expense: Confirm Purchase Transaction instead of Stopping it

parent 9a36752f
...@@ -60,6 +60,6 @@ except ValidationFailed, error_message: ...@@ -60,6 +60,6 @@ except ValidationFailed, error_message:
context.getAbsoluteUrl(), context.getAbsoluteUrl(),
message message
) )
transaction.stop() transaction.confirm()
return transaction.getRelativeUrl() return transaction.getRelativeUrl()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment