37689b189ee904497eb0ce0097ecf013cac1a91c
Suppose that a payment transaction cannot be reconciled for any reason. Then _cron_post_process_after_done will try to process it every 10 minutes until the end of time. Moreover, if the user takes some manual action before _cron_post_process_after_done, even if in principle it would have been able to go through, then it is likely to fail, e.g. on invoice_open. Meaning that a transaction that could have been processed will become an undead transaction. To avoid that situation we set an arbitrary retry_limit_date set to 2 days, which seems a reasonnable compromise. It gives some time for the transaction to go through, but not exaggeratedly so. opw 1945953 closes odoo/odoo#31791 Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
…
…
…
…
…
…
…
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%