Skip to content

Commit

Permalink
fix: action name in Purchase Receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Aug 10, 2024
1 parent 0420228 commit a327570
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
>
> Frappe Books is looking for a maintainer, please view [#775](https://github.com/frappe/books/issues/775) for more info.

<div align="center" markdown="1">

<img src="https://user-images.githubusercontent.com/29507195/207267672-d422db6c-d89a-4bbe-9822-468a55c15053.png" alt="Frappe Books logo" width="384"/>
Expand Down
2 changes: 1 addition & 1 deletion models/inventory/PurchaseReceipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export class PurchaseReceipt extends StockTransfer {
}

static getActions(fyo: Fyo): Action[] {
return getStockTransferActions(fyo, ModelNameEnum.Shipment);
return getStockTransferActions(fyo, ModelNameEnum.PurchaseReceipt);
}
}

0 comments on commit a327570

Please sign in to comment.