Counter Document can not create at Order and Invoice.Probably it is influence of IDEMPIERE-1597.

Description

Hi,All.
My name is Hideaki Hagiwara in Japan.

I tried to create Counter Document at Order and Invoice.
But I can not create Counter Document with "Error: : Price list cannot be changed because the invoice contains product lines" message.

I think that it may be influence of IDEMPIERE-1597.

I made a patch.
But I do not know whether this patch is best or not.
Please check my patch.

I think that is good improvement.
So, I think that I should change a timing to set Price List in Counter Document.

Thank you for reading.
And sorry for my poor English.

Environment

None

Assignee

萩原秀明

Reporter

萩原秀明

Labels

Tested By

None

Time tracking

1h

Components

Priority

Critical
Configure