Nicolas Martinelli
56517a6ca9
[FIX] website_quote: invoice generation
...
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
2017-01-04 14:01:43 +01:00
..
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-18 03:43:02 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 04:42:12 +01:00
2017-01-02 11:22:45 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2016-11-20 03:37:19 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2016-12-11 03:43:27 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2016-12-05 09:11:13 +01:00
2017-01-03 15:10:30 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-18 02:58:16 +01:00
2017-01-01 04:42:12 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-19 10:33:43 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2016-12-11 03:43:27 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-04 09:50:11 +01:00
2017-01-01 04:42:12 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-19 12:43:17 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-11-17 15:24:36 +01:00
2016-12-05 09:11:13 +01:00
2016-11-17 15:24:36 +01:00
2016-11-17 15:24:36 +01:00
2016-11-17 15:24:36 +01:00
2017-01-01 04:42:12 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 00:30:05 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 02:58:08 +01:00
2017-01-02 14:38:59 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-10-03 11:22:40 +02:00
2016-10-03 11:22:40 +02:00
2016-12-05 09:11:13 +01:00
2016-11-20 02:58:43 +01:00
2016-12-05 09:11:13 +01:00
2016-10-03 11:22:40 +02:00
2016-12-05 09:11:13 +01:00
2016-12-07 16:50:06 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-12 09:06:35 +01:00
2016-12-01 13:52:01 +01:00
2016-12-08 13:30:52 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 00:30:05 +01:00
2016-11-20 02:58:43 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-01 13:52:01 +01:00
2017-01-02 14:38:59 +01:00
2016-12-29 22:31:16 +01:00
2016-12-05 09:21:36 +01:00
2017-01-02 14:38:59 +01:00
2016-10-24 17:18:32 +02:00
2016-12-05 09:11:13 +01:00
2017-01-01 02:58:08 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-09 15:44:01 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2016-12-20 15:23:51 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-25 00:30:02 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-02 11:22:45 +01:00
2016-12-25 04:42:15 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-25 04:42:15 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-11 03:43:27 +01:00
2016-12-25 04:42:15 +01:00
2016-12-11 03:43:27 +01:00
2017-01-02 11:11:49 +01:00
2017-01-02 14:38:59 +01:00
2016-12-04 03:44:39 +01:00
2016-12-11 03:43:27 +01:00
2016-12-25 04:42:15 +01:00
2016-12-25 04:42:15 +01:00
2017-01-03 15:10:30 +01:00
2017-01-02 14:38:59 +01:00
2016-12-25 00:30:02 +01:00
2016-12-11 03:43:27 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-02 12:49:55 +01:00
2017-01-01 04:42:12 +01:00
2016-12-18 03:43:02 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-25 00:30:02 +01:00
2017-01-03 15:10:30 +01:00
2016-11-20 03:37:19 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-25 00:30:02 +01:00
2016-12-25 00:30:02 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2016-12-01 13:52:01 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-11 03:43:27 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-02 14:38:59 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-01 13:52:01 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2016-12-05 09:11:13 +01:00
2016-12-05 09:11:13 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2017-01-03 15:10:30 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-19 12:43:17 +01:00
2017-01-01 04:42:12 +01:00
2016-12-25 04:42:15 +01:00
2017-01-03 15:10:30 +01:00
2017-01-01 04:42:12 +01:00
2017-01-03 15:10:30 +01:00
2016-12-25 00:30:02 +01:00
2016-12-19 12:43:17 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2017-01-01 04:42:12 +01:00
2016-12-23 14:05:29 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 02:58:08 +01:00
2016-12-19 12:43:17 +01:00
2017-01-01 02:58:08 +01:00
2017-01-01 00:30:05 +01:00
2017-01-01 00:30:05 +01:00
2016-12-19 12:43:17 +01:00
2016-12-25 00:30:02 +01:00
2016-12-05 09:14:45 +01:00
2016-12-02 12:52:38 +01:00
2017-01-04 14:01:43 +01:00
2017-01-01 00:30:05 +01:00
2017-01-02 14:38:59 +01:00
2017-01-01 00:30:05 +01:00
2016-12-19 12:43:17 +01:00
2017-01-02 14:38:59 +01:00
2016-12-25 00:30:02 +01:00
2017-01-01 00:30:05 +01:00
2016-11-08 10:40:58 +01:00
2016-12-25 00:30:02 +01:00