b27787c92c9cfe9692826b292924867352b10fbb
- Create a SO, link it to a Quotation Template (e.g. "Odoo Monthly" from the demo data). Note that the Quotation Template must require a payment. - Click on "Preview", then "Accept & Pay" in the website quote - Pay with Authorize.net - In the Subscription linked to the SO, change the invoice date to a date in the past (so it will generate an invoice) - Execute manually the Scheduled Action "Generate Recurring Invoices and Payments for Subscription Contracts" The payment is correctly registered on Authorize (you should receive a confirmation email), but: - No invoice is generated - The next invoice date has not been changed The issue comes from the fact that: - `payment_authorize` executes the callback method `reconcile_pending_transaction` before changing the status of the transaction. - The method `reconcile_pending_transaction` cancels and unlinks the invoice if the transaction is not 'done' or 'authorized'. In order to solve the issue, two fixes are necessary: - Switch the status update with the callback (this commit), as it is already the case for Ogone and Stripe. - Do not manually call `reconcile_pending_transaction`, since it is already executed as callback. This avoids two increments of the period (commit in Enterprise). opw-694730
…
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/10.0/setup/setup_dev.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./setup/setup_dev.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./setup/setup_dev.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%