-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename field
Over Order Allowance
to `Blanket Order Allow…
…ance` (backport #37669) (#37682) * refactor: rename field `Over Order Allowance` to `Blanket Order Allowance` (cherry picked from commit 8ffa2bf) * chore: patch to rename field `over_order_allowance` (cherry picked from commit fcfcf69) --------- Co-authored-by: s-aga-r <[email protected]>
- Loading branch information
1 parent
a871d95
commit 2f5d991
Showing
6 changed files
with
37 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
erpnext/patches/v14_0/rename_over_order_allowance_field.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from frappe.model.utils.rename_field import rename_field | ||
|
||
|
||
def execute(): | ||
rename_field( | ||
"Buying Settings", | ||
"over_order_allowance", | ||
"blanket_order_allowance", | ||
) | ||
|
||
rename_field( | ||
"Selling Settings", | ||
"over_order_allowance", | ||
"blanket_order_allowance", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters