diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2019-04-25 19:39:23 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-16 16:01:40 +0000 |
| commit | 1e5fbb8e5bf0e0458d83a399b2b59d03a601e86a (patch) | |
| tree | 499f8eafd74b7a07c83b7ff553614c3dcbf49fc9 /addons/web/static/src/js/views/basic | |
| parent | 7766b89aa04f31c086f9e967965b2ff3d8d10410 (diff) | |
[FIX] sale: ensure Down Payment product exists
In case the Down Payment product is removed/not accessible, trying to create
a down payment from a sale order to invoice produced an error "Record does not
exist or has been deleted. (Records: [42], User: 2)"
Add a exists for returning an empty recordset for a better fallback and create
a new Down Payment product using the wizard
closes odoo/odoo#32965
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
