diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-10-08 12:22:09 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-10 06:51:55 +0000 |
| commit | 421d76b04c4fcde05510300767ead999bf0d450c (patch) | |
| tree | 9c82dc5bbe0db5b3448180a65b29ba78279da83d /doc/reference/javascript_cheatsheet.rst | |
| parent | 0fac83a5da9d49b2dd34d2b781c815c49a6474ab (diff) | |
[FIX] sale_stock: print canceled invoice
Install both Sale Management and Invoicing. Create an invoice without
any line, save it and cancel the entry. Print the canceled invoice,
traceback.
The python's `max` function requires an non-empty iterable to retrieve
the maximum element. For line less invoices, the value must be None.
closes #38175
closes odoo/odoo#38336
X-original-commit: d0402f9c42001f7e33256e30f58ac27e8738ac57
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions
