diff options
| author | Goffin Simon <sig@odoo.com> | 2018-11-05 15:07:21 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-11-06 09:15:53 +0000 |
| commit | 7f5180578fb6dd11ff1ad6d8219ecb675726940f (patch) | |
| tree | 4ffed5447ad2db9a06fbe8812c685fd4371a7d44 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | f9e34d98f1df23897eda4b29de737c79a441d69b (diff) | |
[FIX] sale: Changement of behavior from 11.0
Introduced by: 3d46887d38e970f4932cef1bd4a887f6629151fe
Before this commit, creating an invoice from a SO always chose
the payment_method=all when the number of invoice linked to the SO >0
OR all the lines of the SO were with invoice_policy = 'order'
After this commit, creating an invoice from a SO just choose the payment_method=all
when the number of not canceled invoice linked to the SO > 0 AND when there are at
least one downpayment in the SO
SO:
Steps to reproduce the changement of behavior:
- Create a SO for 10 units (invoicing policy based on ordered quantities)
- Create the invoice for 10 units (from SO) and validate it
- Change ordered quantities to 5 units
- Click on create invoice on the SO
The payment method chosen was delivery instead of all. So choosing the default option
lead to a user error saying: there are no invoicable line instead of creating a credit note.
opw:1904258
closes odoo/odoo#28426
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
