Fixed invoice client.
This commit is contained in:
parent
6be21bd006
commit
4b82048d8e
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user