Invoice->CreateLines from MAY lead to Overinvoicing

Description

Hello,
this is about the Button 'Create Lines From' inside Window "Invoice ( Customer) ".

Example Issue :
C_Orderline.qtyordered=10
C_Orderline.qtyinvoiced=2
2 Articles were already invoiced in another Invoice.
Click Button "Invoice->Create Lines From":
1) the Default-Qty is "10" and not "8"
2) the Line Created will be "10", not "8"

Im sorry I dont know the patch yet, but I think it is better

the 'Button "Create Lines From"' takes into account the already invoice QTY,
and MAYBE do the subtraction as needed automatically inside, to create a 'fitting' Default-Qty !

Thanks in advance

Best Regards
Florian

Environment

Version : 7.1.0.202003120923
Database Version : 202002281451_IDEMPIERE-4191.sql
Vendor : Supported by iDempiere community
JVM : OpenJDK 64-Bit Server VM 11.0.5+10
OS : Linux 4.14.49-ueit.idempiere-vm unknown
Host : localhost

Assignee

Unassigned

Reporter

Flo Boj

Labels

Tested By

None

Components

Affects versions

Priority

Critical
Configure