2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 10:58:59 +00:00

fix: order in address quick view

This commit is contained in:
18alantom 2023-08-28 12:48:11 +05:30
parent 6bbee25dd5
commit f91e2e89df
3 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ export function getMakeReturnDocAction(fyo: Fyo): Action {
doc.isSubmitted &&
!doc.isReturn,
action: async (doc: Doc) => {
const returnDoc = await (doc as StockTransfer).getReturnDoc();
const returnDoc = await (doc as StockTransfer)?.getReturnDoc();
if (!returnDoc || !returnDoc.name) {
return;
}

View File

@ -83,8 +83,8 @@
"addressLine1",
"addressLine2",
"city",
"state",
"country",
"state",
"postalCode"
],
"linkDisplayField": "addressDisplay"

View File

@ -13,8 +13,8 @@
"addressLine1",
"addressLine2",
"city",
"state",
"country",
"state",
"postalCode",
"pos"
]