Invoice line not created when a shipment is defined with a view type location
We have detected that an invoice line is not created according the following definition:
https://foss.heptapod.net/tryton/tryton/-/blob/branch/default/modules/purchase/purchase.py#L1729
When you create a negative purchase line that, when processed, creates a supplier shipment return and the locations are defined as:
- From_location: X (Type: View)
- To_location: Supplier (Type: Storage)
The invoice line related to the purchase is not created.