e94912b9a9c5f96021350e4a377ddac9d3f2ab64
This was already the intended behavior, but in Python a return inside of a try...finally does not behave this way. From the Python documentation [1]: When a return, break or continue statement is executed in the try suite of a try...finally statement, the finally clause is also executed ‘on the way out.’ This can cause issues because some payment acquirers will return an error when refunding a pending transaction. This puts the transaction in the 'error' state which means it won't be refunded anymore. Additionally, putting s2s_do_transaction in a try...except like this hides any traceback that occurs which makes troubleshooting harder. [1] https://docs.python.org/3/reference/compound_stmts.html#finally
…
…
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%