Fixed invoice client.
This commit is contained in:
parent
6be21bd006
commit
4b82048d8e
@ -252,7 +252,7 @@ export const Invoice = {
|
|||||||
readOnly: true,
|
readOnly: true,
|
||||||
value: (objectData) => {
|
value: (objectData) => {
|
||||||
if (objectData?.orderType == 'salesOrder') {
|
if (objectData?.orderType == 'salesOrder') {
|
||||||
return objectData?.order?.client
|
return objectData?.to
|
||||||
} else {
|
} else {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user