when create "On Credit Order" in counter document mode. invoice vendor make wrong reference to sale order

Description

my test case:
1. from "Store East" org, create sale order type "On Credit Order" for BPartner "Store Central"
when completer document by logic of counter document and "On Credit Order", below document is create.
+ a shipment document of Store East org by rule of "On Credit Order" type.
+ shipment also make a material receipt of Store Central org as counter document (have issue report at )

+ invoice customer of Store East and a invoice vendor of "Store Central"
but
"Purchase Order Line" of invoice vendor link to sale order. i think it must link to Purchase Order is counter document of sale order.

Environment

None

Attachments

1

Activity

Show:

Carlos Ruiz August 22, 2020 at 1:05 PM

Issue reproduced, patch confirmed added in the same pull request 226 for

Norbert Bede October 11, 2014 at 7:36 PM

tested: can confirm this behaviour patch is necessary. will test patch soon.

Fixed

Details

Assignee

Reporter

Affects versions

Priority

Created October 10, 2014 at 12:08 PM
Updated October 2, 2020 at 4:14 PM
Resolved August 22, 2020 at 6:57 PM