56517a6ca96fca6e50e6827ab80d297cfd84e5be
To reproduce: - Configure an external payment provider (e.g. Ingenico) with "Authorize & capture the amount, confirm the SO and auto-validate the invoice on acquirer confirmation" - Create a quotation with a product linked to a subscription - Send the link to the customer - Click on "Accept & Pay", use the configured provider The SO is confirmed, but the invoice is not generated. By calling `action_confirm` in the callback of the transaction, we validate the SO before `form_feedback` is called. Therefore, the method `_confirm_so` will do nothing since the SO is not in state 'draft' or 'sent' anymore. The solution is to manually call `_confirm_so`instead of `action_confirm`. This is necessary to do it at this moment since we might not go through `form_feedback` (e.g. if we pay thanks to wire transfer). opw-694273
…
…
…
…
…
…
…
…
…
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%