Fixed invoice client.

This commit is contained in:
Tom Butcher 2026-02-28 18:31:01 +00:00
parent 6be21bd006
commit 4b82048d8e

View File

@ -252,7 +252,7 @@ export const Invoice = {
readOnly: true,
value: (objectData) => {
if (objectData?.orderType == 'salesOrder') {
return objectData?.order?.client
return objectData?.to
} else {
return null
}