[
https://issues.apache.org/jira/browse/OFBIZ-13350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux updated OFBIZ-13350:
------------------------------------
Fix Version/s: 24.09.06
(was: 24.09)
Affects Version/s: 24.09.05
(was: 24.09)
> When adding invoice lines to an invoice, the parent line reference is not
> filled in.
> ------------------------------------------------------------------------------------
>
> Key: OFBIZ-13350
> URL: https://issues.apache.org/jira/browse/OFBIZ-13350
> Project: OFBiz
> Issue Type: Bug
> Components: accounting/invoice
> Affects Versions: 24.09.05
> Reporter: Gaudin Pierre
> Priority: Major
> Fix For: 24.09.06
>
> Attachments: patch_OFBIZ-13350.patch
>
>
> The addTaxOnInvoice method, which adds taxes to an invoice, creates tax
> lines. However, these are only linked by the parentInvoiceItemSeqId. The
> parentInvoiceId value is no longer filled in as it was in later versions.
> This means that the relationship between the two lines is no longer used. It
> is therefore possible to delete the parent line without deleting the child
> line. This results in data that is no longer consistent, as there remains a
> child line that references a parent line that no longer exists.
> The proposal is therefore to restore the value of the parent line
> (parentInvoiceId) on the child line.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)