diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-11-13 13:04:16 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-13 15:24:56 +0000 |
| commit | 3bc330a323405a59e73cf60c6aeaa0b50247e6b4 (patch) | |
| tree | 8df32c368103555c54cb446c00ceffc83d381cf3 /addons/web/static/src/js/fields | |
| parent | 82a24aa1dfb0134d7eafcd9990737376f4da036e (diff) | |
[FIX] sale_stock: canceled invoice
- Create a Sale Order with a product
- Confirm and deliver the product, create an invoice.
- Cancel that invoice, go back to the SO.
- Recreate the invoice, you have 2 of them (one cancelled).
- Post the second, and try 'Send and print' and 'Preview'.
A traceback is raised.
The traceback arises because we sort on the `invoice_date`, which is
`False` for a canceled invoice.
Actually, we should not take into account canceled invoices.
opw-2119870
closes odoo/odoo#40215
X-original-commit: 6f304973785669f1c3b297c96eb8be7de7242ebe
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
